Commit 9c4ba8fb authored by R.W.Majeed's avatar R.W.Majeed

better class name for GroupedXMLWriter

parent 428b39cc
......@@ -49,7 +49,7 @@ public class TestXMLWriter {
FileObservationProviderTest t = new FileObservationProviderTest();
t.initializeObservationFactory();
ObservationSupplier s = t.getExampleSupplier();
XMLWriter w = new XMLWriter(debugLog);
GroupedXMLWriter w = new GroupedXMLWriter(debugLog);
Meta.transfer(s, w);
StreamSupport.stream(AbstractObservationParser.nonNullSpliterator(s), false).forEach(w);
w.close();
......@@ -105,7 +105,7 @@ public class TestXMLWriter {
FileObservationProviderTest t = new FileObservationProviderTest();
t.initializeObservationFactory();
ObservationSupplier s = t.getExampleSupplier();
XMLWriter w = new XMLWriter(out);
GroupedXMLWriter w = new GroupedXMLWriter(out);
Meta.transfer(s, w);
StreamSupport.stream(AbstractObservationParser.nonNullSpliterator(s), false).forEach(w);
s.close();
......
......@@ -22,7 +22,7 @@ import de.sekmi.histream.impl.ObservationFactoryImpl;
import de.sekmi.histream.impl.SimplePatientExtension;
import de.sekmi.histream.impl.SimpleVisitExtension;
import de.sekmi.histream.io.AbstractObservationParser;
import de.sekmi.histream.io.XMLWriter;
import de.sekmi.histream.io.GroupedXMLWriter;
public class TestETLSupplier {
private DataSource ds;
......@@ -47,7 +47,7 @@ public class TestETLSupplier {
@Test
public void testXMLConversion() throws Exception{
XMLWriter w = new XMLWriter(System.out);
GroupedXMLWriter w = new GroupedXMLWriter(System.out);
// transfer meta information
Meta.transfer(os, w);
StreamSupport.stream(AbstractObservationParser.nonNullSpliterator(os), false).forEach(w);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment