Merge remote-tracking branch 'origin/test_lanes' into test_lanes
This commit is contained in:
commit
7b08992fd0
2 changed files with 2 additions and 4 deletions
|
@ -68,7 +68,6 @@ public class RouteResultPreparationTest {
|
||||||
public static Collection<Object[]> data() throws IOException {
|
public static Collection<Object[]> data() throws IOException {
|
||||||
|
|
||||||
InputStream inputStream = RouteResultPreparationTest.class.getResourceAsStream("test_routes.json");
|
InputStream inputStream = RouteResultPreparationTest.class.getResourceAsStream("test_routes.json");
|
||||||
//InputStream inputStream = new FileInputStream("test_routes.json");
|
|
||||||
Reader reader = new InputStreamReader(inputStream);
|
Reader reader = new InputStreamReader(inputStream);
|
||||||
Gson gson = new GsonBuilder().setPrettyPrinting().create();
|
Gson gson = new GsonBuilder().setPrettyPrinting().create();
|
||||||
TestEntry[] testEntries = gson.fromJson(reader, TestEntry[].class);
|
TestEntry[] testEntries = gson.fromJson(reader, TestEntry[].class);
|
||||||
|
@ -107,7 +106,6 @@ public class RouteResultPreparationTest {
|
||||||
//TODO: action if needed when expectedResults is null
|
//TODO: action if needed when expectedResults is null
|
||||||
}
|
}
|
||||||
|
|
||||||
//Assert.fail("FAILED!");
|
|
||||||
System.out.println("segmentId: " + segmentId + " description: " + name);
|
System.out.println("segmentId: " + segmentId + " description: " + name);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
"latitude": 45.6952846638807
|
"latitude": 45.6952846638807
|
||||||
},
|
},
|
||||||
"expectedResults": {
|
"expectedResults": {
|
||||||
"-94307": "+TL, +TL, +TL, C, TR, TR",
|
"-94361": "TL, TL, TL, C, TR, TR",
|
||||||
"-96062": "+TL, +TL, +TL, +C, TR, TR",
|
"-96062": "+TL, +TL, +TL, +C, TR, TR",
|
||||||
"-96063": "+TL, +TL, +TL, C, TR, TR"
|
"-96063": "+TL, +TL, +TL, C, TR, TR"
|
||||||
}
|
}
|
||||||
|
@ -31,4 +31,4 @@
|
||||||
"-96063": "+TL, +TL, +TL, +C, TR, TR"
|
"-96063": "+TL, +TL, +TL, +C, TR, TR"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
Loading…
Reference in a new issue