Commit 88af41a5 authored by R.W.Majeed's avatar R.W.Majeed
Browse files

Test ExampleObservationSupplier uses new JAXB xml format

parent 50825531
......@@ -170,13 +170,13 @@ public class FileObservationProviderTest {
return factory;
}
public ObservationSupplier getExampleSupplier() throws IOException{
return getExampleSupplier("examples/dwh-eav.xml");
return getExampleSupplier("examples/dwh-jaxb.xml");
}
public ObservationSupplier getExampleSupplier(String path) throws IOException{
try {
return new XMLObservationSupplier(factory, new FileInputStream(path));
} catch (XMLStreamException | FactoryConfigurationError e) {
return new JAXBObservationSupplier(factory, new FileInputStream(path));
} catch (XMLStreamException | FactoryConfigurationError | JAXBException e) {
throw new IOException(e);
}
}
......
Supports Markdown
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