This is to avoid using default location for the emma dump file (coverage.ec)
which is generated on the device. Pointing out the custom location (which
for now is the same as the default one) is more straightforward and
will be important if the default location changes in the future.
After generating coverage report instrumentation.dir and files coverage.ec
and coverage.em are being deleted. As Emma treats both files incrementally,
running 'ant coverage' in the project with these files already existing
may produce unexpected results.
Instead of setting property indicating if package should be signed
with debug key in separate targets, this information is being passed
as a package-helper macrodef parameter.
Instrumentation-related targets have been moved from android_test_rules to
android_rules for better consistency. Chain of target dependencies has
been modified in order to make it more natural.
Added the long press keyword and event.
modified: src/com/android/commands/monkey/MonkeySourceScript.java
modified: src/com/android/commands/monkey/MonkeySourceScript.java
modified: src/com/android/commands/monkey/MonkeySourceScript.java
ApkBuilder ant task accepts now the new tag - <jarfile>, used for passing
emma_device.jar to ApkBuilder.
Change-Id: I1757d265609406bc06da370ab0204018a4c8fc4d
Currently it just registers a receiver for all Bluetooth intents,
and prints them to logcat. For example:
BTDEBUG : a.b.device.a.FOUND
BTDEBUG : a.b.device.e.DEVICE = 00:18:13:F2:CC:33
BTDEBUG : a.b.device.e.RSSI = -35
BTDEBUG : a.b.device.e.CLASS = 200404
BTDEBUG : a.b.adapter.a.DISCOVERY_FINISHED
BTDEBUG : a.b.device.a.BOND_STATE_CHANGED
BTDEBUG : a.b.device.e.DEVICE = 00:18:13:F2:CC:33
BTDEBUG : a.b.device.e.BOND_STATE = 11
BTDEBUG : a.b.device.e.PREVIOUS_BOND_STATE = 10
BTDEBUG : a.b.device.a.ACL_CONNECTED
BTDEBUG : a.b.device.e.DEVICE = 00:18:13:F2:CC:33
BTDEBUG : a.b.device.a.NAME_CHANGED
BTDEBUG : a.b.device.e.DEVICE = 00:18:13:F2:CC:33
BTDEBUG : a.b.device.e.NAME = "HBH-IV840"
This application is built by default, but is not installed. Use
mmm development/apps/BluetoothDebug
adb install -r $OUT/system/app/BluetoothDebug.apk
to install it. Logging will begin immediately.
Change-Id: I582e6415fc1c856a6a4581ecf52eda11818601cf
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.