mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-09-22 21:55:39 +00:00
made the test case compile
This commit is contained in:
+3
-3
@@ -12,7 +12,7 @@ import javax.xml.bind.JAXBException;
|
||||
|
||||
import org.junit.Test;
|
||||
|
||||
import com.sap.sailing.xrr.resultimport.impl.ParserImpl;
|
||||
import com.sap.sailing.xrr.resultimport.ParserFactory;
|
||||
import com.sap.sailing.xrr.resultimport.schema.RegattaResults;
|
||||
|
||||
public class ParserTest {
|
||||
@@ -30,13 +30,13 @@ public class ParserTest {
|
||||
|
||||
@Test
|
||||
public void testSimpleParsingSomeLaserDocument() throws JAXBException, IOException {
|
||||
RegattaResults o = new ParserImpl().parse();
|
||||
RegattaResults o = ParserFactory.INSTANCE.createParser(getInputStream(SAMPLE_INPUT_NAME_LASER)).parse();
|
||||
assertNotNull(o);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testSimpleParsingSomeStarDocument() throws JAXBException, IOException {
|
||||
RegattaResults o = new ParserImpl().parse();
|
||||
RegattaResults o = ParserFactory.INSTANCE.createParser(getInputStream(SAMPLE_INPUT_NAME_STAR)).parse();
|
||||
assertNotNull(o);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user