Commit Graph

46 Commits

Author SHA1 Message Date
Andrew Halberstadt
83aa9939a5 Bug 903034 - Fix b2g desktop mochitest regression, r=jgriffin 2013-08-14 13:57:43 -04:00
Andrew Halberstadt
e6da776467 Bug 865349 - Refactor B2G mochitests off automation.py and onto mozbase, r=jgriffin,ted 2013-07-26 14:40:04 -04:00
Geoff Brown
ebbc52a9f8 Bug 882932 - (2) Fix httpdPath setting for remote mochitest; r=jmaher 2013-06-28 19:20:08 -07:00
Martijn Wargers
0cbe30ac7e Bug 861689 - Fix focus issues in various B2G mochitests. r=jmaher 2013-05-03 18:29:55 +02:00
Ryan VanderMeulen
671d344146 Backed out changeset f4da799815da (bug 861689) for mochitest asserts.
CLOSED TREE
2013-04-30 11:12:17 -04:00
Martijn Wargers
0a8138eb6a 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
d0770c3e57 Bug 860108 - Clone starting repo for b2g desktop mochitests, r=ahal 2013-04-09 17:13:32 -07:00
Martijn Wargers
643c277914 Bug 850302 - B2G mochitests time out on tests using window.open. r=jlebar 2013-03-22 08:41:07 -07:00
Jonathan Griffin
9091d24871 Bug 860104 - Cast prefs after interpolation, r=ahal 2013-04-09 17:31:42 -07:00
Martijn Wargers
b543a5836c Bug 788866 - [B2G] mochitests fail to focus test window. r=smaug, f=ahal 2013-04-05 08:50:49 -04:00
Andrew Halberstadt
81a9b1f146 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
747f8a70f6 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
8dbd5b7393 Bug 853558 - Don't use copied over devicemanager files in b2g unittests, r=jgriffin 2013-03-22 16:48:04 -04:00
William Lachance
0ba1d9d5d0 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
a68fce94de Bug 799709 - Create a 10MB sdcard by default, r=jgriffin 2013-02-04 17:25:20 -08:00
Jonathan Griffin
296c5c2ad5 Bug 826135 - Throw if --utility-path points to ARM version of xpcshell, r=ahal 2013-01-03 17:37:26 -08:00
Jonathan Griffin
3709b75b06 Bug 820463 - Remove loadearly code from test runners, r=ahal 2013-01-17 12:18:37 -08:00
Jonathan Griffin
e071c0ece1 Bug 826111 - Support mochitests on b2g desktop build, r=ahal 2013-01-04 10:41:34 -08:00
Ed Morley
06900008e9 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
d935eb89e8 Bug 826111 - Support mochitests on b2g desktop build, r=ahal 2013-01-04 10:41:34 -08:00
Andrew Halberstadt
0dc82f61d7 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
fa7435e42c Bug 810347 - Provide option for setting remote test root; r=jmaher 2012-12-20 09:11:11 -07:00
David Clarke
a3d9f016f8 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
4c8faceb12 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
2e70a34fa0 Backout 9252522aab90, r=bustage 2012-11-30 12:54:00 -08:00
Jonathan Griffin
7c732aaf6d 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
1963ebca09 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
2722ce2bbf Bug 812514 - Make b2g emulator unittests save logcat for easier debugging, r=jgriffin 2012-11-19 15:52:40 -05:00
Jonathan Griffin
ef1bcf8fe3 Bug 812395 - Make emulator fail gracefully during errors for install_gecko, r=ahal 2012-11-19 09:32:57 -08:00
William Lachance
14b993064f Bug 811388 - Update mozdevice to 0.15, update consumers;r=ahal 2012-11-14 09:49:04 -08:00
Andrew Halberstadt
f3628fb6f6 Bug 810041 - Add SPPrefService message listener to B2G mochitests, r=jgriffin 2012-11-09 11:01:11 -08:00
Andrew Halberstadt
44b1dc412e Bug 798580 - Run mochitests from within test-container app's oop iframe, r=jgriffin 2012-10-31 09:37:22 -04:00
Ed Morley
1c5718e096 Bug 808417 - Make runTests() exception reporting consistent across test harnesses; r=jmaher 2012-11-05 13:03:55 +00:00
Jonathan Griffin
26a777fc34 Bug 805430 - Install mochitest extensions in B2G as app bundles, r=ahal, DONTBUILD(NPOTB) 2012-10-25 09:53:19 -07:00
William Lachance
382c927895 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
4c08ecc761 Bug 797177 - Unbreak b2g mochitests, r=ahal 2012-10-02 15:43:19 -07:00
Jonathan Griffin
305591d389 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
ef29a0fbe3 Bug 790546 - Add sdcard option to emulator, r=jgriffin, DONTBUILD because NPOTB 2012-09-17 18:44:07 -07:00
David Clarke
18f7c8e81d Bug 780031 - Mochitest on b2g reliability improvements, r=jgriffin, DONTBUILD because NPOTB 2012-08-08 17:29:26 -07:00
Jonathan Griffin
b83856da54 Bug 777871 - Get mochitests running OOP in B2G, r=jlebar, DONTBUILD because NPOTB 2012-08-02 13:30:25 -07:00
Jonathan Griffin
55cd9bbdea Bug 774951 - Allow extensions to be excluded when running mochitest, r=jmaher 2012-07-19 10:31:51 -07:00
Jonathan Griffin
8ddc986030 Bug 772687 - Add ability to specify deviceRoot when instantiating DeviceManager, r=jmaher 2012-07-11 11:49:30 -07:00
Andrew Halberstadt
5dd9b875f0 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
2c6c417849 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
5614f8ee12 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
72bcb7dfaa 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