aboutsummaryrefslogtreecommitdiffstats
path: root/tests/src
diff options
context:
space:
mode:
authorblafoo <github@blafoo.de>2011-11-18 10:21:30 +0100
committerblafoo <github@blafoo.de>2011-11-18 10:21:30 +0100
commit29349ba052924352009f3cb3a8da11b8fe0bbd01 (patch)
treef3ac98b14d0d2d9b549880e804eeaf38e31db796 /tests/src
parent089d8827945c953c19626d13b02ee80066d0275d (diff)
downloadcgeo-29349ba052924352009f3cb3a8da11b8fe0bbd01.zip
cgeo-29349ba052924352009f3cb3a8da11b8fe0bbd01.tar.gz
cgeo-29349ba052924352009f3cb3a8da11b8fe0bbd01.tar.bz2
Enabled (and fixed) (more) warnings
Diffstat (limited to 'tests/src')
-rw-r--r--tests/src/cgeo/geocaching/cgDestinationTest.java1
-rw-r--r--tests/src/cgeo/geocaching/cgeoApplicationTest.java1
-rw-r--r--tests/src/cgeo/geocaching/files/GPXImporterTest.java3
-rw-r--r--tests/src/cgeo/geocaching/test/mock/GC1ZXX2.java1
-rw-r--r--tests/src/cgeo/geocaching/test/mock/GC2CJPF.java1
-rw-r--r--tests/src/cgeo/geocaching/test/mock/GC2JVEH.java1
6 files changed, 6 insertions, 2 deletions
diff --git a/tests/src/cgeo/geocaching/cgDestinationTest.java b/tests/src/cgeo/geocaching/cgDestinationTest.java
index 1d7b341..cb5fe45 100644
--- a/tests/src/cgeo/geocaching/cgDestinationTest.java
+++ b/tests/src/cgeo/geocaching/cgDestinationTest.java
@@ -1,6 +1,5 @@
package cgeo.geocaching;
-import cgeo.geocaching.cgDestination;
import cgeo.geocaching.geopoint.Geopoint;
import android.test.AndroidTestCase;
diff --git a/tests/src/cgeo/geocaching/cgeoApplicationTest.java b/tests/src/cgeo/geocaching/cgeoApplicationTest.java
index 961de23..2a8d895 100644
--- a/tests/src/cgeo/geocaching/cgeoApplicationTest.java
+++ b/tests/src/cgeo/geocaching/cgeoApplicationTest.java
@@ -42,6 +42,7 @@ public class cgeoApplicationTest extends ApplicationTestCase<cgeoapplication> {
*/
@SmallTest
public void testPreconditions() {
+ // intentionally left blank
}
/**
diff --git a/tests/src/cgeo/geocaching/files/GPXImporterTest.java b/tests/src/cgeo/geocaching/files/GPXImporterTest.java
index 53c302d..55db7b0 100644
--- a/tests/src/cgeo/geocaching/files/GPXImporterTest.java
+++ b/tests/src/cgeo/geocaching/files/GPXImporterTest.java
@@ -199,12 +199,13 @@ public class GPXImporterTest extends AbstractResourceInstrumentationTestCase {
wait(milliseconds);
}
} catch (InterruptedException e) {
+ // intentionally left blank
}
}
public void waitForCompletion() {
// Use reasonable defaults
- waitForCompletion(500, 10);
+ waitForCompletion(1000, 10);
}
}
diff --git a/tests/src/cgeo/geocaching/test/mock/GC1ZXX2.java b/tests/src/cgeo/geocaching/test/mock/GC1ZXX2.java
index 1f8e26c..f36f3cb 100644
--- a/tests/src/cgeo/geocaching/test/mock/GC1ZXX2.java
+++ b/tests/src/cgeo/geocaching/test/mock/GC1ZXX2.java
@@ -97,6 +97,7 @@ public class GC1ZXX2 extends MockedCache {
try {
return cgBase.parseGcCustomDate("16/10/2009");
} catch (ParseException e) {
+ // intentionally left blank
}
return null;
}
diff --git a/tests/src/cgeo/geocaching/test/mock/GC2CJPF.java b/tests/src/cgeo/geocaching/test/mock/GC2CJPF.java
index ed08123..e5b443f 100644
--- a/tests/src/cgeo/geocaching/test/mock/GC2CJPF.java
+++ b/tests/src/cgeo/geocaching/test/mock/GC2CJPF.java
@@ -109,6 +109,7 @@ public class GC2CJPF extends MockedCache {
try {
return cgBase.parseGcCustomDate("31/07/2010");
} catch (ParseException e) {
+ // intentionally left blank
}
return null;
}
diff --git a/tests/src/cgeo/geocaching/test/mock/GC2JVEH.java b/tests/src/cgeo/geocaching/test/mock/GC2JVEH.java
index 5ff95b3..a837929 100644
--- a/tests/src/cgeo/geocaching/test/mock/GC2JVEH.java
+++ b/tests/src/cgeo/geocaching/test/mock/GC2JVEH.java
@@ -91,6 +91,7 @@ public class GC2JVEH extends MockedCache {
try {
return cgBase.parseGcCustomDate("28/11/2010");
} catch (ParseException e) {
+ // intentionally left blank
}
return null;
}