diff options
| author | Piotr Gurgul <pgurgul@google.com> | 2009-09-01 21:58:52 -0700 |
|---|---|---|
| committer | Piotr Gurgul <pgurgul@google.com> | 2009-09-09 18:32:03 -0700 |
| commit | 6edb5a108ef4ef332bafc90defff84201cebd9a7 (patch) | |
| tree | 4e80c7aefccf3ac8d2da06ae189edfd96a7649e6 /build | |
| parent | 56098693d29346fc3bf995a125e12fb2d3e1523d (diff) | |
| download | android_development-6edb5a108ef4ef332bafc90defff84201cebd9a7.tar.gz android_development-6edb5a108ef4ef332bafc90defff84201cebd9a7.tar.bz2 android_development-6edb5a108ef4ef332bafc90defff84201cebd9a7.zip | |
Add ant-based code coverage support to Android SDK
Target 'run-tests' launches all the unit tests against the tested project.
Target 'coverage' emma-instruments the tested project's classes,
runs the tests against instrumented classes, collects code coverage data
and extracts it to human-readable form as report.html.
android_test_rules.xml contain additional rules for test projects.
Test projects are auto-recognized by presence of the tested.project.dir
property, which will be auto-generated for tests projects. Temporarily,
please add this property manually to the build.properties file.
Current version is mainly tested with default, android generated test projects.
This version includes also fixing relative to absolute paths for
properties which are most likely to be changed by user in external
property file.
Diffstat (limited to 'build')
| -rw-r--r-- | build/sdk.atree | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/build/sdk.atree b/build/sdk.atree index 16d65de16..d3cfced73 100644 --- a/build/sdk.atree +++ b/build/sdk.atree @@ -59,6 +59,7 @@ development/tools/scripts/java_tests_file.template platforms/${PLATFORM_NAME}/te development/tools/scripts/layout.template platforms/${PLATFORM_NAME}/templates/layout.template development/tools/scripts/strings.template platforms/${PLATFORM_NAME}/templates/strings.template development/tools/scripts/android_rules.xml platforms/${PLATFORM_NAME}/templates/android_rules.xml +development/tools/scripts/android_test_rules.xml platforms/${PLATFORM_NAME}/templates/android_test_rules.xml development/tools/scripts/build.template tools/lib/build.template # emacs support @@ -125,6 +126,11 @@ framework/swing-worker-1.1.jar tools/lib/swing-worker-1.1.jar bin/traceview tools/traceview framework/traceview.jar tools/lib/traceview.jar +# emma lib for code coverage support +framework/emmalib.jar tools/lib/emma_device.jar +external/emma/lib/emma.jar tools/lib/emma.jar +external/emma/lib/emma_ant.jar tools/lib/emma_ant.jar + # custom ant tasks framework/anttasks.jar tools/lib/anttasks.jar |
