Merge commit '8ddb2873df96c7181c9358f5c9286e273648bf89' into gingerbread-plus-aosp
* commit '8ddb2873df96c7181c9358f5c9286e273648bf89':
Change hosttestlib to use ddm-prebuilt.
Merge commit '32553f5291b1e0c5363db8bd7f280037f4f600e2' into gingerbread-plus-aosp
* commit '32553f5291b1e0c5363db8bd7f280037f4f600e2':
Remove monkeyrunner so it can move to the SDK project.
Merge commit 'b5ebc48565ceb23feba21cc12fbbb2cc34802209'
* commit 'b5ebc48565ceb23feba21cc12fbbb2cc34802209':
Update time zone data to the new version 2010k.
Merge commit 'cc7fc9e839cee6c33d099a94c5bdb655bd83ccd9' into gingerbread-plus-aosp
* commit 'cc7fc9e839cee6c33d099a94c5bdb655bd83ccd9':
Update time zone data to the new version 2010k.
test lab session. It puts a device into bootloader mode,
reboots into bootloader mode, determines device type, erases
user cache, flashes a generic userdata image, updates the boot
image, updates the radio image, updates the system image and
reboots, sets up for a monkey run and finally runs a random
monkey test. It will repeat this based on an optional
parameter(-i) or default to 100 times. It will detect if it is
in a low battery situation and wait for it to charge
again.
Adding custom flash files for use with nexusone and sholes.
Updating files with review changes
Removing some trailing spaces and fixing a few typos.
Fixed some additional items and changed some of the naming
Fixed a comparison that wasn't correct
removed a default bootpart name, now needs to be added
custom_flash.sh
missing exit added
edited README for typos and wordage.
Change-Id: Ie7dc2139823304ce11b10b6fd65997cf311a2e9c
- Add in device "drag" command to simulate a finger moving across the touch screen
- Add in some pixel operation on MonkeyImage to scripts can do pixel level tests and comparisons.
- Fix up the help command to no longer loop forever.
- Start MonkeyRunner in interactive mode if no script file is specified.
Change-Id: Ifd2655d3291dcc9dc355d4c2efa9019dc38bee5d
- Set __name__ inside the scriptfile runner so python scripts expecting it get it.
- Propagate sys.exit error codes so monkeyrunner will actually return those error codes.
- Better handle PyExceptions thrown by the script to actually terminate monkeyrunner.
- Bubble up installPackage and removePackage error codes so callers can tell if they worked or not.
Change-Id: Ia4717b1ad2c9b4cccd607aba00211f2f85dfb412
(but noticable) performance improvement.
Add in unit tests to validate that ImageUtils works correctly.
Change-Id: I3f5a8512534c0193f99c0e514066dbd02746a6bc
- Add in ImageUtils (which is basically a copy from HierarchyViewer)
- Encapsulate ADB communications inside DebugBridge.
- Encapsulate Network Monkey protocol inside MonkeyMananger
Most of this code is currenlty duplicated in MonkeyRunner.java. Deletions of that code
will come in a subsequent change.
Change-Id: Ia33eeae9b12d97371781c5d2a0292b738130b4d3
It turns out annotation classes aren't spelled out in the public API
file, so we now emit warnings instead of errors on unrecognized method
calls into annotation classes.
The <angle bracket> stripper wasn't working quite right, and did the
wrong thing on nested brackets and stuff like "java.lang.Class<?>[]".