aboutsummaryrefslogtreecommitdiffstats
path: root/tests/src/cgeo/geocaching/test/CgeoTestSuite.java
diff options
context:
space:
mode:
Diffstat (limited to 'tests/src/cgeo/geocaching/test/CgeoTestSuite.java')
-rw-r--r--tests/src/cgeo/geocaching/test/CgeoTestSuite.java20
1 files changed, 20 insertions, 0 deletions
diff --git a/tests/src/cgeo/geocaching/test/CgeoTestSuite.java b/tests/src/cgeo/geocaching/test/CgeoTestSuite.java
new file mode 100644
index 0000000..ee4ab43
--- /dev/null
+++ b/tests/src/cgeo/geocaching/test/CgeoTestSuite.java
@@ -0,0 +1,20 @@
+package cgeo.geocaching.test;
+
+import android.test.suitebuilder.TestSuiteBuilder;
+
+import junit.framework.Test;
+import junit.framework.TestSuite;
+
+/**
+ * The c:geo unit test suite. Based on http://marakana.com/tutorials/android/junit-test-example.html
+ * All tests below this package will get executed
+ * It can be used for unit testing which requires no application and/or context.
+ * For further informations have a look at http://developer.android.com/guide/topics/testing/testing_android.html
+ */
+
+public class CgeoTestSuite extends TestSuite {
+
+ public static Test suite() {
+ return new TestSuiteBuilder(CgeoTestSuite.class).includePackages("cgeo.geocaching").build();
+ }
+}