Commit Graph

2171 Commits

Author SHA1 Message Date
Ryan VanderMeulen
3747aa2326 Merge the last PGO-green inbound changeset to m-c. 2012-10-09 21:10:12 -04:00
David Clarke
11417705ee Bug 797513 - Add geolocation class to Marionette emulator, r=jgriffin, DONTBUILD(NPOTB) 2012-10-09 15:50:09 -07:00
Ted Mielczarek
50d314a70a bug 787176 - Add a Python wrapper script for running C++ unit tests. r=jmaher,waldo
--HG--
extra : rebase_source : 2282494578a7dd792555633df2526835d39c5ac4
2012-08-30 15:20:38 -04:00
Ed Morley
9c6425342d Bug 793855 - runxpcshelltests.py should catch shutil.rmtree(dirname) exceptions and output a TBPL-compatible error; r=gps 2012-10-07 21:21:52 +01:00
Ed Morley
cd0df9b353 Bug 793855 - runxpcshelltests.py should check the test process has exited and if not, output a TBPL-compatible error; r=gps,jmaher 2012-10-07 21:21:30 +01:00
Ms2ger
3ed6579510 Bug 798806 - Disable permaorange test_bug511075.html on Android. 2012-10-06 20:37:25 +02:00
Wes Kocher
4a135e4649 No bug - Update Jetpack tests on mozilla-central to get current code before the Aurora merge. 2012-10-05 23:48:39 -07:00
Brian Nicholson
ea3698b8de Bug 769145 - Part 6: Update test cases for layout changes. r=mfinkle 2012-10-05 17:27:12 -07:00
Albert Crespell
6278d6dd5a Bug 746069: Part 4: Tests for NetworkStats. r=philikon r=marshall 2012-10-04 18:45:56 +02:00
Simon Montagu
25e8f55bc0 Make SimpleTest.is* functions less verbose on pass. Bug 797827, r=jmaher 2012-10-04 08:57:50 -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
Justin Lebar
851ff7842d Bug 789392 - Allow mozapp frames to window.close() themselves. r=bz 2012-10-04 00:44:50 -04:00
Matthew Noorenberghe
c704d186dc Disable test_notifications_popup.html from bug 784028 on android since it's lacking PopupNotifications 2012-10-03 20:54:37 -07:00
Ryan VanderMeulen
b3a7522e9a Backout 99caa1f41fe1 (bug 797515) and a04b83c53297 (bug 789392) for M2 orange. 2012-10-03 21:59:41 -04:00
Justin Lebar
30b2ea29e8 Bug 789392 - Allow mozapp frames to window.close() themselves. r=bz 2012-10-03 20:45:40 -04:00
Ryan VanderMeulen
325089208a Merge m-c to inbound. 2012-10-03 18:19:17 -04:00
David Chan
7991baddb3 Bug 797177 - Unbreak b2g mochitests, r=ahal 2012-10-02 15:43:19 -07:00
Marshall Culpepper
f526c8c9e0 Bug 797154: A new virtualenv frontend for B2G mochitests. r=jgriffin 2012-10-03 12:50:07 -05:00
Jeff Hammel
ca4ac26851 Bug 797144 - mirror mozbase -> m-c for bug 796863 @ db7f115a9e;r=wlach 2012-10-03 09:13:21 -07:00
Patrick Wang
253d71a38a Bug 777384 - Test case r=jlebar
--HG--
extra : rebase_source : 777580f0a22bfb3d9d447097b0f4a379f2b7416b
2012-09-27 01:47:57 +08:00
Joel Maher
d37007e0cd Bug 797112 - we have a call to dm.checkCmd and that api doesn't exist anymore. r=wlach 2012-10-03 11:07:31 -04:00
Masatoshi Kimura
adbc1a4a51 Bug 795544 - Test updates. r=bz
--HG--
rename : dom/encoding/test/test-big5.js => dom/encoding/test/unit/test_big5.js
rename : dom/encoding/test/test-euc-jp.js => dom/encoding/test/unit/test_euc-jp.js
rename : dom/encoding/test/test-euc-kr.js => dom/encoding/test/unit/test_euc-kr.js
rename : dom/encoding/test/test-gbk.js => dom/encoding/test/unit/test_gbk.js
rename : dom/encoding/test/test-hz-gb-2312.js => dom/encoding/test/unit/test_hz-gb-2312.js
rename : dom/encoding/test/test-iso-2022-jp.js => dom/encoding/test/unit/test_iso-2022-jp.js
rename : dom/encoding/test/test-iso-2022-kr.js => dom/encoding/test/unit/test_iso-2022-kr.js
rename : dom/encoding/test/test-shift_jis.js => dom/encoding/test/unit/test_shift_jis.js
rename : dom/encoding/test/tests.js => dom/encoding/test/unit/test_singlebytes.js
2012-10-01 21:49:12 +09:00
Justin Lebar
0763b41739 Back out bbf94917f0ec (bug 789392) on strong suspicion of causing assertions in debug mochitest-2 on a CLOSED TREE.
The assertion encountered is:

Assertion failure: !gAppContentParents || !gAppContentParents->Get(mAppManifestURL), at ../../../dom/ipc/ContentParent.cpp:774
TEST-UNEXPECTED-FAIL | /tests/dom/browser-element/mochitest/test_browserElement_oop_CloseFromOpener.html | Exited with code 11 during test run
PROCESS-CRASH | /tests/dom/browser-element/mochitest/test_browserElement_oop_CloseFromOpener.html | application crashed (minidump found)
Thread 0 (crashed)
2012-10-02 18:20:20 -04:00
David Rajchenbach-Teller
5eca5b886d Bug 783987 - Test suite without hostile promises. r=Mossop 2012-10-02 16:38:50 -04:00
Ryan VanderMeulen
690eed88f1 Merge m-c to inbound. 2012-10-02 16:38:45 -04:00
Justin Lebar
774351fff4 Bug 789392 - Allow mozapp frames to window.close() themselves. r=bz 2012-10-02 13:55:52 -04:00
Jonathan Griffin
cff81b7364 Bug 796019 - Make Marionette smarter about registering frame scripts, r=mdas, DONTBUILD(NPOTB) 2012-10-02 10:37:47 -07:00
Gervase Markham
0958145486 Bug 759095 - remove stray references to tri-license. 2012-10-02 12:52:06 +01:00
Vladimir Vukicevic
2864c47b46 b=683143,792462; Some tests call SimpleTest.finish() twice/guard against that; r=ehsan 2012-10-01 17:51:10 -04:00
Jeff Hammel
63c7228bff Bug 795943 - Mirror mozbase -> m-c for week of Oct 1 @ 22aa0aee78;r=wlach
--HG--
extra : rebase_source : 389b6c3a2923c40167698b477e4d57b230b1a063
2012-10-01 14:00:55 -07:00
Justin Lebar
0a3747e9a8 Bug 794280 - Improve comment for SpecialPowers.pushPrefEnv(). r=ted DONTBUILD 2012-10-02 12:04:24 -04:00
Andrea Marchesini
418f096481 Bug 793310 - Support sms:, tel: and mailto: URI schemes, r=philipp 2012-10-01 11:28:01 -07:00
Andrew Halberstadt
c70983b039 Bug 685903 - Remove firebug automation from testing/firebug. r=jhammel 2012-09-26 11:07:07 -04:00
Phil Ringnalda
8aa24b1c1a Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-09-28 22:06:29 -07:00
Jonathan Griffin
ade20c6702 Bug 775116 - Fix frame switching to work with id, name, and remote frames, r=mdas, DONTBUILD(NPOTB) 2012-09-28 16:16:22 -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
Bob Clary
9f3fa1ad30 Bug 789086 - use unique temporary filename for robotium.config file in mochitest/runtestsremote.py, r=jmaher. 2012-09-28 12:25:46 -07:00
Ryan VanderMeulen
e847944bfa Merge m-c to inbound. 2012-09-27 23:05:53 -04:00
Jonathan Griffin
8090c8ac01 Bug 789976 - Add --gecko-path argument to Marionette, r=ahal, DONTBUILD (NPOTB) 2012-09-27 13:47:17 -07:00
Jonathan Griffin
a64652743e Bug 794692 - Change Marionette's package name to marionette_client, r=mdas, DONTBUILD (NPOTB) 2012-09-27 10:42:37 -07:00
Isaac Aggrey
b33410feb2 Bug 789847 - Remove PR_CALLBACK usage from tree 2012-09-25 11:18:38 -05:00
Josh Matthews
1ce2adcc13 Bug 770778 - Make TCPSocket e10s-friendly. r=bent 2012-09-24 14:53:49 -04:00
Malini Das
9651b3cf53 Bug 792084 - add shellCheckOutput command to devicemanager, r=wlach 2012-09-26 12:32:02 -04:00
Mounir Lamouri
45c2bff831 Bug 773373 part 6 - Disable tests on Android. r=sicking 2012-09-25 23:33:02 +01:00
Ed Morley
e184a68b82 Bug 793739 - mirror mozbase to m-c for week of Sept 24, 2012 @ b12b008846;r=jhammel 2012-09-25 09:35:14 -07:00
Jeff Hammel
ff5c764046 Bug 793746 - point to new talos.zip for dzclient;r=jmaher 2012-09-25 09:10:16 -07:00
Andrea Marchesini
b13172b91d Bug 779982 - Change behaviour of getSelf and add amInstalled function. r=sicking 2012-09-25 11:04:24 -04:00
Ted Mielczarek
66f76ddadc bug 733501 - Fix crashreporter xpcshell tests to actually run. r=jmaher 2012-09-13 15:43:28 -04:00
Wes Kocher
598e82ae4e Update Jetpack tests used in Firefox to pick up the fix for bug 793052. 2012-09-24 09:57:34 -07:00
Bobby Holley
7f912ddc79 Bug 792036 - Fix up tests to avoid relying on the existence of window.Components (MANUAL). r=mccr8
These are the manual fixes that the ensuing auto-generation can't deal with. Some of them
just fix up formatting (such as Components.\nFoo, so that subsequent auto-generation can
work better).
2012-09-24 14:46:28 +02:00