Commit Graph

98 Commits

Author SHA1 Message Date
Ed Morley
b9ef689cf1 Bug 917817 - Make several more python test harness failure modes TBPL parsable; r=jmaher 2013-09-19 13:20:17 +01:00
Andrew Halberstadt
79a8acdc97 Bug 907552 - Mochitests should use __file__ for determining location, r=gps 2013-08-26 17:17:51 -04:00
Andrew Halberstadt
6d178c0934 Bug 903034 - Fix b2g desktop mochitest regression, r=jgriffin 2013-08-14 13:57:43 -04:00
Andrew Halberstadt
57c2addbea Bug 865349 - Refactor B2G mochitests off automation.py and onto mozbase, r=jgriffin,ted 2013-07-26 14:40:04 -04:00
Geoff Brown
ea9fc552d6 Bug 882932 - (2) Fix httpdPath setting for remote mochitest; r=jmaher 2013-06-28 19:20:08 -07:00
Martijn Wargers
880f9c0d72 Bug 861689 - Fix focus issues in various B2G mochitests. r=jmaher 2013-05-03 18:29:55 +02:00
Ryan VanderMeulen
4955b0ba01 Backed out changeset f4da799815da (bug 861689) for mochitest asserts.
CLOSED TREE
2013-04-30 11:12:17 -04:00
Martijn Wargers
74b3de4994 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
84e3222945 Bug 860108 - Clone starting repo for b2g desktop mochitests, r=ahal 2013-04-09 17:13:32 -07:00
Martijn Wargers
20048fa5da Bug 850302 - B2G mochitests time out on tests using window.open. r=jlebar 2013-03-22 08:41:07 -07:00
Jonathan Griffin
7faf87de3c Bug 860104 - Cast prefs after interpolation, r=ahal 2013-04-09 17:31:42 -07:00
Martijn Wargers
2cf41f4124 Bug 788866 - [B2G] mochitests fail to focus test window. r=smaug, f=ahal 2013-04-05 08:50:49 -04:00
Andrew Halberstadt
c1606a17d3 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
1f22159fb4 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
91c1406294 Bug 853558 - Don't use copied over devicemanager files in b2g unittests, r=jgriffin 2013-03-22 16:48:04 -04:00
William Lachance
8fdfbcdc00 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
f080361597 Bug 799709 - Create a 10MB sdcard by default, r=jgriffin 2013-02-04 17:25:20 -08:00
Jonathan Griffin
3866e73ed3 Bug 826135 - Throw if --utility-path points to ARM version of xpcshell, r=ahal 2013-01-03 17:37:26 -08:00
Jonathan Griffin
024fbaafec Bug 820463 - Remove loadearly code from test runners, r=ahal 2013-01-17 12:18:37 -08:00
Jonathan Griffin
31e699149e Bug 826111 - Support mochitests on b2g desktop build, r=ahal 2013-01-04 10:41:34 -08:00
Ed Morley
1930185dc5 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
e67e23f0da Bug 826111 - Support mochitests on b2g desktop build, r=ahal 2013-01-04 10:41:34 -08:00
Andrew Halberstadt
2fea72d741 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
b4ec1eb3bb Bug 810347 - Provide option for setting remote test root; r=jmaher 2012-12-20 09:11:11 -07:00
David Clarke
b573710cc2 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
c6b638e7d3 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
d86dfe705a Backout 9252522aab90, r=bustage 2012-11-30 12:54:00 -08:00
Jonathan Griffin
cf60adf454 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
cf0f293775 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
dc5bad7dee Bug 812514 - Make b2g emulator unittests save logcat for easier debugging, r=jgriffin 2012-11-19 15:52:40 -05:00
Jonathan Griffin
ad4712fc50 Bug 812395 - Make emulator fail gracefully during errors for install_gecko, r=ahal 2012-11-19 09:32:57 -08:00
William Lachance
cb09093115 Bug 811388 - Update mozdevice to 0.15, update consumers;r=ahal 2012-11-14 09:49:04 -08:00
Andrew Halberstadt
47bb2454d5 Bug 810041 - Add SPPrefService message listener to B2G mochitests, r=jgriffin 2012-11-09 11:01:11 -08:00
Andrew Halberstadt
29bda5d8aa Bug 798580 - Run mochitests from within test-container app's oop iframe, r=jgriffin 2012-10-31 09:37:22 -04:00
Ed Morley
d2aa28c276 Bug 808417 - Make runTests() exception reporting consistent across test harnesses; r=jmaher 2012-11-05 13:03:55 +00:00
Jonathan Griffin
5b64b699c6 Bug 805430 - Install mochitest extensions in B2G as app bundles, r=ahal, DONTBUILD(NPOTB) 2012-10-25 09:53:19 -07:00
William Lachance
bd5cbf8b30 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
a1439a6210 Bug 797177 - Unbreak b2g mochitests, r=ahal 2012-10-02 15:43:19 -07:00
Jonathan Griffin
8246b2fa97 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
ec3f31cc75 Bug 790546 - Add sdcard option to emulator, r=jgriffin, DONTBUILD because NPOTB 2012-09-17 18:44:07 -07:00
David Clarke
604b2f4633 Bug 780031 - Mochitest on b2g reliability improvements, r=jgriffin, DONTBUILD because NPOTB 2012-08-08 17:29:26 -07:00
Jonathan Griffin
23573a81f3 Bug 777871 - Get mochitests running OOP in B2G, r=jlebar, DONTBUILD because NPOTB 2012-08-02 13:30:25 -07:00
Jonathan Griffin
8748ae9871 Bug 774951 - Allow extensions to be excluded when running mochitest, r=jmaher 2012-07-19 10:31:51 -07:00
Jonathan Griffin
1da0b7095f Bug 772687 - Add ability to specify deviceRoot when instantiating DeviceManager, r=jmaher 2012-07-11 11:49:30 -07:00
Andrew Halberstadt
87ae666576 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
7556d98fe8 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
387491a86e 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
d074fd7a0d Bug 749011 - Add support for running mochitest-plain on B2G, r=jmaher 2012-04-27 11:44:59 -07:00