Commit Graph

46 Commits

Author SHA1 Message Date
Andrew Halberstadt
3117d69ff2 Bug 903034 - Fix b2g desktop mochitest regression, r=jgriffin 2013-08-14 13:57:43 -04:00
Andrew Halberstadt
7ddfcce735 Bug 865349 - Refactor B2G mochitests off automation.py and onto mozbase, r=jgriffin,ted 2013-07-26 14:40:04 -04:00
Geoff Brown
90b850ae97 Bug 882932 - (2) Fix httpdPath setting for remote mochitest; r=jmaher 2013-06-28 19:20:08 -07:00
Martijn Wargers
a9769a6dcf Bug 861689 - Fix focus issues in various B2G mochitests. r=jmaher 2013-05-03 18:29:55 +02:00
Ryan VanderMeulen
ec038bd16e Backed out changeset f4da799815da (bug 861689) for mochitest asserts.
CLOSED TREE
2013-04-30 11:12:17 -04:00
Martijn Wargers
927d1111f4 Bug 861689 - Unable to restore focus, expect failures and timeouts after certain tests in the b2g mochitest run. r=jmaher 2013-04-29 23:14:32 +02:00
Jonathan Griffin
6e813d9855 Bug 860108 - Clone starting repo for b2g desktop mochitests, r=ahal 2013-04-09 17:13:32 -07:00
Martijn Wargers
11a9a700bf Bug 850302 - B2G mochitests time out on tests using window.open. r=jlebar 2013-03-22 08:41:07 -07:00
Jonathan Griffin
a5a6fec8ff Bug 860104 - Cast prefs after interpolation, r=ahal 2013-04-09 17:31:42 -07:00
Martijn Wargers
09bd3ac8a6 Bug 788866 - [B2G] mochitests fail to focus test window. r=smaug, f=ahal 2013-04-05 08:50:49 -04:00
Andrew Halberstadt
9ecd208e40 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
Andrew Halberstadt
f7f283237c 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
Andrew Halberstadt
f17e6f7de8 Bug 853558 - Don't use copied over devicemanager files in b2g unittests, r=jgriffin 2013-03-22 16:48:04 -04:00
William Lachance
bbc8839eb5 Bug 842668 - Should always use dd instead of cp in b2g reftest/mochitest;r=ahal 2013-02-21 15:44:24 -05:00
David Clarke
c0557e94bd Bug 799709 - Create a 10MB sdcard by default, r=jgriffin 2013-02-04 17:25:20 -08:00
Jonathan Griffin
583aa2da18 Bug 826135 - Throw if --utility-path points to ARM version of xpcshell, r=ahal 2013-01-03 17:37:26 -08:00
Jonathan Griffin
00bdbc4e74 Bug 820463 - Remove loadearly code from test runners, r=ahal 2013-01-17 12:18:37 -08:00
Jonathan Griffin
8818cbdf98 Bug 826111 - Support mochitests on b2g desktop build, r=ahal 2013-01-04 10:41:34 -08:00
Ed Morley
62c60a922b 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
49f9c17185 Bug 826111 - Support mochitests on b2g desktop build, r=ahal 2013-01-04 10:41:34 -08:00
Andrew Halberstadt
0c1d44517f Bug 812012 - (Part 1) Add busybox arg to b2g reftest/mochitest harnesses, r=jgriffin, DONTBUILD a=NPOTB,test-only 2013-01-07 10:29:43 -05:00
Geoff Brown
a881cc33fe Bug 810347 - Provide option for setting remote test root; r=jmaher 2012-12-20 09:11:11 -07:00
David Clarke
5491e62b96 Bug 814140 - Run b2g mochitests from an app hosted on the mochitest server, r=ahal 2012-12-05 14:28:00 -05:00
Jonathan Griffin
8a78ad1330 Bug 815807 - Part 3: Load marionette early in the B2G startup process if relevant pref is set, otherwise load it late, r=ahal 2012-11-29 19:46:39 -08:00
Jonathan Griffin
88f130fcb5 Backout 9252522aab90, r=bustage 2012-11-30 12:54:00 -08:00
Jonathan Griffin
fa9a57fe33 Bug 815807 - Part 3: Load marionette early in the B2G startup process if relevant pref is set, otherwise load it late, r=ahal 2012-11-29 19:46:39 -08:00
Ed Morley
4a75cec196 Bug 808410 - Ensure retVal is set even when mochitest.cleanup did not generate an exception; r=ahal 2012-11-20 15:24:28 +00:00
Andrew Halberstadt
443a146159 Bug 812514 - Make b2g emulator unittests save logcat for easier debugging, r=jgriffin 2012-11-19 15:52:40 -05:00
Jonathan Griffin
4e468d9be2 Bug 812395 - Make emulator fail gracefully during errors for install_gecko, r=ahal 2012-11-19 09:32:57 -08:00
William Lachance
5a3130a3ae Bug 811388 - Update mozdevice to 0.15, update consumers;r=ahal 2012-11-14 09:49:04 -08:00
Andrew Halberstadt
336d764b8c Bug 810041 - Add SPPrefService message listener to B2G mochitests, r=jgriffin 2012-11-09 11:01:11 -08:00
Andrew Halberstadt
638ef460b8 Bug 798580 - Run mochitests from within test-container app's oop iframe, r=jgriffin 2012-10-31 09:37:22 -04:00
Ed Morley
157e0ef0a7 Bug 808417 - Make runTests() exception reporting consistent across test harnesses; r=jmaher 2012-11-05 13:03:55 +00:00
Jonathan Griffin
c9a2af4575 Bug 805430 - Install mochitest extensions in B2G as app bundles, r=ahal, DONTBUILD(NPOTB) 2012-10-25 09:53:19 -07:00
William Lachance
54d781abf7 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
7991baddb3 Bug 797177 - Unbreak b2g mochitests, r=ahal 2012-10-02 15:43:19 -07:00
Jonathan Griffin
5cad8381bb Bug 795100 - Add a --gecko-path argument to the B2G mochitest testrunner, r=ahal, DONTBUILD(NPOTB) 2012-09-28 10:04:03 -07:00
David Clarke
ac0fc975da Bug 790546 - Add sdcard option to emulator, r=jgriffin, DONTBUILD because NPOTB 2012-09-17 18:44:07 -07:00
David Clarke
bdb8e11ba9 Bug 780031 - Mochitest on b2g reliability improvements, r=jgriffin, DONTBUILD because NPOTB 2012-08-08 17:29:26 -07:00
Jonathan Griffin
990564f927 Bug 777871 - Get mochitests running OOP in B2G, r=jlebar, DONTBUILD because NPOTB 2012-08-02 13:30:25 -07:00
Jonathan Griffin
a939294b01 Bug 774951 - Allow extensions to be excluded when running mochitest, r=jmaher 2012-07-19 10:31:51 -07:00
Jonathan Griffin
93fb76dda7 Bug 772687 - Add ability to specify deviceRoot when instantiating DeviceManager, r=jmaher 2012-07-11 11:49:30 -07:00
Andrew Halberstadt
03af05e76c Bug 765015 - Don't stop server if it doesn't exist, r=jgriffin, DONTBUILD because NPOTB 2012-06-15 14:13:04 -07:00
Jonathan Griffin
7b4f18f4a4 Bug 759887 - Add no-window support to runtestsb2g.py, a=test-only, DONTBUILD because NPOTB 2012-06-08 14:09:14 -07: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
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