diff options
Diffstat (limited to 'tests/src/cgeo/geocaching/test/WhitespaceTest.java')
| -rw-r--r-- | tests/src/cgeo/geocaching/test/WhitespaceTest.java | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/tests/src/cgeo/geocaching/test/WhitespaceTest.java b/tests/src/cgeo/geocaching/test/WhitespaceTest.java index 6138755..125a0cb 100644 --- a/tests/src/cgeo/geocaching/test/WhitespaceTest.java +++ b/tests/src/cgeo/geocaching/test/WhitespaceTest.java @@ -1,7 +1,6 @@ package cgeo.geocaching.test; - -import cgeo.geocaching.utils.BaseUtils; +import cgeo.geocaching.utils.TextUtils; import cgeo.geocaching.utils.Log; import org.apache.commons.lang3.StringUtils; @@ -12,7 +11,7 @@ import java.util.regex.Pattern; /** * This test is meant for performance measurements of different whitespace replacement implementations. * It does not test semantical correctness. - * + * */ public class WhitespaceTest extends AbstractResourceInstrumentationTestCase { @@ -28,7 +27,7 @@ public class WhitespaceTest extends AbstractResourceInstrumentationTestCase { /** * The place for the implementation to prove that the new version of replaceWhitespace is faster than * BaseUtils.replaceWhitespace() - * + * * @param data * @return */ @@ -77,7 +76,7 @@ public class WhitespaceTest extends AbstractResourceInstrumentationTestCase { public void testActualImplementation() { final String result; final long start = System.currentTimeMillis(); - result = BaseUtils.replaceWhitespace(data); + result = TextUtils.replaceWhitespace(data); final long end = System.currentTimeMillis(); assertEquals(EXPECTED_SIZE, result.length()); Log.d((end - start) + " ms actual implementation"); |
