From 7442de0c7e2f424ad391eda5e9562c126c84a938 Mon Sep 17 00:00:00 2001 From: Victor Shcherb Date: Sat, 29 Sep 2012 22:52:40 +0200 Subject: [PATCH] Fix tests --- .../src-tests/net/osmand/router/JUnitRouteTest.java | 3 ++- DataExtractionOSM/src-tests/net/osmand/router/nl2.test.xml | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/DataExtractionOSM/src-tests/net/osmand/router/JUnitRouteTest.java b/DataExtractionOSM/src-tests/net/osmand/router/JUnitRouteTest.java index a8269cfd50..b84ad80ebf 100644 --- a/DataExtractionOSM/src-tests/net/osmand/router/JUnitRouteTest.java +++ b/DataExtractionOSM/src-tests/net/osmand/router/JUnitRouteTest.java @@ -29,7 +29,8 @@ public class JUnitRouteTest { if(rs != null){ return; } - lib = NativeSwingRendering.getDefaultFromSettings(); + // test without native because it is not present on the server +// lib = NativeSwingRendering.getDefaultFromSettings(); BinaryRoutePlanner.PRINT_TO_CONSOLE_ROUTE_INFORMATION_TO_TEST = true; String obfdir = System.getenv("OBF_DIR"); if(Algoritms.isEmpty(obfdir)){ diff --git a/DataExtractionOSM/src-tests/net/osmand/router/nl2.test.xml b/DataExtractionOSM/src-tests/net/osmand/router/nl2.test.xml index ca8a38f078..3739fc27a7 100644 --- a/DataExtractionOSM/src-tests/net/osmand/router/nl2.test.xml +++ b/DataExtractionOSM/src-tests/net/osmand/router/nl2.test.xml @@ -1,7 +1,7 @@ + start_lat="52.29344776082418" start_lon="4.834756851196289" target_lat="51.21717320613008" target_lon="4.402492046356201" complete_time="5953.306" loadedTiles = "4600" visitedSegments = "11834" complete_distance = "159654.98" >