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.
Merge commit 'e8bb54b5b79816b43d9d1652d3dac9dc7b3d7e2d' into eclair-plus-aosp
* commit 'e8bb54b5b79816b43d9d1652d3dac9dc7b3d7e2d':
fixing NPE that i see on my Mac when running idegen.sh
Merge commit '171125f67834d992db9a45eb35775d2b87b9b189' into eclair-plus-aosp
* commit '171125f67834d992db9a45eb35775d2b87b9b189':
Add preferences to DDMS (plug-in/standalone) for adb time out.
Merge commit '2589180d6d095659c1f16f8747186aec58b14ea8' into eclair-plus-aosp
* commit '2589180d6d095659c1f16f8747186aec58b14ea8':
First pass at making adb connection timeout configurable.
Merge commit '0eb96d6433325b54678272b485bd2b88df3b74cb' into eclair-plus-aosp
* commit '0eb96d6433325b54678272b485bd2b88df3b74cb':
ADT: fix an NPE that can happen when an XML file resource is being
Merge commit '0b8d690837afaac4077150c85c854fdefb076885' into eclair-plus-aosp
* commit '0b8d690837afaac4077150c85c854fdefb076885':
Update revision of the tools source.properties file.
Merge commit '1c3a3c3a6173d3a647e5145730635a7d553c38d4' into eclair-plus-aosp
* commit '1c3a3c3a6173d3a647e5145730635a7d553c38d4':
Add ddms support for contacts.
Merge commit '3ce85131be916ea334012276d136a28cf111d123' into eclair-plus-aosp
* commit '3ce85131be916ea334012276d136a28cf111d123':
Add method profiling support to DDMS.
New button allows to start/stop tracing. When clicking stop, DDMS downloads
the trace file and starts Traceview.
Also refactored some common parts of the HPROF and tracing handlers into a
common class. The goal is to have a default, extensible implementation
of the HPROF handler that DDMS and the plug-in can reuse. This will reduce
duplicated code.
Change-Id: Ifc48926c7f6f1c3ea49a4aa94053664be83cbb06
Merge commit '2b6f5d17a3c3eff47cb804b1a6210cfd8a640a3d' into eclair-plus-aosp
* commit '2b6f5d17a3c3eff47cb804b1a6210cfd8a640a3d':
Add support for opening HPROF files in Eclipse.
The action taken on successful HPROF dump can now be configured from
the plug-in preference to be either "save to disk" or "open in eclipse".
If a plug-in supporting .hprof files (such as Eclipse Memory Analyzer Tool)
is present then the file will just be opened in the tool.
"save to disk" does not convert the file, "open in eclipse" does convert
the hprof file (using hprof-conv present in the SDK)
Change-Id: Iceb347abb2af5a2979b6028c22dcbdc3bc7250ca
Merge commit '46093a9204309a241b4e83dca4b7fbcba8768959' into eclair-plus-aosp
* commit '46093a9204309a241b4e83dca4b7fbcba8768959':
Make DDMS log way less verbose.
Merge commit 'a7bb36d181639ffc1bafa9e4080ca4f5691043ba' into eclair-plus-aosp
* commit 'a7bb36d181639ffc1bafa9e4080ca4f5691043ba':
SDK Updter: change window title to match ADT
Merge commit 'a43c57a870ee74fe899a0e92beb2f1ac40150387' into eclair-plus-aosp
* commit 'a43c57a870ee74fe899a0e92beb2f1ac40150387':
Add ContactsProvider tests to runtest as 'contactsprov'
Merge commit 'b1e9793d6620ef973552f4d8672578f1276d68c2' into eclair-plus-aosp
* commit 'b1e9793d6620ef973552f4d8672578f1276d68c2':
ADT GLE: change error display to a separate sash.
This allows GEP to display both the latest error and the latest
successful rendering. The error still needs an icon and the
canvas will need to be grayed or something.
Also the LayoutCanvas will directly use the ILayoutResult and we
won't need to custom EditData in UiElementNode so the correspond
method is @deprecated (but obviously still supported for GLE1.)
Change-Id: Ia3afed836755dbd84a4511eaed0782c85a383ac9
Merge commit '0c12e21a3152b62fb330c86b5ea544e927300608' into eclair-plus-aosp
* commit '0c12e21a3152b62fb330c86b5ea544e927300608':
Add backslashes before apostrophes so they don't get lost.
This uses the (new in cupcake) VM command through JDWP.
Older VMs are detected through the (also new) 'FEAT' command that notifies
which features the VM supports.
The hprof file is right now saved in /sdcard. Due to donut+ apps not having
the SD Card permission by default, we may need to change this in the (near)
future.
Upon completion of the dump by the VM, DDMS will give the user a file selector
to choose a place to save the file on the host machine.
Future improvements: run (our own) hat, or hprof-conv and a standard hprof
tool (Eclipse MAT integration for instance). This should be configurable
by the user.
Change-Id: I33696b0263e3d0788ad5d90cedf3cd17393d2f9b
Merge commit '56098693d29346fc3bf995a125e12fb2d3e1523d' into eclair-plus-aosp
* commit '56098693d29346fc3bf995a125e12fb2d3e1523d':
Update apkbuilder to support new property names