aboutsummaryrefslogtreecommitdiffstats
path: root/tests/src/cgeo/geocaching/test/mock
diff options
context:
space:
mode:
authorblafoo <github@blafoo.de>2011-10-02 09:44:47 +0200
committerblafoo <github@blafoo.de>2011-10-02 09:44:47 +0200
commit1bcd93b6fca5efa976cf78a6ac7c1daee55ebf36 (patch)
tree75224985d0f89433e6acb69d8d552cdd4d705a04 /tests/src/cgeo/geocaching/test/mock
parent96892b9e7bdc155b4cbae829d9d888ea80750214 (diff)
downloadcgeo-1bcd93b6fca5efa976cf78a6ac7c1daee55ebf36.zip
cgeo-1bcd93b6fca5efa976cf78a6ac7c1daee55ebf36.tar.gz
cgeo-1bcd93b6fca5efa976cf78a6ac7c1daee55ebf36.tar.bz2
replaceWhitespace for JUnit tests
Diffstat (limited to 'tests/src/cgeo/geocaching/test/mock')
-rw-r--r--tests/src/cgeo/geocaching/test/mock/MockedCache.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/src/cgeo/geocaching/test/mock/MockedCache.java b/tests/src/cgeo/geocaching/test/mock/MockedCache.java
index e8384fb..814b58a 100644
--- a/tests/src/cgeo/geocaching/test/mock/MockedCache.java
+++ b/tests/src/cgeo/geocaching/test/mock/MockedCache.java
@@ -3,6 +3,7 @@ package cgeo.geocaching.test.mock;
import cgeo.geocaching.ICache;
import cgeo.geocaching.cgBase;
import cgeo.geocaching.geopoint.Geopoint;
+import cgeo.geocaching.utils.BaseUtils;
import java.io.BufferedReader;
import java.io.IOException;
@@ -36,7 +37,7 @@ public abstract class MockedCache implements ICache {
br.close();
- return cgBase.replaceWhitespace(buffer.toString());
+ return BaseUtils.replaceWhitespace(buffer.toString());
} catch (IOException e) {
e.printStackTrace();
}