use of org.apache.maven.plugins.assembly.testutils.PojoConfigSource in project maven-plugins by apache.
the class ReaderFormatterTest method lineDosFeed.
@Test
public void lineDosFeed() throws IOException, AssemblyFormattingException {
final PojoConfigSource cfg = getPojoConfigSource();
InputStreamTransformer fileSetTransformers = ReaderFormatter.getFileSetTransformers(cfg, true, "dos");
InputStream fud = fileSetTransformers.transform(dummyResource(), payload("This is a\ntest."));
assertEquals("This is a\r\ntest.", readResultStream(fud));
}
Aggregations