Added boat data xml tests

#story[778]
This commit is contained in:
Erika Savell
2017-04-25 14:42:14 +12:00
parent d05d7271fc
commit 03f63b2c61
5 changed files with 96 additions and 5 deletions
@@ -44,7 +44,6 @@ public class RaceData {
courseLimit = dataSource.getBoundary();
}
public String createXML() {
try {
@@ -148,8 +147,6 @@ public class RaceData {
StreamResult result = new StreamResult(stringWriter);
transformer.transform(source,result);
System.out.println(stringWriter.toString());
return stringWriter.toString();
@@ -58,8 +58,9 @@ public class RaceXMLReader extends XMLReader implements RaceDataSource {
* Read the files
*/
private void read() {
readID();
readCourse();
readID();
readLegs();
readMarkers();
readBoats();