use of org.apache.maven.shared.filtering.DefaultMavenReaderFilter in project maven-plugins by apache.
the class ReaderFormatterTest method getPojoConfigSource.
private PojoConfigSource getPojoConfigSource() {
final PojoConfigSource cfg = new PojoConfigSource();
cfg.setEncoding("UTF-8");
DefaultMavenReaderFilter mavenReaderFilter = new DefaultMavenReaderFilter();
mavenReaderFilter.enableLogging(new ConsoleLogger(2, "fud"));
cfg.setMavenReaderFilter(mavenReaderFilter);
cfg.setEscapeString(null);
cfg.setMavenProject(createBasicMavenProject());
/* expect( configSource.getFilters()).andReturn( filters );
expect( configSource.isIncludeProjectBuildFilters()).andReturn( includeProjectBuildFilters );
expect( configSource.getDelimiters()).andReturn( delimiters );
*/
return cfg;
}
Aggregations