Граф коммитов

581 Коммитов

Автор SHA1 Сообщение Дата
Lucas Rocha 21ac7a3d43 Backed out changeset a9eb5d014736 (missed bug #) 2013-08-09 18:23:22 +01:00
Adrian Tamas 17e0d21cff Add the longClickOnScreen from robotium 4.0 to Robocop to make sure long click does not fail (r=gbrown) 2013-08-05 11:45:37 +03:00
Kartikaya Gupta 4bbf4e5367 Bug 899421 - Rename getArguments so that FennecInstrumentationTestRunner is compatible with Android API level 18. r=gbrown 2013-07-30 11:13:34 -04:00
Geoff Brown 6820a633a5 Bug 894454 - Avoid potential NullPointerException crashes in sutAgent; r=wlach 2013-08-02 20:25:32 -07:00
Geoff Brown cb506e5cd5 Bug 896199 - Add event queue for Robocop; r=margaret 2013-07-26 15:16:43 -07:00
Geoff Brown e60c41b9bd Bug 856129 - Increase RobocopUtils.runOnUIThreadSync timeout; r=cpeterson 2013-07-12 12:30:27 -07:00
Chris Kitching d909f4bec8 Bug 888074 - Replacing single-threaded uses of StringBuffer with StringBuilder. r=rnewman 2013-07-02 08:12:17 -04:00
Dan Minor (dminor@mozilla.com) 43e5e1cb99 Bug 881897: Reduce frequency of polling in remoteautomation.py; r=jmaher 2013-06-28 07:49:53 -04:00
Nick Alexander dc310122de Bug 874132 - Second reland Part 3: Replace uses of apkbuilder with zip and custom debug signing tool. r=jmaher,mfinkle
This incorporates follow-ups including: rename the debug key; check if
key alias exists rather than just testing for keystore existence; set
$(AIDL).

Renaming the debug key works around an un-confirmed JDK bug in
jarsigner, where '-debug' and 'debug' compare the same.
2013-06-20 11:50:28 -07:00
Nick Alexander 8bf1a1594f Backed out changeset 3a4c1a113154 (Bug 874132) for jarsigner "Please specify alias name" errors. 2013-06-19 08:21:15 -07:00
Nick Alexander ab45bf0afe Bug 874132 - Part 3: Replace uses of apkbuilder with zip and custom debug signing tool. r=jmaher
--HG--
extra : rebase_source : cf6601c6591921397f96fd1011db43de962ee8ed
2013-06-18 09:25:16 -07:00
Mark Finkle c933212b6c Bug 861164 - use different search URLs for tablet vs. non-tablet [tests] r=margaret 2013-06-05 22:29:44 -04:00
Bob Clary a52e529c14 Bug 879489 - SUTAgent - Make sure /data/local/tmp is a directory and is writable, r=jmaher. DONTBUILD 2013-06-05 11:25:43 -07:00
Geoff Brown e9af3f606d Bug 876524 - Add sut uptime to sutAgent info and increase version to 1.18; r=jmaher 2013-05-28 08:43:33 -06:00
Geoff Brown 9b08783553 Bug 867360 - Get Service class correctly so Watcher runs as foreground service; r=jmaher 2013-05-28 08:43:31 -06:00
Geoff Brown 2ac6fe10bf Bug 867360 - Add onTrimMemory handler to sutagent; r=jmaher 2013-05-28 08:43:28 -06:00
Geoff Brown 232007da3f Bug 867360 - Add onLowMemory handler to watcher; r=jmaher 2013-05-28 08:43:26 -06:00
Geoff Brown f8d7d89cc9 Bug 867360 - Improve setForeground logging in sutAgent; r=jmaher 2013-05-28 08:43:24 -06:00
Geoff Brown 578d1b9324 Bug 867360 - Improve logging in watcher; r=jmaher 2013-05-28 08:43:22 -06:00
Nick Alexander a12713c1bf Bug 863445 - Part 3: Make build/mobile/robocop/Makefile.in produce robocop-debug-signed.apk. r=jmaher
Also makes the developer-facing `make mochitest-robocop` run
robocop-debug-signed.apk, and deprecates `make
mochitest-robotium` (since we name this suite robocop on TBPL).
2013-05-20 11:39:50 -07:00
Nick Alexander 31015381d6 Bug 863445 - Part 1: Make mobile/android/base/Makefile.in generate fennec_ids.txt. r=jmaher
Building mobile/android/base will now generate
$(DEPTH)/mobile/android/base/fennec_ids.txt.

--HG--
rename : build/mobile/robocop/parse_ids.py => mobile/android/base/fennec-ids-generator.py
2013-05-20 11:39:49 -07:00
Ed Morley e50a23d3d6 Bug 872507 - Tweak logcat java-exception regex to strip more whitespace; r=jmaher 2013-05-17 12:42:02 +01:00
Geoff Brown 79a1c821af Bug 872244 - Dump ANR stack traces after Android tests; r=jmaher 2013-05-16 14:32:52 -06:00
Ed Morley 520d38725d Bug 872116 - Output a TBPL compatible message for Android logcat "FATAL EXCEPTION" failures; r=jmaher 2013-05-14 19:08:47 +01:00
Ed Morley c7205ce10a Backed out changeset 2d5c2f191920 (bug 863445) for breaking Android Nightlies
--HG--
rename : mobile/android/base/fennec-ids-generator.py => build/mobile/robocop/parse_ids.py
2013-05-13 12:31:39 +01:00
Ed Morley 89a552998f Backed out changeset dac51812454a (bug 863445) 2013-05-13 12:31:10 +01:00
Nick Alexander 672acf8042 Bug 863445 - Part 3: Make build/mobile/robocop/Makefile.in produce robocop-debug-signed.apk. r=jmaher
Also makes the developer-facing `make mochitest-robocop` run
robocop-debug-signed.apk, and deprecates `make
mochitest-robotium` (since we name this suite robocop on TBPL).
2013-05-11 16:53:49 -07:00
Nick Alexander 59c2e95f0d Bug 863445 - Part 1: Make mobile/android/base/Makefile.in generate $(DIST)/fennec_ids.txt. r=jmaher
--HG--
rename : build/mobile/robocop/parse_ids.py => mobile/android/base/fennec-ids-generator.py
2013-05-11 16:53:48 -07:00
Nick Alexander ff732cfe09 Backed out e7739a472f09, 3fd142236a0f, and 382ec69cdfb1 (Bug 863445) for Android rc1 and rc2 failures on a CLOSED TREE. r=me
--HG--
rename : mobile/android/base/fennec-ids-generator.py => build/mobile/robocop/parse_ids.py
2013-05-10 21:38:52 -07:00
Nick Alexander 949e13fd1a Bug 870908 - Add Robocop Java harness for writing tests in Javascript. r=rnewman 2013-05-10 19:45:58 -07:00
Nick Alexander 88436ea766 Bug 863445 - Part 3: Make build/mobile/robocop/Makefile.in produce robocop-debug-signed.apk. r=jmaher
Also makes the developer-facing `make mochitest-robocop` run
robocop-debug-signed.apk, and deprecates `make
mochitest-robotium` (since we name this suite robocop on TBPL).
2013-05-10 18:39:00 -07:00
Nick Alexander a94e3667f9 Bug 863445 - Part 1: Make mobile/android/base/Makefile.in generate $(DIST)/fennec_ids.txt. r=jmaher
--HG--
rename : build/mobile/robocop/parse_ids.py => mobile/android/base/fennec-ids-generator.py
2013-05-10 18:39:00 -07:00
Andrew Halberstadt da6d3f8e10 Bug 830430 - automation.py should read profile data from a file, r=jhammel
* * *
Copy prefs general
2013-05-07 11:19:46 -04:00
Geoff Brown f0b04ba321 Bug 865944 - Use top activity instead of process to check launch success; r=jmaher 2013-05-03 11:37:59 -06:00
Geoff Brown 02d2dbfaf5 Bug 865944 - Add activity command to sutagent and increase ver to 1.17; r=jmaher DONTBUILD 2013-04-26 12:44:07 -06:00
Geoff Brown 1b06311a15 Bug 864803 - sutAgent: do not destroy process if it has ended already; r=jmaher DONTBUILD 2013-04-25 17:10:42 -06:00
Nick Alexander 1009e11bab Bug 863106 - Check for minidumps directory only when crash reporter is enabled. r=jmaher 2013-04-19 15:31:16 -07:00
Geoff Brown f3d328634d Bug 859563 - Fix and make listener unregistration explicit; r=cpeterson 2013-04-18 21:18:07 -06:00
Bob Clary 834f6afd82 bug 860986 - SUTAgent - add abi to registration url, r=jmaher. DONTBUILD 2013-04-12 11:23:56 -07:00
Daniel Holbert f9f649bd43 Bug 473236, 2013 edition, part 2: Remove executable bit from any png files that are incorrectly marked as executable, tree-wide. DONTBUILD 2013-04-05 16:15:41 -07:00
Chris Peterson 179b487ea4 Bug 855146 - Part 4: Add Actions.sendKeyCode() method for IME tests. r=gbrown
--HG--
extra : rebase_source : ce20c7e4117a40e34f55b186e782c5fcd703704d
2013-04-03 16:45:43 -07:00
Kyle Machulis 72a717a860 Bug 855465 - Add emacs python mode comments to moz.build files; r=gps 2013-04-01 11:36:59 -07:00
Kyle Machulis 43628a7867 Backout for changeset 03452b187c14 (Bug 855465) due to bustage on a CLOSED TREE; r=qdot 2013-03-29 15:12:58 -07:00
Kyle Machulis 334c0800cf Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
--HG--
extra : rebase_source : 004a756492323e1a049586e85b3be5037159df20
2013-03-29 13:56:18 -07:00
Andrew Halberstadt 51c38ab12f Bug 835930 - move b2g unittest profile handling on top of mozbase instead of automation.py, r=jgriffin 2013-03-28 16:42:49 -04:00
Chris Peterson aeecff5b62 Bug 855146 - Part 2: Extract runOnUiThreadSync() test method. r=gbrown
--HG--
extra : rebase_source : 8014e5438596d8981e074ad847a675bacb18eb2c
2013-03-21 18:43:04 -07:00
Andrew Halberstadt feb84a1933 Bug 843296 - check for crashes in b2g emulator unittests during failures in marionette start up, r=jgriffin 2013-03-26 09:50:00 -04:00
Geoff Brown 5a3f8ea4fd Bug 853502 - Add df output to sutagent device info; r=jmaher DONTBUILD 2013-03-25 16:01:59 -06:00
Mike Shal e3efc3a646 Bug 852534 - Remove GRE_MODULE from Makefile.in; r=gps 2013-03-21 08:41:00 -07:00
Joel Maher acbe7e05ea Bug 827446 - update mochitest, reftest, xpcshell to use mozcrash. r=jhammel 2013-03-21 09:19:34 -04:00
Mike Shal 7ecea60097 Bug 844654 - Part 2: Move MODULE to moz.build; rs=gps 2013-03-19 11:47:00 -07:00
Joey Armstrong c11e80ec94 bug 751156: robocop dependency build should be a nop 2013-03-19 15:34:59 -04:00
William Lachance 6572a66348 Bug 852246 - Allow installing over an app with >= version in Android 4.2 via the agent;r=jmaher 2013-03-19 11:58:53 -04:00
Ryan VanderMeulen afb8ca2d3d Backed out changeset 9e6e38d4ae0b (bug 852246) for Android bustage. 2013-03-19 11:25:47 -04:00
William Lachance 854f1e6802 Bug 852246 - Allow installing over an app with >= version in Android 4.2 via the agent;r=jmaher 2013-03-19 11:01:36 -04:00
Andrew Halberstadt c68e0cb382 Bug 843296 - Check for crashes and minidump_stackwalk for b2g emulator unittests, r=jgriffin 2013-03-18 10:01:06 -04:00
Paul Feher 4f8816d618 Bug 846257 - Robocop: Extend 'Web Content Context Menu' test to cover the context menu options for images. r=jmaher 2013-02-26 14:46:02 +02:00
Adrian Tamas 2314501019 Bug 822259 - Robocop: Add test for Find in Page feature. r=jmaher 2012-12-14 09:29:17 +02:00
William Lachance c51c03843a Bug 816694 - Add support for device temperature monitor to agent;r=jmaher 2013-03-13 10:19:38 -04:00
Ryan VanderMeulen 35ddb95cc4 Backed out changeset 1c19d2a03d90 (bug 827446) for packaging bustage on a CLOSED TREE. 2013-03-13 09:22:00 -04:00
Joel Maher 705f3765df Bug 827446 - update mochitest, reftest, xpcshell to use mozcrash. r=jhammel 2013-03-13 07:38:00 -04:00
Chris Lord aaaa3fc551 Bug 846772 - Add prefs observing to PrefsHelper/browser.js on Android. r=kats 2013-03-12 18:32:25 +00:00
Ryan VanderMeulen b16b9555c1 Backed out 5 changesets (bug 846772) for Android reftest-3 orange on a CLOSED TREE. 2013-03-12 17:37:16 -04:00
Chris Lord 3e1166aafa Bug 846772 - Add prefs observing to PrefsHelper/browser.js on Android. r=kats 2013-03-12 18:32:25 +00:00
Andrew Halberstadt 6a7bc77ca2 Bug 848124 - instrument b2gautomation to send environment variables to the on device process, r=jgriffin 2013-03-06 16:53:48 -05:00
Geoff Brown 8500dbae53 Bug 846158 - Clear mEventReceived in robocop blockForEvent; r=kats 2013-03-05 03:27:29 -07:00
Bob Clary d799828c81 Bug 846273 - robocop_autophone.ini is not included in the test package, r=ted. 2013-03-01 00:32:03 -08:00
Gregory Szorc 0c8ee65118 Merge mozilla-central into build-system
There were merges in configure.in and some Makefile.in. None had any
conflicts. I spot verified the Makefile.in changes and confirmed that
the changes did not touch any DIRS* variables.
2013-02-27 10:03:52 -08:00
Gregory Szorc c3f2ed9adf Bug 784841 - Part 18e: Convert /build, /config, and core build system; r=ted 2013-02-25 12:47:18 -08:00
Geoff Brown f56a8ab5b8 Bug 844797 - Avoid UnboundLocalError on dumpDir in checkForCrashes; r=edmorley 2013-02-26 07:19:58 -07:00
Geoff Brown 3f4d216bb1 Bug 844273 - Robocop: upgrade to robotium-3.6.jar; r=jmaher 2013-02-23 15:42:33 -07:00
Jonathan Griffin ea8704f6bf Bug 843729 - deviceSerial -> _deviceSerial, r=ahal, DONTBUILD (NPOTB) 2013-02-21 11:51:36 -08:00
Margaret Leibovic 741eb2c12b Bug 840825 - Add blockForEventData method to EventExpecter. r=gbrown 2013-02-19 10:15:44 -08:00
Geoff Brown 8f0f5d7559 Bug 823452: Check logcat for Java exceptions; r=jmaher 2013-02-13 11:42:15 -07:00
Geoff Brown 09e3f167fe Bug 838636 - Guard against NPE in robocop setup; r=kats 2013-02-11 12:01:58 -07:00
William Lachance dc2aa80b78 Bug 838844 - Add info option to get sutagent user info;r=gbrown 2013-02-08 15:46:57 -05:00
Ed Morley eea19fd01b Bug 813577 - Use try/finally in checkForCrashes() to ensure minidump temp directories do not linger; r=gps 2013-02-08 16:32:07 +00:00
Joey Armstrong 7a30d49506 bug 747540: fix dependencies for java build 2013-01-25 15:22:13 -05:00
Geoff Brown a500197726 Bug 834027: Dump diagnostic info when FennecNativeDriver.getSurfaceView fails; r=jmaher 2013-01-24 15:00:31 -07:00
Jonathan Griffin 8de912de39 Bug 826111 - Support mochitests on b2g desktop build, r=ahal 2013-01-04 10:41:34 -08:00
Ed Morley 9820f29c6a Backout a5b75feea6dd (bug 826111) on suspicion of breaking marionette on linux on a CLOSED TREE 2013-01-15 11:04:25 +00:00
Jonathan Griffin 144c469df0 Bug 826111 - Support mochitests on b2g desktop build, r=ahal 2013-01-04 10:41:34 -08:00
Andrew Halberstadt 33fb275788 Bug 827504 - Don't install specialpowers for crashtests on B2G (it already is), r=jgriffin DONTBUILD a=NPOTB,test-only 2013-01-10 09:49:12 -05:00
Joel Maher 3f1b0abc0c Bug 827699 - Android mochitests and talos don't run on Beta 19 builds. r=blassey NPOTB DONTBUILD 2013-01-08 11:54:34 -05:00
Joel Maher ea4911f41d Bug 786414 - unable to update sutagent on the panda boards. r=wlach DONTBUILD 2012-11-29 15:14:11 -05:00
Geoff Brown 26b1b74298 Bug 809753 - Avoid python exception when maxTime is None; r=edmorley, DONTBUILD 2012-11-28 13:43:58 -07:00
Geoff Brown 1ef03a9e68 Bug 814496 - sutAgent: Stop RedirOutputThread when timeout exceeded; r=wlach 2012-11-27 14:05:18 -07:00
Ed Morley 4ad312620d Bug 808410 - Callers of checkForCrashes should use its return value to ensure shutdown crashes actually make the run fail; r=jmaher f=gps 2012-11-20 15:24:28 +00:00
William Lachance 0bea33309a Bug 811388 - Update mozdevice to 0.15, update consumers;r=ahal 2012-11-14 09:49:04 -08:00
Kartikaya Gupta 402ad2d9c7 Bug 810171 - Add a test for VKB overlap input fields. r=cpeterson 2012-11-13 12:11:25 -08:00
William Lachance 0bd9276583 Bug 805116 - Print more of the logcat in mobile tests;r=gbrown 2012-11-12 13:57:13 -08:00
Wes Johnston a3cbbff917 Bug 759041 - Bring in Android compatibility libraries. r=blassey 2012-11-08 07:45:29 -08:00
Joel Maher 769642690f Bug 809534 - add support to watcher to support version query. r=wlach DONTBUILD 2012-11-08 07:33:03 -05:00
Joel Maher 47dd0a9d8c Bug 809366 - watcher has high cpu usage on panda boards in racked environment. r=wlach DONTBUILD 2012-11-08 07:33:00 -05:00
Joel Maher 126ae9c202 Bug 809364 - sutagent zeroconf is causing jmdns thread to spike cpu on panda boards. r=wlach DONTBUILD 2012-11-08 07:32:58 -05:00
Andrew Halberstadt 7441301341 Bug 798580 - Run mochitests from within test-container app's oop iframe, r=jgriffin 2012-10-31 09:37:22 -04:00
Ed Morley 28935a84bf Bug 808419 - remoteautomation.py's waitForFinish() should print to the log when maxTime is reached; r=jmaher 2012-11-05 13:03:55 +00:00
Ed Morley df651e6a1c Bug 757838 - Make b2gautomation.py set lastTestSeen so crashes are output with the test filename; r=jgriffin 2012-11-03 17:10:59 +00:00
Ed Morley a1dffba9d7 Bug 757838 - Misc b2gautomation.py cleanup; r=jgriffin 2012-11-03 17:10:59 +00:00
Ed Morley 11ec75bdd6 Bug 757838 - Make remoteautomation.py set lastTestSeen so Android crashes are output with the test filename; r=jmaher 2012-11-02 18:57:50 +00:00
Ed Morley 29ee6e6f9e Bug 757838 - Misc remoteautomation.py cleanup; r=jmaher 2012-11-02 18:57:50 +00:00
Joel Maher 52bf998910 Bug 799107 - minidumps not being generated from robocop test crashes (breakpad environment variables not being set properly). r=kats 2012-10-16 13:25:23 -04:00
Joel Maher c2138f61fe Backout e814e12508af (bug 799107), 45863b00372b (bug 801633), 2012-10-15 13:33:37 -04:00
Joel Maher 3c72bf2083 Bug 799107 - minidumps not being generated from robocop test crashes (breakpad environment variables not being set properly). r=kats 2012-10-15 11:13:44 -04:00
William Lachance b9a0562599 Bug 756440 - Only try to download crash directory on device if it exists;r=jmaher
Under normal circumstances this should be created automatically inside the
profile directory when we first start, but this won't happen if we fail
to start properly altogether. If that's the case, we've got other problems
that will be reported as errors. Let's just print a warning so we don't
misdiagnose the problem under those circumstances.
2012-10-15 10:15:15 -04:00
Joel Maher 975fa8f860 Backout f271acb304c2 (bug 799107), 2012-10-15 09:08:41 -04:00
Joel Maher 2ac065a653 Bug 799107 - minidumps not being generated from robocop test crashes (breakpad environment variables not being set properly). r=kats 2012-10-15 07:10:49 -04:00
Clint Talbert 239c54fe3a Bug 785032 - SD card issues with new Tegras ("INFO: attempting to create file /mnt/sdcard/writetest ... Push File Failed to Validate!"). r=jmaher DONTBUILD 2012-10-10 10:17:50 -04:00
Joel Maher 03663446ef Bug 797652 - Current code agent code crashes on android 2.3. r=wlach 2012-10-10 10:17:40 -04:00
Ed Morley 1bcac7940e Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-10-06 20:30:35 +01:00
Andrew Halberstadt 1f19f8c07e Bug 797177 - Fix missed calls to checkCmd within B2G automation, r=mikeh; DONTBUILD because NPOTB 2012-10-05 16:06:02 -04:00
Ed Morley 4ef3ea11bf Bug 798419 - Fix incorrect spellings of success(ful) in test output; r=me 2012-10-05 17:48:15 +01:00
William Lachance c5f092dab4 Bug 795496 - Make mozdevice raise exceptions on error;r=ahal,jmaher
It turns out that relying on the user to check return codes for every
command was non-intuitive and resulted in many hard to trace bugs.
Now most functinos just return "None", and raise a DMError when there's an
exception. The exception to this are functions like dirExists, which now return
booleans, and throw exceptions on error. This is a fairly major refactor,
and also involved the following internal changes:

* Removed FileError and AgentError exceptions, replaced with DMError
  (having to manage three different types of exceptions was confusing,
  all the more so when we're raising them)
* Docstrings updated to remove references to return values where no
  longer relevant
* pushFile no longer will create a directory to accomodate the file
  if it doesn't exist (this makes it consistent with devicemanagerADB)
* dmSUT we validate the file, but assume that we get something back
  from the agent, instead of falling back to manual validation in the
  case that we didn't
* isDir and dirExists had the same intention, but different
  implementations for dmSUT. Replaced the dmSUT impl of getDirectory
  with that of isDir's (which was much simpler). Removed
  isDir from devicemanager.py, since it wasn't used externally
* killProcess modified to check for process existence before running
  (since the actual internal kill command will throw an exception
  if the process doesn't exist)

In addition to all this, more unit tests have been added to test these
changes for devicemanagerSUT.
2012-10-04 11:28:07 -04:00
David Chan e537e59ad4 Bug 797177 - Unbreak b2g mochitests, r=ahal 2012-10-02 15:43:19 -07:00
Jonathan Griffin d1923e5084 Bug 793213 - Disable offline mode for b2g mochitest/reftest, r=ahal, DONTBUILD because NPOTB 2012-09-21 15:20:39 -07:00
Vladimir Vukicevic 3a82a1c16e b=790041; add mDNS broadcasts to SUTAgent; r=ctalbert 2012-09-14 09:29:51 -04:00
Kartikaya Gupta 49a83a548e Bug 767449 - Allow robotium tests to put files in places other than /mnt/sdcard. r=jmaher 2012-09-12 07:56:31 -04:00
William Lachance cca13f1816 Bug 723107 - Re-add mozdevice to testing/mozbase, remove duplicate files in build/mobile;r=jmaher 2012-09-07 16:00:31 -04:00
William Lachance dc3866e12a Bug 789458 - Restore watcher service if it comes back with a null intent;r=jmaher, a=test-only
This could happen if the watcher gets killed due to memory pressure on
Android
2012-09-07 12:00:52 -04:00
Joel Maher cdbc9ea15d Bug 789213 - Delay SUTAgent "ready" until the SDCard is ready. r=wlach 2012-09-07 10:21:23 -04:00
William Lachance 59653b5940 Bug 786427 - Agent should quote with ' characters, not just " characters;r=jmaher 2012-08-30 15:05:18 -04:00
William Lachance 4e57012935 Bug 786425 - Always log debug messages to logcat, even if file logging disable;r=jmaher 2012-08-30 14:51:16 -04:00
William Lachance f961c73c84 Bug 763497 - Add option to agent (and code to devicemanager) to allow executing commands as root;r=jmaher 2012-08-30 14:43:17 -04:00
Geoff Brown 2cf0bd61a5 Bug 787061 - Robocop: dump stack traces on event timeout; r=jmaher 2012-08-30 08:50:16 -06:00
Kartikaya Gupta 8cd589516b Bug 783758 - Add a close function on the PaintedSurface class to clean up the opened FileInputStream, and invoke it from tests. r=jmaher 2012-08-27 13:44:58 -04:00
Joel Maher 9f2c0054eb Bug 785238 - Should catch AgentError inside devicemanagerSUT's getInfo. r=wlach 2012-08-24 09:53:27 -04:00
William Lachance b28692bf7a Bug 785108 - Fix devicemanagerADB's isDir to handle symbolic links properly;r=jmaher DONTBUILD 2012-08-23 15:56:18 -04:00
Malini Das 0cc15146bd Bug 755856 - look for adb in path first for mozdevice emulator automation, r=jgriffin 2012-08-23 15:46:48 -04:00
Joel Maher 87cfe706d3 Bug 782396 - Should be able to disable logging behaviour of SUTAgent (and that should be the default). r=gbrown DONTBUILD 2012-08-17 12:27:23 -04:00
Andrew Halberstadt 170dc14d55 Bug 782655 - Enable remote xul for B2G reftests, r=jgriffin 2012-08-15 15:26:31 -04:00
Malini Das f158ad377a Bug 782749 - add timeouts for shell/checkCmd to devicemanagerADB, r=jmaher 2012-08-15 10:35:21 -04:00
William Lachance 85ef3ca80d Bug 782382 - Fix syntax error in devicemanagerSUT;r=jmaher 2012-08-14 11:26:13 -04:00
Dominik Oepen 822e64b426 Bug 774293 - Fix issues in devicemanager revealed by pyflakes;r=wlach 2012-08-14 10:41:11 -04:00
Kartikaya Gupta 8c39cc3b65 Bug 780650 - Clean up dynamic dependencies from robocop on fennec. r=cpeterson 2012-08-14 08:55:58 -04:00
Kartikaya Gupta a70aaff212 Bug 782183 - Add some code to the robocop harness to dump all stack traces in case of hanging/deadlock. r=gbrown 2012-08-13 12:03:00 -04:00
Geoff Brown 123619eb02 Bug 764901 - Robocop: make testPasswordEncrypt more robust; r=jmaher 2012-08-10 15:59:12 -06:00
Andrew Halberstadt 7c1ba0c892 Bug 770490 - Infrastructure to run reftests on B2G, r=jgriffin 2012-08-10 14:25:20 -04:00
Justin Wood 83b35d2227 Bug 781735 - SUTAgent should not die if it can't create a file on the sdcard. r=jmaher DONTBUILD since its NPOT-on-change-Builds
--HG--
extra : rebase_source : 6f8ca4d47f273a960f06331dda0edbe692640df3
2012-08-10 01:03:55 -04:00
Chris Peterson ebea01b579 Bug 778468 - Part 10: Make all event registration go through EventDispatcher. r=blassey 2012-08-02 18:38:45 -07:00
Ryan VanderMeulen 68f96f1fc4 Merge m-c to inbound. 2012-08-09 15:13:12 -04:00
Jonathan Griffin ceadbaea38 Bug 781608 - Don't call waitForFinish with a short timeout, in case old mozprocess is still in use, a=test-only, DONTBUILD because NPOTB 2012-08-09 12:04:28 -07:00
David Clarke b21f658491 Bug 780031 - Mochitest on b2g reliability improvements, r=jgriffin, DONTBUILD because NPOTB 2012-08-08 17:29:26 -07:00
Geoff Brown a6e330ccc0 Bug 779250: Make Robocop tests run faster; r=jmaher 2012-08-08 08:25:27 -06:00
Geoff Brown bdb85c6387 Bug 727152 - Robocop: improve shutdown of mAsserter; r=jmaher 2012-08-09 07:06:19 -06:00
Mark Cote 3adf335823 Bug 777331 Clarified some comments in devicemanager. r=wlach
--HG--
extra : rebase_source : 4a448dedbf028fff07882a5f257770e5063af9d9
2012-08-02 14:45:26 -04:00
Chris Peterson ad6b36600a Bug 778468 - Part 7: Move GeckoEventListener to org.mozilla.gecko.util package. r=blassey
--HG--
extra : rebase_source : d0b2982b64126c046c5c974c7ec014992bef63b7
2012-08-02 17:13:40 -07:00
Ryan VanderMeulen 0726b1fe02 Merge m-c to inbound. 2012-08-06 20:26:58 -04:00
Tim Taubert 21457aa76f Bug 780641 - Unbreak b2g mochitests, r=jgriffin, DONTBUILD because NPOTB 2012-08-06 11:37:59 -07:00
mbalaur@mozilla.com e229e14948 Bug 778363 - dmSUT - retVal can be None;r=jhammel
--HG--
extra : rebase_source : a272bf08a0003a29cac4e4d79d89f445f6a42c79
2012-08-06 11:39:39 -07:00
Mike Hommey 70d7c821af Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
Ed Morley 81fe0db761 Merge mozilla-central and fx-team 2012-08-03 15:52:55 +01:00
Tim Taubert 35294c0950 Bug 728294 - Part 1 - Remove old debug log parser; r=ted 2012-08-03 12:36:59 +02:00
Ryan VanderMeulen f159f08b5f Merge m-c to inbound. 2012-08-02 17:17:28 -04:00
Jonathan Griffin eceb527930 Bug 777871 - Get mochitests running OOP in B2G, r=jlebar, DONTBUILD because NPOTB 2012-08-02 13:30:25 -07:00
Mihnea Dobrescu-Balaur 91aac3aa4e Bug 778329 Fix and improve DeviceManagerSUT.unpackFile(). r=mcote
--HG--
extra : rebase_source : 7354a74a68538da45e515476e3fe49f50a50b562
2012-08-01 11:50:05 -04:00
William Lachance 21725a020f Bug 779871 - Default behaviour of watcher should be not to do connectivity ping at all;r=jmaher 2012-08-02 14:27:23 -04:00
Mark Cote d74638cf35 Bug 777331 DeviceManagerSUT support for info uptimemillis. r=wlach 2012-08-02 14:21:00 -04:00
Matt Brubeck 70e7a18751 Back out c0a09f9d5215 (bug 778230) because of Android build failures 2012-08-01 11:51:27 -07:00
Nathan Froyd 6a9c0f8ab7 Bug 778230 - remove wildcard calls from robocop's Makefile.in; r=glandium,f=mfinkle 2012-07-27 14:45:29 -04:00
Mark Cote 216e84af02 Bug 778159 Remove SUTAgent network-verification ping. r=wlach 2012-07-25 11:21:51 -04:00
Geoff Brown 51b53b9acf Bug 778785: Handle onLowMemory in sutAgentAndroid; r=jmaher 2012-07-31 08:07:02 -06:00
Geoff Brown dd2820f364 Bug 778784: Add logging to sutAgent to track its lifetime; r=jmaher 2012-07-30 14:45:07 -06:00
William Lachance 219b52b7e3 Bug 777884 - Fix code in watcher to reboot if maximum number of failed ping attempts exceeded;r=jmaher 2012-07-27 15:01:43 -04:00
William Lachance b09518e61b Bug 777891 - Add internet permission to watcher, so it can successfully use "ping";r=jmaher 2012-07-27 15:01:25 -04:00
William Lachance cb72bc22ba Bug 777836 - Watcher should log more information on its current state;r=jmaher 2012-07-27 14:56:44 -04:00
William Lachance af6b8d57ac Bug 776078 - Log all incoming commands and where they're coming from. r=wlach 2012-07-26 14:37:38 -04:00
William Lachance e5f44c33c1 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 aa19ca64db 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 8ffc490385 Bug 776541 - keep socket open after devicemanagerSUT push command; r=wlach 2012-07-23 19:56:53 -06:00
Joel Maher 300e555b23 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 f7b94a0899 Bug 775708 - A better mechanism of detecting root on device, r=jmaher 2012-07-20 15:02:51 -07:00
Ryan VanderMeulen 722c5be197 Merge m-c to inbound. 2012-07-19 21:08:31 -04:00
Mihnea Balaur d8d14d6204 Bug 753605 - Add emulator classes to build/mobile, r=jmaher, DONTBUILD because NPOTB 2012-07-19 16:14:44 -07:00
Joel Maher 34a683916e 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 5f053cd113 Bug 774797 - Robocop: upgrade to robotium-3.3.jar; r=jmaher 2012-07-18 14:25:20 +01:00
Mihnea Balaur 34a450a387 Bug 773826 - Move mkDirs implementation into base class, r=wlach 2012-07-17 10:35:41 -07:00
Joel Maher 5f826fa590 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 a531b1a327 Bug 775102 - Update FennecTalosAssert so that assertion failures make the tests orange. r=gbrown 2012-07-19 14:18:36 -04:00
Geoff Brown 794d5f6f45 Bug 774322 - use correct process name in RProcess; r=jmaher 2012-07-17 08:58:47 -06:00
William Lachance 8a703c464b 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 fc8aeb60e3 Bug 772595 - Better escape commands sent to devicemanager shell;r=jmaher 2012-07-12 12:12:59 -04:00
Ed Morley aa41501b44 Merge mozilla-central to mozilla-inbound 2012-07-12 16:29:25 +01:00
Andrew Halberstadt 2199d910a6 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 6d1fc8c035 Bug 763497 - Always run standard commands through "su" with SUTAgent r=jmaher 2012-07-11 18:35:41 -04:00
Jonathan Griffin bb189eab03 Bug 772687 - Add ability to specify deviceRoot when instantiating DeviceManager, r=jmaher 2012-07-11 11:49:30 -07:00
William Lachance 1067ad6676 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 404c6d88fc Backed out changeset fa4bd6ad8a13 2012-07-11 12:49:14 -04:00
William Lachance 82918e7e03 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 8590954360 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 0e04fe9e0e bug 768957 - Make SUTAgent able to get MAC address from ethernet connection. r=ctalbert 2012-06-29 14:39:15 -04:00
Geoff Brown 543ec7adc0 Bug 756704 - Robocop: avoid hangs when events missed; r=kats 2012-06-28 11:20:15 -07:00
Joel Maher 839b82158f Bug 765860 - remove the requirement from sutagent to reboot after an uninstall. r=gbrown 2012-06-22 13:24:11 -04:00
Geoff Brown 088a0e0e45 Bug 756264 - Reduce devicemanager chmod calls; r=jmaher 2012-06-19 09:14:41 -07:00
Geoff Brown 092d65d0c5 Bug 764489 - reduce sutAgent logcat messages; r=jmaher 2012-06-18 21:32:20 -07:00
Jonathan Griffin dbf267e4dd 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 56be0180bf Bug 764147 - SUT agent: reduce CPU usage while waiting for launched process. r=jmaher 2012-06-15 10:22:56 -07:00
Joel Maher a766519866 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 9ddcf15b7a Merge m-c to m-i 2012-06-06 15:13:51 +12:00
Jonathan Griffin d3e3ecc476 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 6c47c7bbfc Bug 760107 - Add support for getting rotation of device to SUTAgent 2012-05-31 10:59:06 -04:00
William Lachance fe8f195ed1 Bug 761301 - Make SUTAgent's kill command kill all app processes;r=jmaher 2012-06-05 11:18:58 -04:00
William Lachance 1d39230041 Backed out changeset 1212d4edfff6 2012-06-05 11:17:28 -04:00
William Lachance 541f22974d Bug 761301 - Make SUTAgent's kill command kill all app processes 2012-06-05 11:07:42 -04:00
Geoff Brown 0b7424e86e Bug 758405 - Robocop: fix synchronization in FennecNativeElement. r=jmaher 2012-05-26 09:33:53 -04:00
Wes Johnston 5ee0b8bb71 Bug 757646 - Throw from NSSBridge if Master password is set. r=rnewman,gbrown 2012-05-25 10:04:12 -07:00
William Lachance 7491bde43d Bug 757546 - shell() in devicemanager should return an int;r=gbrown 2012-05-23 10:26:07 -04:00
Geoff Brown 653f6e51e8 Bug 725094 - Robocop: change error handling to throw fewer exceptions; r=jmaher 2012-05-22 16:25:30 -07:00
Gervase Markham 82ff7027aa Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Geoff Brown ad4e2a3ea4 Bug 755556 - Robocop: upgrade to robotium-3.2.1.jar. r=jmaher 2012-05-19 11:26:39 -04:00
William Lachance b3bb0ca5a6 Bug 754305 - SUTAgent should always print ipv4 address. r=jmaher 2012-05-14 19:01:05 -04:00
William Lachance fba2e6c64d Bug 721936 - Watcher should have option to disable starting SUTAgent;r=ctalbert 2012-05-10 12:48:50 -04:00
William Lachance a13ac2b680 Bug 753484 - Installation/uninstallation broken with SUTAgent on ICS;r=gbrown 2012-05-10 12:43:28 -04:00
William Lachance 4441bceb95 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 fff97897df 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 63af5150b1 Bug 750507 - Modify robopan to measure jank better. r=jrmuizel 2012-05-03 14:59:10 -04:00
William Lachance 0e05637b77 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 86a2c2032d 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 d7a86d053e Bug 747162 - SUT agent: increase version to 1.08; r=ctalbert 2012-04-27 12:31:06 -04:00
Geoff Brown 6bd2c4f144 Bug 747599 - SUT agent: follow symlinks in pushDir. r=jmaher 2012-04-26 19:21:38 -04:00
Geoff Brown 7f114b7501 Bug 747547 - SUT agent: set pushed file permissions to 777. r=jmaher 2012-04-26 19:21:38 -04:00
Kartikaya Gupta 53a864dc2a Bug 746215 - Report total checkerboarding instead of average checkerboarding for tcheckerboard tests. r=jmaher 2012-04-26 14:24:10 -04:00
Geoff Brown 27845ea082 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 74fa3cd9f2 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 37a3df7271 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 6e009968fd Bug 743766 - Handle IllegalArgumentException in RedirOutputThread. r=ctalbert, a=test-only 2012-04-17 19:42:08 -04:00
Armen Zambrano Gasparnian 09832a8355 Bug 735451. raise exception when DeviceManager fails to initialize. r=jmaher 2012-04-11 14:51:18 -04:00
Kartikaya Gupta ac4657b2b6 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 5aa36f4984 Bug 744094 - Shorten enum value identifiers to be less redundant. r=jmaher 2012-04-10 14:20:46 -05:00
Jonathan Griffin 64526b33ac Bug 741479 - make DeviceManagerADB useable with B2G, r=jmaher 2012-04-05 12:06:41 -07:00
Jonathan Griffin 4842a2c6c4 Bug 741994 - add ability to pass device serial number to DeviceManagerADB, r=jmaher 2012-04-05 11:58:12 -07:00
Jonathan Griffin 81da99b832 Bug 741989 - Add optional argument to specify adb path, r=jmaher 2012-04-04 10:27:59 -07:00
Geoff Brown 1e58dcd3e7 Bug 734715 - Improve devicemanagerSUT socket diagnostics. r=jmaher 2012-04-03 20:08:27 -04:00
Kartikaya Gupta b797bea26a Bug 739415 - Add ability to have raw files as test assets. r=jmaher 2012-03-27 16:16:13 -04:00
Kartikaya Gupta dcc4664d10 Bug 739415 - Add ability to log exceptions to robocop log file. r=jmaher 2012-03-27 16:16:13 -04:00
William Lachance 2dca49cd9a 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 13edde4d5e 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 ba8dd960e8 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 a38c07dede Bug 738326 - Buffer file writes to reduce test times. r=jmaher 2012-03-22 13:36:20 -04:00
Kartikaya Gupta d6140e47c3 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 39276ac49e Bug 737411 - Robocop: update reflection references; r=kats 2012-03-22 13:35:19 -04:00
Joel Maher 2d6ecaf98d 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 a2b2bd254f Bug 737416 - DeviceManager's launchApplication interface should not require an intent. r=jmaher 2012-03-20 17:25:16 -04:00
Matt Brubeck bc9065e468 Back out f626859690df (bug 736105) because of frequent robocop testAboutPage failures 2012-03-19 11:28:58 -07:00
Geoff Brown c417df15a8 Bug 736246 - follow up to fix exception in verifyRunAs; r=wlach 2012-03-19 11:09:39 -04:00
Joel Maher 80354efa51 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 b875233d85 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 8f885a177c Bug 725881 - Tests for form history and passwords providers. r=gbrown 2012-03-08 10:25:44 -08:00
Wes Johnston 7c24489789 backout a965cebe4462 32220d7085e0 3689bb4199d8 d0c82cb6eb28 b295c8825acd and 95ab5c738512 2012-03-08 12:32:01 -08:00
Wes Johnston 39eff2b4a4 Bug 725881 - Tests for form history and passwords providers. r=gbrown 2012-03-08 10:25:44 -08:00
Brian Nicholson a1ea078fb7 Bug 726018 - Include sjs files in Robotium. r=gbrown 2012-03-07 13:58:31 -08:00