diff options
Diffstat (limited to 'tests/src/cgeo/geocaching/test/mock/GC2JVEH.java')
-rw-r--r-- | tests/src/cgeo/geocaching/test/mock/GC2JVEH.java | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/tests/src/cgeo/geocaching/test/mock/GC2JVEH.java b/tests/src/cgeo/geocaching/test/mock/GC2JVEH.java index a1337cd..77f078b 100644 --- a/tests/src/cgeo/geocaching/test/mock/GC2JVEH.java +++ b/tests/src/cgeo/geocaching/test/mock/GC2JVEH.java @@ -6,7 +6,9 @@ import cgeo.geocaching.connector.gc.GCLogin; import cgeo.geocaching.enumerations.CacheSize; import cgeo.geocaching.enumerations.CacheType; import cgeo.geocaching.enumerations.LogType; -import cgeo.geocaching.geopoint.Geopoint; +import cgeo.geocaching.location.Geopoint; + +import org.eclipse.jdt.annotation.NonNull; import java.text.ParseException; import java.util.ArrayList; @@ -56,11 +58,13 @@ public class GC2JVEH extends MockedCache { return "indianerjones, der merlyn,reflektordetektor"; } + @NonNull @Override public String getOwnerUserId() { return "indianerjones"; } + @NonNull @Override public CacheSize getSize() { return CacheSize.SMALL; @@ -89,13 +93,14 @@ public class GC2JVEH extends MockedCache { @Override public Date getHiddenDate() { try { - return GCLogin.parseGcCustomDate("28/11/2010", getDateFormat()); + return GCLogin.parseGcCustomDate("2010-11-28", getDateFormat()); } catch (ParseException e) { // intentionally left blank } return null; } + @NonNull @Override public List<String> getAttributes() { final String[] attributes = new String[] { |