Started on the boat XML parser, reads only boat data from the XML and makes a StreamedBoat for each boat in the XML. #story[861]

This commit is contained in:
Joseph
2017-04-25 02:13:57 +12:00
parent 0d0b9e143f
commit 22075ee415
6 changed files with 218 additions and 17 deletions
@@ -1,7 +1,20 @@
package seng302.Mock;
import org.junit.Test;
import org.xml.sax.SAXException;
import javax.xml.parsers.ParserConfigurationException;
import java.io.IOException;
import java.text.ParseException;
/**
* Created by jjg64 on 21/04/17.
*/
public class BoatsXMLTest {
@Test
public void test() throws SAXException, ParserConfigurationException, ParseException, IOException {
new BoatXMLReader("mockXML/boatXML/boatTest.xml");
//new BoatXMLReader("mockXML/raceXML/raceTest.xml", true);
}
}