aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBananeweizen <bananeweizen@gmx.de>2013-05-22 19:43:29 +0200
committerBananeweizen <bananeweizen@gmx.de>2013-05-22 19:43:29 +0200
commit135b3aefe1728287dd840a3075a118d7fc07a0df (patch)
tree7f77737ab48db84eaffe632551688b59a815658a
parent6724618c2f30432e4a578c1cdbb2c12b6d794876 (diff)
downloadcgeo-135b3aefe1728287dd840a3075a118d7fc07a0df.zip
cgeo-135b3aefe1728287dd840a3075a118d7fc07a0df.tar.gz
cgeo-135b3aefe1728287dd840a3075a118d7fc07a0df.tar.bz2
fix #2759: have JUnit reports in tests
-rw-r--r--tests/AndroidManifest.xml2
-rw-r--r--tests/ant.properties3
-rw-r--r--tests/libs/android-junit-report-1.5.8.jarbin0 -> 9202 bytes
3 files changed, 4 insertions, 1 deletions
diff --git a/tests/AndroidManifest.xml b/tests/AndroidManifest.xml
index 64d30cd..0e2bc56 100644
--- a/tests/AndroidManifest.xml
+++ b/tests/AndroidManifest.xml
@@ -5,7 +5,7 @@
android:versionName="1.0" >
<uses-sdk android:minSdkVersion="4" android:targetSdkVersion="13"/>
- <instrumentation android:targetPackage="cgeo.geocaching" android:name="android.test.InstrumentationTestRunner" />
+ <instrumentation android:targetPackage="cgeo.geocaching" android:name="com.zutubi.android.junitreport.JUnitReportTestRunner" />
<application android:icon="@drawable/icon" android:label="@string/app_name" android:allowBackup="false">
<uses-library android:name="android.test.runner" />
diff --git a/tests/ant.properties b/tests/ant.properties
index 16c7462..3884262 100644
--- a/tests/ant.properties
+++ b/tests/ant.properties
@@ -16,3 +16,6 @@
# The password will be asked during the build when you use the 'release' target.
tested.project.dir=..\\main
+
+# Use a test runner which can create JUnit compliant XML reports
+test.runner=com.zutubi.android.junitreport.JUnitReportTestRunner \ No newline at end of file
diff --git a/tests/libs/android-junit-report-1.5.8.jar b/tests/libs/android-junit-report-1.5.8.jar
new file mode 100644
index 0000000..09e6a2d
--- /dev/null
+++ b/tests/libs/android-junit-report-1.5.8.jar
Binary files differ