aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorrsudev <rasch@munin-soft.de>2013-02-11 21:37:58 +0100
committerrsudev <rasch@munin-soft.de>2013-02-11 21:37:58 +0100
commit5536a37f79649656563238d2dfe21a7e6743b87e (patch)
treec96a97eb8f7d4f2e19c2e8022790492e621d6778 /tests
parent770b16ebbc0f89d088aa3a8dfca2277864b61b24 (diff)
downloadcgeo-5536a37f79649656563238d2dfe21a7e6743b87e.zip
cgeo-5536a37f79649656563238d2dfe21a7e6743b87e.tar.gz
cgeo-5536a37f79649656563238d2dfe21a7e6743b87e.tar.bz2
Fix #2348, Cache description is missing for OC0537
Added failing testcase and fixed modifiedsince in query-string
Diffstat (limited to 'tests')
-rw-r--r--tests/src/cgeo/geocaching/connector/opencaching/OCXMLTest.java8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/src/cgeo/geocaching/connector/opencaching/OCXMLTest.java b/tests/src/cgeo/geocaching/connector/opencaching/OCXMLTest.java
index 0957a0d..92c2063 100644
--- a/tests/src/cgeo/geocaching/connector/opencaching/OCXMLTest.java
+++ b/tests/src/cgeo/geocaching/connector/opencaching/OCXMLTest.java
@@ -48,4 +48,12 @@ public class OCXMLTest extends CGeoTestCase {
Settings.setOCConnectorUserName(oldOCName);
}
}
+
+ public static void testOC0537Description() {
+ String geoCode = "OC0537";
+ Geocache cache = OCXMLClient.getCache(geoCode);
+ assertNotNull(cache);
+
+ assertFalse(cache.getDescription().length() < 100);
+ }
}