From c05757c73b14b8bd64f79f359b0a26a01120a582 Mon Sep 17 00:00:00 2001 From: blafoo Date: Tue, 17 Jan 2012 20:28:18 +0100 Subject: Updated test data due to GC.com downtime on 17.01.2012 --- tests/src/cgeo/geocaching/cgeoApplicationTest.java | 2 +- tests/src/cgeo/geocaching/test/WhitespaceTest.java | 2 +- tests/src/cgeo/geocaching/test/mock/GC1ZXX2.html | 1871 +++++++++---------- tests/src/cgeo/geocaching/test/mock/GC2CJPF.html | 1879 ++++++++++---------- tests/src/cgeo/geocaching/test/mock/GC2JVEH.html | 1871 +++++++++---------- 5 files changed, 2880 insertions(+), 2745 deletions(-) (limited to 'tests/src') diff --git a/tests/src/cgeo/geocaching/cgeoApplicationTest.java b/tests/src/cgeo/geocaching/cgeoApplicationTest.java index a630b17..ebb4c07 100644 --- a/tests/src/cgeo/geocaching/cgeoApplicationTest.java +++ b/tests/src/cgeo/geocaching/cgeoApplicationTest.java @@ -80,7 +80,7 @@ public class cgeoApplicationTest extends ApplicationTestCase { assertEquals("Niedersachsen, Germany", tb.getOrigin()); assertEquals("blafoo", tb.getOwner()); assertEquals("0564a940-8311-40ee-8e76-7e91b2cf6284", tb.getOwnerGuid()); - assertEquals("Kinder erfreuen.

Make children happy.", tb.getGoal()); + assertEquals("Kinder erfreuen.

Make children happy.", tb.getGoal()); assertTrue(tb.getDetails().startsWith("Auf der CD sind")); assertEquals("http://img.geocaching.com/track/display/38382780-87a7-4393-8393-78841678ee8c.jpg", tb.getImage()); // Following data can change over time diff --git a/tests/src/cgeo/geocaching/test/WhitespaceTest.java b/tests/src/cgeo/geocaching/test/WhitespaceTest.java index 78aebd6..95872ad 100644 --- a/tests/src/cgeo/geocaching/test/WhitespaceTest.java +++ b/tests/src/cgeo/geocaching/test/WhitespaceTest.java @@ -22,7 +22,7 @@ import java.util.regex.Pattern; */ public class WhitespaceTest extends AndroidTestCase { - private final static int EXPECTED_SIZE = 122025; + private final static int EXPECTED_SIZE = 122899; private String data; @Override diff --git a/tests/src/cgeo/geocaching/test/mock/GC1ZXX2.html b/tests/src/cgeo/geocaching/test/mock/GC1ZXX2.html index c915d4e..3d643a9 100644 --- a/tests/src/cgeo/geocaching/test/mock/GC1ZXX2.html +++ b/tests/src/cgeo/geocaching/test/mock/GC1ZXX2.html @@ -5,7 +5,7 @@ GC1ZXX2 Hannopoly: Eislisenstrasse (Traditional Cache) in Niedersachsen, Germany created by Rich Uncle Pennybags - + @@ -22,198 +22,208 @@ + + + + span.ccu-parseverify-distance img{ + text-align:center !important; + vertical-align:text-bottom !important; + } + .edit-cache-coordinates{ + text-decoration: none; + color: #000 !important; + background: url(/images/silk/pencil.png) no-repeat right 0; + padding:2px 20px 2px 0px; + margin-right:4px; + } + .ccc-coord{ + cursor: text; + font-family: Courier New, Sans-Serif; + } + .ccu-update dl { + margin-bottom:.25em; + } + .ccu-update dt{ + float:left; + min-width:90px; + } + .ccu-update .ui-button-text-only .ui-button-text{ + padding:.3em .75em; + } + .ccu-parseverify-coords{ + font-style:italic; + margin-right:.25em; + } + .ccu-parseverify-accept, .ccu-parseverify-cancel{ + margin-top:-5px; + } + .ui-tooltip-widget .ui-tooltip-content{ + border-width:1px; + background-color:#fff; + border-color:#c0cee3; + color:#594a42; + padding:1em; + width:420px; + } + .myLatLon { border-bottom:2px solid #c0cee3;font-style:italic; } + .leaflet-control-attribution + { + font-size:8px !important; + font-family: "Helvetica Neue",Arial,Helvetica,sans-serif !important; + } + + + + - + - - - - + + + + +
@@ -445,7 +497,7 @@ Sys.WebForms.PageRequestManager._initialize('ctl00$uxMainScriptManager', 'aspnet
- 46
+ 45
Favorites Expand
@@ -488,19 +540,17 @@ Sys.WebForms.PageRequestManager._initialize('ctl00$uxMainScriptManager', 'aspnet N 52° 22.393 E 009° 42.648

- - UTM: 32U E 548389 N 5802787 + + UTM: 32U E 548389 N 5802787
-
- +
Other Conversions

In Niedersachsen, Germany
- SE SE 9.2km from your home location - + SE SE 9.2 km from your home location
@@ -689,47 +739,6 @@ border="0" />
- -
- - - Close -
- - -
@@ -769,10 +778,10 @@ border="0" />

- - Map Image - + +

+
+

@@ -794,7 +803,7 @@ border="0" />

- +

Advertising with Us

@@ -822,19 +831,17 @@ border="0" />
-

-

- There are no Trackables in this cache. +

There are no Trackables in this cache.

- - View past Trackables -

-

- What is a Travel Bug? -

+ +
@@ -907,7 +914,8 @@ border="0" />
-
+
+

View Larger Map @@ -1016,704 +1024,741 @@ border="0" />

- Current Time:
Last Updated: on 11/05/2011 05:28:43 Pacific Daylight Time (12:28 GMT)
Rendered From:Unknown
Coordinates are in the WGS84 datum + Current Time:
Last Updated: on 11/05/2011 05:28:43 Pacific Daylight Time (12:28 GMT)
Rendered From:Unknown
Coordinates are in the WGS84 datum

- + $menu.delegate("a.ccu-restore", "click", function (e) { + e.preventDefault(); + + $.pageMethod("ResetUserCoordinate", JSON.stringify({ dto: { ut: userToken } }), function (r) { + var r = JSON.parse(r.d); + if (r.status == "success") { + window.location.reload(); + } + }); + + return false; + }); + return $menu; + } + + GSPK = window.GSPK || {}; + GSPK.Selector = {}; + GSPK.Selector.getSelected = function(){ + var t = null; + if ( window.getSelection ){ + t = window.getSelection(); + }else if(document.getSelection){ + t = document.getSelection(); + }else if(document.selection){ + t = document.selection.createRange().text; + } + return t; + } + + try { _gaq.push(['_trackEvent', 'Geocaching', 'CacheDetailsMemberType', 'Premium', null, true]); } catch(err) { } + + +
@@ -1857,14 +1902,14 @@ border="0" />
@@ -1921,108 +1966,108 @@ initalLogs = {"status":"success", "data": [{"LogID":196904781,"CacheID":1433909, @@ -2073,6 +2118,6 @@ initalLogs = {"status":"success", "data": [{"LogID":196904781,"CacheID":1433909,
- + diff --git a/tests/src/cgeo/geocaching/test/mock/GC2CJPF.html b/tests/src/cgeo/geocaching/test/mock/GC2CJPF.html index 838b78a..674dcd1 100644 --- a/tests/src/cgeo/geocaching/test/mock/GC2CJPF.html +++ b/tests/src/cgeo/geocaching/test/mock/GC2CJPF.html @@ -5,7 +5,7 @@ GC2CJPF Kinderwald KiC (Multi-cache) in Niedersachsen, Germany created by Tom03 - + @@ -22,198 +22,208 @@ + + + + span.ccu-parseverify-distance img{ + text-align:center !important; + vertical-align:text-bottom !important; + } + .edit-cache-coordinates{ + text-decoration: none; + color: #000 !important; + background: url(/images/silk/pencil.png) no-repeat right 0; + padding:2px 20px 2px 0px; + margin-right:4px; + } + .ccc-coord{ + cursor: text; + font-family: Courier New, Sans-Serif; + } + .ccu-update dl { + margin-bottom:.25em; + } + .ccu-update dt{ + float:left; + min-width:90px; + } + .ccu-update .ui-button-text-only .ui-button-text{ + padding:.3em .75em; + } + .ccu-parseverify-coords{ + font-style:italic; + margin-right:.25em; + } + .ccu-parseverify-accept, .ccu-parseverify-cancel{ + margin-top:-5px; + } + .ui-tooltip-widget .ui-tooltip-content{ + border-width:1px; + background-color:#fff; + border-color:#c0cee3; + color:#594a42; + padding:1em; + width:420px; + } + .myLatLon { border-bottom:2px solid #c0cee3;font-style:italic; } + .leaflet-control-attribution + { + font-size:8px !important; + font-family: "Helvetica Neue",Arial,Helvetica,sans-serif !important; + } + + + + - + - - - - + + + + +
@@ -489,19 +541,17 @@ Sys.WebForms.PageRequestManager._initialize('ctl00$uxMainScriptManager', 'aspnet N 52° 25.111 E 009° 39.111
- - UTM: 32U E 544331 N 5807788 + + UTM: 32U E 544331 N 5807788
-
- +
Other Conversions

In Niedersachsen, Germany
- E E 3.9km from your home location - + E E 3.9 km from your home location
@@ -663,47 +713,6 @@ P.S. An warmen Tagen Badesachen und Handtuch mitnehmen.
- -
- - - Close -
- - -
@@ -745,7 +754,7 @@ P.S. An warmen Tagen Badesachen und Handtuch mitnehmen.

- 23 + 24 Favorite points remaining

@@ -770,10 +779,10 @@ P.S. An warmen Tagen Badesachen und Handtuch mitnehmen.

- - Map Image - + +

+
+

@@ -795,7 +804,7 @@ P.S. An warmen Tagen Badesachen und Handtuch mitnehmen.

- +

Advertising with Us

@@ -823,19 +832,17 @@ P.S. An warmen Tagen Badesachen und Handtuch mitnehmen.
-

-

- There are no Trackables in this cache. +

There are no Trackables in this cache.

- - View past Trackables -

-

- What is a Travel Bug? -

+ +
@@ -1235,7 +1242,8 @@ P.S. An warmen Tagen Badesachen und Handtuch mitnehmen.
-
+
+

View Larger Map @@ -1307,13 +1315,13 @@ P.S. An warmen Tagen Badesachen und Handtuch mitnehmen.

- 81 Logged Visits

+ 82 Logged Visits -

Found it 62     Didn't find it 3     Write note 6     Temporarily Disable Listing 2     Enable Listing 2     Publish Listing 1     Needs Maintenance 2     Owner Maintenance 3     

+

Found it 63     Didn't find it 3     Write note 6     Temporarily Disable Listing 2     Enable Listing 2     Publish Listing 1     Needs Maintenance 2     Owner Maintenance 3     

View Logbook | View the Image Gallery of 14 images

@@ -1344,704 +1352,741 @@ P.S. An warmen Tagen Badesachen und Handtuch mitnehmen.

- Current Time:
Last Updated: on 11/15/2011 10:58:47 (GMT-08:00) Pacific Time (US & Canada) (18:58 GMT)
Rendered From:Unknown
Coordinates are in the WGS84 datum + Current Time:
Last Updated: on 01/15/2012 03:34:08 (UTC-08:00) Pacific Time (US & Canada) (11:34 GMT)
Rendered From:Unknown
Coordinates are in the WGS84 datum

- + $menu.delegate("a.ccu-restore", "click", function (e) { + e.preventDefault(); + + $.pageMethod("ResetUserCoordinate", JSON.stringify({ dto: { ut: userToken } }), function (r) { + var r = JSON.parse(r.d); + if (r.status == "success") { + window.location.reload(); + } + }); + + return false; + }); + return $menu; + } + + GSPK = window.GSPK || {}; + GSPK.Selector = {}; + GSPK.Selector.getSelected = function(){ + var t = null; + if ( window.getSelection ){ + t = window.getSelection(); + }else if(document.getSelection){ + t = document.getSelection(); + }else if(document.selection){ + t = document.selection.createRange().text; + } + return t; + } + + try { _gaq.push(['_trackEvent', 'Geocaching', 'CacheDetailsMemberType', 'Premium', null, true]); } catch(err) { } + + +
@@ -2185,7 +2230,7 @@ P.S. An warmen Tagen Badesachen und Handtuch mitnehmen. @@ -2252,108 +2297,108 @@ initalLogs = {"status":"success", "data": [{"LogID":199083747,"CacheID":1811409, @@ -2404,6 +2449,6 @@ initalLogs = {"status":"success", "data": [{"LogID":199083747,"CacheID":1811409,
- + diff --git a/tests/src/cgeo/geocaching/test/mock/GC2JVEH.html b/tests/src/cgeo/geocaching/test/mock/GC2JVEH.html index f29c10d..18643cc 100644 --- a/tests/src/cgeo/geocaching/test/mock/GC2JVEH.html +++ b/tests/src/cgeo/geocaching/test/mock/GC2JVEH.html @@ -5,7 +5,7 @@ GC2JVEH Auf den Spuren des Indianer Jones Teil 1 (Unknown Cache) in Niedersachsen, Germany created by indianerjones, der merlyn,reflektordetektor - + @@ -22,198 +22,208 @@ + + + + span.ccu-parseverify-distance img{ + text-align:center !important; + vertical-align:text-bottom !important; + } + .edit-cache-coordinates{ + text-decoration: none; + color: #000 !important; + background: url(/images/silk/pencil.png) no-repeat right 0; + padding:2px 20px 2px 0px; + margin-right:4px; + } + .ccc-coord{ + cursor: text; + font-family: Courier New, Sans-Serif; + } + .ccu-update dl { + margin-bottom:.25em; + } + .ccu-update dt{ + float:left; + min-width:90px; + } + .ccu-update .ui-button-text-only .ui-button-text{ + padding:.3em .75em; + } + .ccu-parseverify-coords{ + font-style:italic; + margin-right:.25em; + } + .ccu-parseverify-accept, .ccu-parseverify-cancel{ + margin-top:-5px; + } + .ui-tooltip-widget .ui-tooltip-content{ + border-width:1px; + background-color:#fff; + border-color:#c0cee3; + color:#594a42; + padding:1em; + width:420px; + } + .myLatLon { border-bottom:2px solid #c0cee3;font-style:italic; } + .leaflet-control-attribution + { + font-size:8px !important; + font-family: "Helvetica Neue",Arial,Helvetica,sans-serif !important; + } + + + + - - + + +
@@ -495,19 +547,17 @@ Sys.WebForms.PageRequestManager._initialize('ctl00$uxMainScriptManager', 'aspnet N 52° 22.335 E 009° 44.122
- - UTM: 32U E 550063 N 5802696 + + UTM: 32U E 550063 N 5802696
-
- +
Other Conversions

In Niedersachsen, Germany
- SE SE 10.8km from your home location - + SE SE 10.8 km from your home location
@@ -613,47 +663,6 @@ nicht über den unten zu sehenden link.....
- -
- - - Close -
- - -
@@ -693,10 +702,10 @@ nicht über den unten zu sehenden link.....

- - Map Image - + +

+
+

@@ -718,7 +727,7 @@ nicht über den unten zu sehenden link.....

- +

Advertising with Us

@@ -755,19 +764,17 @@ nicht über den unten zu sehenden link..... -

- -

@@ -880,7 +887,8 @@ nicht über den unten zu sehenden link.....
-
+
+

View Larger Map @@ -947,7 +955,7 @@ nicht über den unten zu sehenden link.....

- Photosindy mit text netz Kopie
PhotosSpoiler st.1
PhotosZahlenpause
+ Photosindy mit text netz Kopie
PhotosSpoiler st.1
PhotosZahlenpause

@@ -989,704 +997,741 @@ nicht über den unten zu sehenden link.....

- Current Time:
Last Updated: on 12/28/2011 08:46:37 (UTC-08:00) Pacific Time (US & Canada) (16:46 GMT)
Rendered From:Unknown
Coordinates are in the WGS84 datum + Current Time:
Last Updated: on 12/28/2011 08:46:37 (UTC-08:00) Pacific Time (US & Canada) (16:46 GMT)
Rendered From:Unknown
Coordinates are in the WGS84 datum

- + $menu.delegate("a.ccu-restore", "click", function (e) { + e.preventDefault(); + + $.pageMethod("ResetUserCoordinate", JSON.stringify({ dto: { ut: userToken } }), function (r) { + var r = JSON.parse(r.d); + if (r.status == "success") { + window.location.reload(); + } + }); + + return false; + }); + return $menu; + } + + GSPK = window.GSPK || {}; + GSPK.Selector = {}; + GSPK.Selector.getSelected = function(){ + var t = null; + if ( window.getSelection ){ + t = window.getSelection(); + }else if(document.getSelection){ + t = document.getSelection(); + }else if(document.selection){ + t = document.selection.createRange().text; + } + return t; + } + + try { _gaq.push(['_trackEvent', 'Geocaching', 'CacheDetailsMemberType', 'Premium', null, true]); } catch(err) { } + + +
@@ -1830,14 +1875,14 @@ nicht über den unten zu sehenden link..... @@ -1894,108 +1939,108 @@ initalLogs = {"status":"success", "data": [{"LogID":204914506,"CacheID":1997597, @@ -2046,6 +2091,6 @@ initalLogs = {"status":"success", "data": [{"LogID":204914506,"CacheID":1997597,
- + -- cgit v1.1