made the test case compile

This commit is contained in:
Axel Uhl
2013-03-14 23:19:12 +01:00
parent 0b5cee4cc5
commit 7618c7f0d6
@@ -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);
}
}