diff options
| author | Stephan Merker <merker.stephan@googlemail.com> | 2011-10-03 17:40:09 +0200 |
|---|---|---|
| committer | Stephan Merker <merker.stephan@googlemail.com> | 2011-10-03 17:40:09 +0200 |
| commit | 4c112ed7a840c3ecc28322213e01820cec92df20 (patch) | |
| tree | 6ae8d20fcf5ffe4cc5931e24c9740737a87a02b9 /tests/src/cgeo/geocaching/test/CgeoTestSuite.java | |
| parent | 25adf45d906fe8cf6ddeb21d66ce3ccd9fd82939 (diff) | |
| download | cgeo-4c112ed7a840c3ecc28322213e01820cec92df20.zip cgeo-4c112ed7a840c3ecc28322213e01820cec92df20.tar.gz cgeo-4c112ed7a840c3ecc28322213e01820cec92df20.tar.bz2 | |
Refactoring: put tests into same java package as tested class
- fixes #587
- test suite and 3 tests (regex and whitespace perf tests) remain in
cgeo.geocaching.test
Diffstat (limited to 'tests/src/cgeo/geocaching/test/CgeoTestSuite.java')
| -rw-r--r-- | tests/src/cgeo/geocaching/test/CgeoTestSuite.java | 20 |
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(); + } +} |
