Commit Graph

267 Commits

Author SHA1 Message Date
William Lachance
562726fe19 Bug 777836 - Watcher should log more information on its current state;r=jmaher 2012-07-27 14:56:44 -04:00
William Lachance
f04c26b515 Bug 776078 - Log all incoming commands and where they're coming from. r=wlach 2012-07-26 14:37:38 -04:00
William Lachance
59162fdd8c Bug 763497 - Revert change to always run commands on SUTAgent due t
o problems

This was causing problems with running the agent on the panda and (I
am told) the tegras. I think we do ultimately want this behaviour but
we'll have to fix that first.
2012-07-26 12:59:54 -04:00
Mark Cote
8cfd522acb Bug 777331 Added uptimemillis info command to Android SUTAgent. r=wlach
--HG--
extra : rebase_source : 9e30652ec36fa7e192eeb392d91f85d3c5221c42
2012-07-25 13:59:21 -04:00
Geoff Brown
30a40f18d5 Bug 776541 - keep socket open after devicemanagerSUT push command; r=wlach 2012-07-23 19:56:53 -06:00
Joel Maher
539b16fe00 Bug 773021 - sutagent info('memory') should return free memory, not just physical memory. r=wlach 2012-07-23 15:52:34 -04:00
David Clarke
2893543db6 Bug 775708 - A better mechanism of detecting root on device, r=jmaher 2012-07-20 15:02:51 -07:00
Ryan VanderMeulen
3dd6a7bf5e Merge m-c to inbound. 2012-07-19 21:08:31 -04:00
Mihnea Balaur
c0c5a7fd0e Bug 753605 - Add emulator classes to build/mobile, r=jmaher, DONTBUILD because NPOTB 2012-07-19 16:14:44 -07:00
Joel Maher
efe29ae818 Bug 772531 - detect when a tegra reboots via log file parsing, mark test as red and allow tbpl to get accurate information. r=wlach 2012-07-18 15:24:34 -04:00
Geoff Brown
0bc8ffffe8 Bug 774797 - Robocop: upgrade to robotium-3.3.jar; r=jmaher 2012-07-18 14:25:20 +01:00
Mihnea Balaur
c88534c4d4 Bug 773826 - Move mkDirs implementation into base class, r=wlach 2012-07-17 10:35:41 -07:00
Joel Maher
e3e5b6f242 Bug 772531 - detect when a tegra reboots via log file parsing, mark test as red and allow tbpl to get accurate information. r=wlach 2012-07-17 12:00:11 -04:00
Kartikaya Gupta
95515b9033 Bug 775102 - Update FennecTalosAssert so that assertion failures make the tests orange. r=gbrown 2012-07-19 14:18:36 -04:00
Geoff Brown
3cad731160 Bug 774322 - use correct process name in RProcess; r=jmaher 2012-07-17 08:58:47 -06:00
William Lachance
1780690544 Bug 773463 - Use select so we don't use 100% CPU while waiting for a response in devicemanagerSUT;r=jmaher 2012-07-16 10:42:08 -04:00
William Lachance
2da8fac0b6 Bug 772595 - Better escape commands sent to devicemanager shell;r=jmaher 2012-07-12 12:12:59 -04:00
Ed Morley
544642ee72 Merge mozilla-central to mozilla-inbound 2012-07-12 16:29:25 +01:00
Andrew Halberstadt
6220f0f4f2 Bug 772307 - Add dummy browser.manifestURL pref to user.js to prevent B2G from dying, r=jgriffin 2012-07-11 18:14:35 -07:00
William Lachance
712d479bfe Bug 763497 - Always run standard commands through "su" with SUTAgent r=jmaher 2012-07-11 18:35:41 -04:00
Jonathan Griffin
93fb76dda7 Bug 772687 - Add ability to specify deviceRoot when instantiating DeviceManager, r=jmaher 2012-07-11 11:49:30 -07:00
William Lachance
6199f499ed Bug 768957 - Fall back to getting mac address using wifiman on older versions of Android;r=jmaher 2012-07-11 12:51:44 -04:00
William Lachance
75ed04f403 Backed out changeset fa4bd6ad8a13 2012-07-11 12:49:14 -04:00
William Lachance
47e4bd5c90 Bug 768597 Fall back to getting mac address using wifiman on older versions of Android;r=jmaher 2012-07-11 12:45:22 -04:00
William Lachance
51de0f4b1a Bug 772105 - Give a better error if failed to push a file with devicemanagerSUT;r=jmaher 2012-07-11 10:24:05 -04:00
Ted Mielczarek
21550e8d33 bug 768957 - Make SUTAgent able to get MAC address from ethernet connection. r=ctalbert 2012-06-29 14:39:15 -04:00
Geoff Brown
333f8c752c Bug 756704 - Robocop: avoid hangs when events missed; r=kats 2012-06-28 11:20:15 -07:00
Joel Maher
79ca0431db Bug 765860 - remove the requirement from sutagent to reboot after an uninstall. r=gbrown 2012-06-22 13:24:11 -04:00
Geoff Brown
90c6b47da4 Bug 756264 - Reduce devicemanager chmod calls; r=jmaher 2012-06-19 09:14:41 -07:00
Geoff Brown
30d19a811a Bug 764489 - reduce sutAgent logcat messages; r=jmaher 2012-06-18 21:32:20 -07:00
Jonathan Griffin
0be98a418e Bug 763527 - Attempt to resolve timeouts in B2G mochitests, a=test-only, DONTBUILD because NPOTB 2012-06-18 10:43:59 -07:00
Geoff Brown
da3e7dce4d Bug 764147 - SUT agent: reduce CPU usage while waiting for launched process. r=jmaher 2012-06-15 10:22:56 -07:00
Joel Maher
8d12e67e5b Bug 754873 - fennec automated tests should capture logcat output while test is running. r=wlach 2012-06-13 14:20:43 -04:00
Geoff Lankow
bdc2b4bb58 Merge m-c to m-i 2012-06-06 15:13:51 +12:00
Jonathan Griffin
36e0617209 Bug 759885 - Add support for running mochitest-plain on B2G emulators, r=jmaher, DONTBUILD because NPOTB 2012-06-05 15:17:26 -07:00
William Lachance
c704aae98b Bug 760107 - Add support for getting rotation of device to SUTAgent 2012-05-31 10:59:06 -04:00
William Lachance
58f8ead96a Bug 761301 - Make SUTAgent's kill command kill all app processes;r=jmaher 2012-06-05 11:18:58 -04:00
William Lachance
7cefc0abee Backed out changeset 1212d4edfff6 2012-06-05 11:17:28 -04:00
William Lachance
8eadc161d1 Bug 761301 - Make SUTAgent's kill command kill all app processes 2012-06-05 11:07:42 -04:00
Geoff Brown
0c640e3a34 Bug 758405 - Robocop: fix synchronization in FennecNativeElement. r=jmaher 2012-05-26 09:33:53 -04:00
Wes Johnston
ecb051e05d Bug 757646 - Throw from NSSBridge if Master password is set. r=rnewman,gbrown 2012-05-25 10:04:12 -07:00
William Lachance
df12b7646d Bug 757546 - shell() in devicemanager should return an int;r=gbrown 2012-05-23 10:26:07 -04:00
Geoff Brown
09c656104b Bug 725094 - Robocop: change error handling to throw fewer exceptions; r=jmaher 2012-05-22 16:25:30 -07:00
Gervase Markham
ca171eec44 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Geoff Brown
acb7b52e10 Bug 755556 - Robocop: upgrade to robotium-3.2.1.jar. r=jmaher 2012-05-19 11:26:39 -04:00
William Lachance
db1eb2f1dc Bug 754305 - SUTAgent should always print ipv4 address. r=jmaher 2012-05-14 19:01:05 -04:00
William Lachance
5a4b8e6ec7 Bug 721936 - Watcher should have option to disable starting SUTAgent;r=ctalbert 2012-05-10 12:48:50 -04:00
William Lachance
3003f65af9 Bug 753484 - Installation/uninstallation broken with SUTAgent on ICS;r=gbrown 2012-05-10 12:43:28 -04:00
William Lachance
e0d6535a9a Bug 752690 - Various problems encountered with mozdevice when trying to get Google Chrome and Stock ICS working with Eideticker;r=jmaher 2012-05-08 11:04:58 -04:00
William Lachance
a20a3d2ffe Bug 752670 - Takes forever to initialize devicemanagerADB if deviceRoot has many files in it; r=jmaher 2012-05-08 10:23:19 -04:00
Kartikaya Gupta
c59cd5dbf4 Bug 750507 - Modify robopan to measure jank better. r=jrmuizel 2012-05-03 14:59:10 -04:00
William Lachance
e9ca54c689 Bug 750302 - DeviceManager files should have new-style license boilerplate, r=jmaher, a=android-only 2012-05-01 12:50:17 -07:00
Jonathan Griffin
419217bc82 Bug 749011 - Add support for running mochitest-plain on B2G, r=jmaher
--HG--
extra : rebase_source : 4c260e11c51c5015d2ded66f4b8cfc94a9969298
2012-04-27 11:44:59 -07:00
Geoff Brown
18feb2c818 Bug 747162 - SUT agent: increase version to 1.08; r=ctalbert 2012-04-27 12:31:06 -04:00
Geoff Brown
8b2c4bbdb4 Bug 747599 - SUT agent: follow symlinks in pushDir. r=jmaher 2012-04-26 19:21:38 -04:00
Geoff Brown
16b4ea9e09 Bug 747547 - SUT agent: set pushed file permissions to 777. r=jmaher 2012-04-26 19:21:38 -04:00
Kartikaya Gupta
46955cc43a Bug 746215 - Report total checkerboarding instead of average checkerboarding for tcheckerboard tests. r=jmaher 2012-04-26 14:24:10 -04:00
Geoff Brown
7133d2edaf Bug 747268 - devicemanagerADB: improve listFiles error handling and check for root. r=jmaher, a=test-only 2012-04-20 17:15:59 -04:00
Geoff Brown
8817667a0d Bug 745889: SUT agent/watcher - avoid NullPointerException when there are no running app processes. r=ctalbert, a=test-only 2012-04-17 19:44:53 -04:00
Geoff Brown
6f561362c9 Bug 744530 - SUT agent: do not routinely report expected exceptions. r=ctalbert, a=test-only 2012-04-17 19:44:38 -04:00
Geoff Brown
5c07d26c99 Bug 743766 - Handle IllegalArgumentException in RedirOutputThread. r=ctalbert, a=test-only 2012-04-17 19:42:08 -04:00
Armen Zambrano Gasparnian
640ca7ce08 Bug 735451. raise exception when DeviceManager fails to initialize. r=jmaher 2012-04-11 14:51:18 -04:00
Kartikaya Gupta
a6d539e35e Bug 744094 - Log all robocop-internal exceptions as errors to the error log. r=jmaher 2012-04-10 14:20:55 -05:00
Kartikaya Gupta
c40a96a26b Bug 744094 - Shorten enum value identifiers to be less redundant. r=jmaher 2012-04-10 14:20:46 -05:00
Jonathan Griffin
8102ae8188 Bug 741479 - make DeviceManagerADB useable with B2G, r=jmaher 2012-04-05 12:06:41 -07:00
Jonathan Griffin
ba5cbafc28 Bug 741994 - add ability to pass device serial number to DeviceManagerADB, r=jmaher 2012-04-05 11:58:12 -07:00
Jonathan Griffin
3939fe95cb Bug 741989 - Add optional argument to specify adb path, r=jmaher 2012-04-04 10:27:59 -07:00
Geoff Brown
9f4cd3fc79 Bug 734715 - Improve devicemanagerSUT socket diagnostics. r=jmaher 2012-04-03 20:08:27 -04:00
Kartikaya Gupta
0562fda9c1 Bug 739415 - Add ability to have raw files as test assets. r=jmaher 2012-03-27 16:16:13 -04:00
Kartikaya Gupta
412a90aa08 Bug 739415 - Add ability to log exceptions to robocop log file. r=jmaher 2012-03-27 16:16:13 -04:00
William Lachance
af06b9358e Bug 738032 - DevMgrADB shouldn't copy entire directory when checking if we can use run-as. r=gbrown 2012-03-23 21:50:35 -04:00
William Lachance
f384dae68f Bug 722403 - DeviceManager: killProcess(): Add forceKill parameter and kill all matching processes, r=gbrown Earlier patch by Christian Holler.
--HG--
extra : rebase_source : 295a10d592827f4633951eda196505529560f8f0
2012-03-23 14:00:04 -07:00
Kartikaya Gupta
66bbe1cb22 Bug 738556 - Optimize frame time measurement and checkerboard time measurement in robocop a little. r=jmaher 2012-03-23 11:58:03 -04:00
Kartikaya Gupta
39e416f890 Bug 738326 - Buffer file writes to reduce test times. r=jmaher 2012-03-22 13:36:20 -04:00
Kartikaya Gupta
aafb5616e5 Bug 737411 - Work around problems with RGB888/RGB555 conversions and dithering in the pixel tests. r=jmaher 2012-03-22 13:35:45 -04:00
Geoff Brown
8dda642283 Bug 737411 - Robocop: update reflection references; r=kats 2012-03-22 13:35:19 -04:00
Joel Maher
0af5cc572e Bug 736920 - mochitest-robocop log parser shouldn't repeat the whole test log, particularly not with spurious blank lines. r=gbrown 2012-03-22 10:45:20 -04:00
William Lachance
2a691cb622 Bug 737416 - DeviceManager's launchApplication interface should not require an intent. r=jmaher 2012-03-20 17:25:16 -04:00
Matt Brubeck
8b06cbf165 Back out f626859690df (bug 736105) because of frequent robocop testAboutPage failures 2012-03-19 11:28:58 -07:00
Geoff Brown
b2f1a86611 Bug 736246 - follow up to fix exception in verifyRunAs; r=wlach 2012-03-19 11:09:39 -04:00
Joel Maher
689e3afb56 Bug 736105 - robocop does a lot of redundant copying of profile and sleeps, we can cut runtime almost in half. r=wlach,gbrown 2012-03-19 11:09:36 -04:00
William Lachance
2aaf5fef98 Bug 736246 - DeviceManagerADB should throw an exception if we know it's not going to work. r=jmaher 2012-03-16 18:36:28 -04:00
Wes Johnston
797ae79851 Bug 725881 - Tests for form history and passwords providers. r=gbrown 2012-03-08 10:25:44 -08:00
Wes Johnston
eddf07cdb6 backout a965cebe4462 32220d7085e0 3689bb4199d8 d0c82cb6eb28 b295c8825acd and 95ab5c738512 2012-03-08 12:32:01 -08:00
Wes Johnston
e2aba562a7 Bug 725881 - Tests for form history and passwords providers. r=gbrown 2012-03-08 10:25:44 -08:00
Brian Nicholson
536937fea1 Bug 726018 - Include sjs files in Robotium. r=gbrown 2012-03-07 13:58:31 -08:00
Joel Maher
aa656b2fde Bug 731637 - robocop on tegras hit OOM for PixelTest due to getPaintedSurface() array creation. r=kats 2012-03-06 15:08:45 -05:00
Geoff Brown
bb7735c94c Bug 731403 - Update dmADB.getDirectory to use stdout instead of stderr. r=wlach 2012-02-29 19:40:58 -05:00
William Lachance
50fdd7d035 Bug 731023 - Remove devicemanager's communicate method r=jmaher 2012-02-28 11:44:45 -08:00
William Lachance
da377fdcbe Bug 731349 - Minor bugs in DroidADB, DroidSUT abstractions r=ctalbert 2012-02-28 11:44:45 -08:00
Geoff Brown
165cdae3de Bug 730153 - Enhance SUT agent kill command for xpcshell / non-java tasks; r=jmaher 2012-02-28 11:44:45 -08:00
Christian Holler
aae07c1e22 Bug 728995 - DeviceManagerADB should support TCP/IP r=wlach 2012-02-28 11:15:37 -08:00
Geoff Brown
de80fca3ff Bug 705192: allow remotexpcshelltests.py to execute xpcshell via SUT agent; r=jmaher 2012-02-28 12:20:56 -05:00
Tim Taubert
89e75fee4c Bug 683953 - Follow up, add logger argument for mobile automation to fix Android bustage; r=bustage-fix 2012-02-26 20:35:09 +01:00
William Lachance
402126b033 Bug 728298 - DeviceManager needs a good, standard way of starting an Android application. r=jmaher 2012-02-23 10:32:28 -05:00
Christian Holler
4e440d7db9 Bug 728993 - Need to check output to capture run-as failure in devicemanagerADB. r=jmaher 2012-02-21 11:13:54 -05:00
William Lachance
7d8303966f Bug 728927 - A few more minor exception conditions in DeviceManagerSUT. r=jmaher 2012-02-21 09:10:42 -05:00
Geoff Brown
3c62e16b64 Bug 723220 - Robocop: code cleanup; r=jmaher 2012-02-15 09:56:20 -05:00
William Lachance
1bbc7d31fd Bug 726867 - DeviceManagerSUT's getProcessList is identical to code in DeviceManager. r=jmaher 2012-02-14 12:29:22 -05:00
William Lachance
2eeb857e71 Bug 726833 - SUT client can hang if prompt occurs on 1024-byte boundary. r=jmaher 2012-02-14 12:28:41 -05:00