Commit Graph

186 Commits

Author SHA1 Message Date
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
Kartikaya Gupta
7c5bbfb786 Bug 717408 - Remove unneeded clause in python exception handling that was causing errors on python 2.5. r=geoffbrown 2012-01-12 13:09:04 -05:00
Geoff Brown
c307e21899 Bug 717042 - assert in Robocop Asserter so that robotium framework will recognize failures; r=jmaher 2012-01-11 08:50:11 -05:00
Joel Maher
b14919c589 Bug 716732 - Robocop: fennec_ids.txt not always generated. r=kats 2012-01-11 08:50:10 -05:00
Kartikaya Gupta
cbb4aedb57 Bug 716934 - Print warning when clicking on elements with no listener. r=jmaher 2012-01-10 14:15:18 -05:00
Joel Maher
dcc9fb159b Bug 715312 - Robotium tests for Fennec Native do not close file input stream. r=kats 2012-01-10 11:14:31 -05:00
Geoff Brown
33d0761937 Bug 705175: update devicemanager, devicemanagerSUT versions of getAppRoot; r=jmaher 2012-01-07 18:41:08 -05:00
Geoff Brown
2a0e06eef3 Bug 716077 - be more strict when matching proc name in devicemanager.processExists; r=jmaher 2012-01-07 18:41:08 -05:00
Joel Maher
bf6761d74e Bug 715309 - robocop needs to have a more uniform log format. r=gbrown 2012-01-07 18:41:08 -05:00
Ed Morley
71e7d54a52 Backout 8ec01f6f316f (bug 705175), a1dc0efef542 (bug 716077), b5686f25b258 (bug 710445), 32f8d3be2ad1 (bug 715309) for mochitest/reftest failures on Android & Windows 2012-01-07 14:57:58 +00:00
Geoff Brown
559d01706b Bug 705175: update devicemanager, devicemanagerSUT versions of getAppRoot; r=jmaher 2012-01-07 08:25:05 -05:00
Geoff Brown
29b91708d9 Bug 716077 - be more strict when matching proc name in devicemanager.processExists; r=jmaher 2012-01-07 08:25:05 -05:00
Joel Maher
003af6373f Bug 715309 - robocop needs to have a more uniform log format. r=gbrown 2012-01-07 08:25:05 -05:00
Kartikaya Gupta
341e79b11e Fix broken build caused by interefence between csets f5afa1e3faa9 and e20434400f0c. no bug, r=me 2012-01-05 22:36:13 -05:00
Kartikaya Gupta
20a095db65 Bug 715369 - Work around Solo.getCurrentActivity() possibly returning the wrong object. r=jmaher 2012-01-05 21:36:17 -05:00
Kartikaya Gupta
4a223fd44d Bug 715444 - Handle races where the event being listened for comes before the listener is registered. r=jmaher 2012-01-05 21:36:17 -05:00
Geoff Brown
d0b474e6d9 Bug 715197 - Robocop: implement isDisplayed(); r=jmaher 2012-01-05 10:20:21 -05:00
Geoff Brown
0f0e7e3dea Bug 715060 - Fallback to normal devicemanagerADB.pushDir behavior when unzip fails; r=jmaher 2012-01-05 10:20:21 -05:00
Kartikaya Gupta
ca2e5506e4 Bug 714903 - Fix getLanIp to work with Mac OS X as well instead of dying with an exception. r=jmaher 2012-01-03 15:15:02 -05:00
Joel Maher
a15d982fcf Bug 701076 - [hoooking up make] Robotium integration into birch tree. r=blassey,bear 2011-12-31 10:03:36 -05:00
Phil Ringnalda
a5baca4aac Back out 04ef7f564450 (bug 701076) and 632f07583bd8 (bug 711591) for mochitest-oth bustage 2011-12-30 14:19:30 -08:00
Joel Maher
e67402658e Bug 701076 - [hookup to make] Robotium integration into birch tree. r=blassey,bear 2011-12-30 15:57:34 -05:00
Joel Maher
e41beec0c5 Bug 711591 - make the robotium test driver a bit more driver like. r=ctalbert 2011-12-30 15:57:34 -05:00
Joel Maher
6e117752cf Bug 701076 - core robocop toolchain (1.03) a=tfair; r=gbrown,blassey 2011-12-22 09:09:41 -05:00
Aki Sasaki
98a9894bb1 bug 611648 - fix sutAgentAndroid.apk JARSIGNER 2011-12-20 09:34:47 -08:00
Geoff Brown
4b9ede46a3 Bug 710827 - add robotium.jar to m-c under build/mobile/robocop; r=jmaher 2011-12-16 14:27:51 -05:00
Bob Moss
0a4b9c379c Bug 695020 Fix race condition in process launching in the SUTAgent r=ctalbert 2011-12-05 13:13:40 -08:00
Geoff Brown
c2911d257e Bug 701038 - use zip to improve performance of devicemanagerADB.pushDir; r=jmaher 2011-12-05 07:19:31 -05:00
William Lachance
b1984a3f5c Bug 706974 - devicemanagerADB's pushDir method does not conform to interface specifications. r=jmaher 2011-12-05 07:19:31 -05:00
Geoff Brown
107765851c Bug 700916: improve command line when launching process via devicemanagerADB; r=jmaher 2011-12-05 07:19:31 -05:00
Geoff Brown
164cc01eb6 Bug 704618 - Allow directory as a destination argument to SUT pushFile(); r=jmaher 2011-11-30 13:19:49 +00:00
William Lachance
4c4871980f Bug 698010 - Make deviceManagerADB.py killProcess method actually work. r=jmaher 2011-11-09 12:08:04 -05:00
Joel Maher
ed6f63418f Bug 694241 - devicemanagerADB has error in getDirectory causing remotereftest failures. r=wlach 2011-10-14 07:52:01 -04:00
Benoit Girard
c20d7c8dd3 Bug 691779 - Hide devicemanagerADB pull interfering with reftest output. r=jmaher 2011-10-11 10:31:05 -04:00
William Lachance
0da866fbc2 Bug 691815 - devicemanagerSUT should say what file it failed to pull when pull fails. r=jmaher 2011-10-06 10:51:03 -04:00
Joel Maher
5284004019 Bug 691425 - allow for reftest/mochitest android crashes to be dumped in the logs just like desktop crashes. r=ctalbert 2011-10-06 10:51:03 -04:00
William Lachance
5606c73c7f Bug 689316 - DeviceManagerADB needs a getCurrentTime function. r=jmaher 2011-09-30 14:54:11 -04:00
Joel Maher
07b158cc45 Bug 688762 - add try/except blocks around all harnesses so we always return an error code. r=bear 2011-09-26 07:41:19 -04:00
Bob Moss
07cb1444a2 Bug 668517 Add "stay awake" functionality into watcher for sutagent r=ctalbert 2011-08-30 15:54:07 -07:00
Geoff Brown
649bd29144 Bug 681810 - Avoid xpcshell test failure when device not rooted and cp not available; r=jmaher 2011-08-27 00:23:02 +01:00
Geoff Brown
5793c55ec7 Bug 679602 - Improve robustness of devicemanagerADB: check for adb, remote cp; r=jmaher 2011-08-23 17:45:10 +01:00
Geoff Brown
1d4a26ad52 Bug 668349 - Add or update script to run xpcshell tests on Android; r=jmaher 2011-08-22 09:00:50 +01:00
Geoff Brown
58805d27b3 Bug 678385 - Device manager needs to be updated for package name + username; r=jmaher 2011-08-22 09:00:50 +01:00
Bob Moss
55026589d3 bug 679038 - error building WatcherService for SUTAgent r=blassey 2011-08-18 21:06:05 -04:00
Brad Lassey
146bdc79f5 backing out changesets 1baddb020156, d9456378c12d, 187ac0d7b154, 40e392d958e0 and f2e8ee893fe4 2011-08-10 18:18:09 -04:00
Geoff Brown
0aa70ffe82 Bug 668349 - add or update script to run xpcshell tests on Android; r=jmaher 2011-08-10 16:48:26 -04:00
Bob Moss
24b0e809df bug 665716 - build breaks when building SUTAgent with sdk level 11, follow up for watcher service r=blassey 2011-08-10 15:38:01 -04:00
Brad Lassey
dafd3ec7f5 bug 665716 - build breaks when building SUTAgent with sdk level 11 r=blassey 2011-08-09 22:05:17 -04:00
Cameron McCormack
884d695fd6 Bug 479352 - Hide mochitest results table if MOZ_HIDE_RESULTS_TABLE=1 is set. (v4) r=jmaher, a=testonly 2011-07-26 16:13:20 -07:00
Geoff Brown
d6da59f671 Bug 672538 - remotereftest.py and runtestsremote.py reference dm_auto before initialized; r=jmaher 2011-07-20 13:02:48 -04:00
Geoff Brown
eb43247829 Bug 669549 - Some DeviceManagerADB functions do not work; r=jmaher, a=test-only 2011-07-17 12:04:40 -04:00
Kyle Huey
d3e7553ab9 Mass revert m-i to the last known good state 2011-07-13 18:22:33 -07:00
Geoff Brown
bb361d0883 Bug 669549 - Some DeviceManagerADB functions do not work; r=jmaher
--HG--
extra : rebase_source : 458c9d55c36708eb8dffc3275329bb663fab2513
2011-07-13 17:40:43 -04:00
Brad Lassey
0ef0f28f39 bug 669874 - add support for adb devicemanager to mochitest-remote make target r=jmaher 2011-07-07 13:10:52 -04:00
Mitchell Field
d0794ce6a8 Merge mozilla-central to build-system. 2011-05-15 16:07:45 +10:00
Brad Lassey
7935bd4ea0 Bug 650205 - Implement devicemanager using adb. r=jmaher, a=test-only 2011-05-06 18:17:55 -04:00
Brad Lassey
82fcbbbe30 Bug 649825 - refactor DeviceManager to allow multiple underlying implementations. r=ctalbert, a=test-only
--HG--
rename : build/mobile/devicemanager.py => build/mobile/devicemanagerSUT.py
2011-05-06 18:11:02 -04:00