Commit Graph

242 Commits

Author SHA1 Message Date
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
Chris Lord
177e9b70c4 Bug 725255 - Improve checkerboarding telemetry. r=jmaher
Change robotium to report on the average 'completeness' of rendered frames,
instead of the amount of frames with checkerboarding. Also change testCheck to
pan in a more humanly-possible way, and to change direction, which gives us
more useful numbers.
2012-02-09 11:37:17 +00:00
Geoff Brown
c55cdb577c Bug 717023 - Robocop: use dumpLog consistently; r=jmaher 2012-02-08 09:32:42 -05:00
Geoff Brown
03bb4b41ae Bug 720930 - Robocop: create bookmark in testBookmark if none exists; r=jmaher 2012-02-07 14:12:23 -05:00
Christian Holler (:decoder)
0653273acd Bug 722297 - DeviceManagerADB: Several launchProcess problems. r=gbrown
[PATCH 8/9] Strip trailing line endings from listFiles output

From 7002d4b57d5f829fe25a4098c3d7a1ff869a281e Mon Sep 17 00:00:00 2001
Message-Id: <7002d4b57d5f829fe25a4098c3d7a1ff869a281e.1327949409.git.choller@mozilla.com>
In-Reply-To: <8149860494be47c731b377e42c4cf88c97cf8bae.1327949409.git.choller@mozilla.com>
References: <8149860494be47c731b377e42c4cf88c97cf8bae.1327949409.git.choller@mozilla.com>
---
 build/mobile/devicemanagerADB.py |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
2012-01-30 15:57:08 +01:00
Christian Holler (:decoder)
ddd6889545 [PATCH] Bug 722297 - Several launchProcess problems. r=gbrown
From 5b5e5392f87b7ba19d3bb435536f3b3a6f874907 Mon Sep 17 00:00:00 2001
Message-Id: <5b5e5392f87b7ba19d3bb435536f3b3a6f874907.1328313263.git.decoder@malphas.(none)>
---
 build/mobile/devicemanagerADB.py |   12 ++++++++++--
 1 files changed, 10 insertions(+), 2 deletions(-)
2012-02-04 00:54:02 +01:00
Clint Talbert
5cae371af5 Bug 712991 Remove GPL code in watcher that runs NTP service. r=bmoss 2012-02-03 12:28:16 -08:00
Kartikaya Gupta
059ec61ee0 Bug 723619 - Add a blockUntilClear function to wait for animations. r=jmaher 2012-02-02 16:07:00 -05:00
Kartikaya Gupta
0999f85efe Bug 723545 - Include all html files in the test path into the robocop build. r=jmaher 2012-02-02 16:07:00 -05:00
Joel Maher
3c8ca91d37 Bug 717057 - allow robotium testPan to run in talos. r=kats,gbrown 2012-02-02 10:09:26 -05:00
Chris Lord
5541959d3a Bug 717349 - Add checkerboard testing to Robotium. r=jmaher
Add functions to Robotium to test for checkerboarding.
2012-02-02 09:02:49 +00:00
Christian Holler (:decoder)
9838568b07 Bug 720806 - Improve DeviceManagerADB actions when device is not rooted. r=gbrown 2012-02-01 11:43:15 -05:00
Kartikaya Gupta
db15dba682 Bug 722765 - Use getLocationOnScreen to get the position of the gecko view. r=jmaher 2012-02-01 00:32:29 -05:00
Kartikaya Gupta
591a8d6a69 Bug 720144 - Add a simple pixel test to testLoad to ensure the page loaded and was visible. r=jmaher 2012-01-30 22:46:34 -05:00
Kartikaya Gupta
67add8af20 Bug 720144 - Expose methods in robocop to grab the painted surface and to compare pixels. r=jmaher 2012-01-30 22:46:13 -05:00
Joel Maher
a20c848977 Bug 719697 - robocop isn't signed properly from buildbot builds. r=aki,blassey. 2012-01-28 19:19:44 -05:00
Phil Ringnalda
82f5e1a6bb Back out 705d94f0a11c and c593ef0f4353 (bug 719697) for crazed infra filename dependencies 2012-01-26 20:16:54 -08:00
Joel Maher
433b4d0029 Bug 719697 - robocop isn't signed properly from buildbot builds. r=aki,blassey. 2012-01-26 19:41:59 -05:00
William Lachance
73bfa84662 Bug 713970 - Restore accidentally removed changes and fix error handling in devicemanager 2012-01-26 19:41:56 -05:00
Matt Brubeck
eecc1741b7 Back out f151cccff911, 2c463faae83f, d7a8aefd3e8a (bug 719697, 713970, 720614) because of build bustage. 2012-01-26 11:41:29 -08:00
Joel Maher
fb64b79cf2 Bug 719697 - robocop isn't signed properly from buildbot builds. r=aki,blassey. 2012-01-26 13:56:53 -05:00
William Lachance
7ca1545712 Bug 713970 - Restore accidentally removed changes and fix error handling in devicemanager. r=jmaher 2012-01-26 13:56:51 -05:00
Chris Lord
2038b1fca3 Bug 720663 - devicemanagerADB pushDir fallback not always tried. r=gbrown
The devicemanagerADB.py pushDir method has two paths, one that uses zip/unzip
and the other that just pushes each file one at a time. The idea is that the
first path is chosen, and if it fails, the second is tried before bailing out,
but it's possible for the first failure not to be detected in such a way that
activates the fallback path.

Add a try/except block to catch exceptions in the first path and fall back to
the second.
2012-01-25 09:49:30 +00:00
Chris Manchester
d56a27891d Bug 713970 - mozdevice abstract methods should have better failure patterns;r=jmaher 2012-01-24 09:46:38 -05:00
Geoff Brown
4f0739227e Bug 718528 - Robocop: upgrade to robotium 3.1; r=jmaher 2012-01-24 09:46:37 -05:00
Joel Maher
6fd10a8831 Bug 717725 - sutagent 'exec' waits for 'am instrument...' command to finish instead of letting it run in the background. r=gbrown 2012-01-14 08:24:17 -05:00