aboutsummaryrefslogtreecommitdiffstats
path: root/tests/src/cgeo
diff options
context:
space:
mode:
authorTorsten Keil <github@torsten-keil.net>2012-02-22 00:25:16 +0100
committerTorsten Keil <github@torsten-keil.net>2012-02-22 00:25:16 +0100
commit0b0106e00af4ca9d99bf2ed00948e78fc7b36689 (patch)
tree007e08292422bba13da5dd1b1c0f65d4e9a617aa /tests/src/cgeo
parent009c9575e84379612a710955436f703c7a27bdbc (diff)
downloadcgeo-0b0106e00af4ca9d99bf2ed00948e78fc7b36689.zip
cgeo-0b0106e00af4ca9d99bf2ed00948e78fc7b36689.tar.gz
cgeo-0b0106e00af4ca9d99bf2ed00948e78fc7b36689.tar.bz2
Fix for issue#1147: Problem detecting find count
Diffstat (limited to 'tests/src/cgeo')
-rw-r--r--tests/src/cgeo/geocaching/GCConstantsTest.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/src/cgeo/geocaching/GCConstantsTest.java b/tests/src/cgeo/geocaching/GCConstantsTest.java
index 56e09fc..41b7dcb 100644
--- a/tests/src/cgeo/geocaching/GCConstantsTest.java
+++ b/tests/src/cgeo/geocaching/GCConstantsTest.java
@@ -21,6 +21,8 @@ public class GCConstantsTest extends AndroidTestCase {
assertCacheCount(149, "<strong><img src=\"/images/icons/icon_smile.png\" title=\"Caches Found\" /> 149</strong>");
assertCacheCount(513, MockedCache.readCachePage("GC2CJPF"));
assertCacheCount(1510, "<strong><img src=\"/images/icons/icon_smile.png\" title=\"Caches Found\" /> 1,510&nbsp;&middot;&nbsp;<img src=\"/images/challenges/types/sm/challenge.png\" title=\"Challenges Completed\" /> 2</strong>");
+ assertCacheCount(67, "<strong><img title=\"Caches Found\" src=\"/images/icons/icon_smile.png\"/> 67</strong>");
+ assertCacheCount(1067, "<strong><img title=\"Caches Found\" src=\"/images/icons/icon_smile.png\"/> 1,067</strong>");
}
private static void assertCacheCount(final int count, final String html) {