Commit Graph

2909 Commits

Author SHA1 Message Date
L. David Baron
d4d58ab893 Bug 404077: Add mochitest support (currently semi-disabled) for making tests fail when an unexpected number of assertions fire. r=ted
This adds support for assertion checking in all mochitest suites except
for mochitest-browser-chrome.  The checking works much like it does in
reftest, except for the mechanism for annotating expected assertions,
SimpleTest.expectAssertions() (see its in-code documentation).

The support is initially disabled in that:
 (1) It doesn't cause the tests to report failure (and thus turn the
     tree orange).
 (2) It prints TEST-DETCEPXENU-FAIL/PASS instead of
     TEST-UNEXPECTED-FAIL/PASS (so that it doesn't show up in log
     highlighting).

The assertion checking only works within the test runner (which runs
multiple tests); it does not function when running only a single test.
2013-02-24 23:42:38 -08:00
Marshall Culpepper
97c05662b3 Bug 841935: Use sys.executable to invoke b2g update scripts. r=jgriffin 2013-02-22 23:02:26 -06:00
Benoit Girard
0c495849fa Bug 840415 - Add gmock. r=ted 2013-02-22 16:13:43 -05:00
Benoit Girard
f49834c59d Bug 767231 - Part 1: Add GTest. r=ted 2012-05-22 13:45:24 -07:00
Vicamo Yang
07e5d7d0b8 Bug 843525: update marionette venv to fix missing _sysconfigdata_nd on debians. r=jgriffin 2013-02-22 13:19:26 +08:00
William Lachance
1e2e91e1b8 Bug 842668 - Should always use dd instead of cp in b2g reftest/mochitest;r=ahal 2013-02-21 15:44:24 -05:00
Jonathan Griffin
691bd2d328 Bug 797628 - Use a 320x480 emulator by default, r=ahal 2013-02-11 12:41:32 -08:00
Gregory Szorc
2cc094b7e4 Bug 771578 - Part 1: Reindent xpcshell test runner Python files; rs=ted 2013-02-20 12:45:14 -08:00
Joel Maher
062c28f247 Bug 843105 - allow robocop tests to be run in chunks. r=ted 2013-02-21 09:03:02 -05:00
Georg Fritzsche
211b5de07a Bug 657313 - Fix mach xpcshell command to provide pluginsPath. r=ted 2013-02-19 18:13:38 +01:00
Phil Ringnalda
66b90e22d5 Back out ce4f4d4d69d9 (bug 771578) for xpcshell reporting bustage
CLOSED TREE
2013-02-20 15:20:17 -08:00
Gregory Szorc
3a7fc22a9f Bug 771578 - Part 1: Reindent xpcshell test runner Python files; rs=ted 2013-02-20 12:45:14 -08:00
Jonathan Griffin
ccfb9cfe3a Bug 842841 - Be less agressive with clearing timeouts, r=mdas 2013-02-20 11:25:35 -08:00
Nathan Froyd
d42d9f8a62 Bug 832491 - enable --timeout support in browser-chrome mochitests; r=jmaher 2013-02-19 13:27:28 -05:00
Randell Jesup
a168b4cf86 Bug 826044: enable WebRTC crashtests r=jsmith 2013-02-15 19:54:29 -05:00
David Dahl
4b987799be Bug 440046 - expose secure PRNG in the DOM (window.crypto.getRandomValues) r=cviecco r=bsmith 2013-02-15 15:38:15 -08:00
Ryan VanderMeulen
3d202fcac5 Backed out changeset 39d8916b698b (bug 826044) for frequent failures. 2013-02-15 21:27:17 -05:00
Randell Jesup
3981afdc31 Bug 826044: enable WebRTC crashtests r=jsmith 2013-02-15 19:54:29 -05:00
Shih-Chiang Chien
b10f43f0d7 Bug 752982 - Part 2, provide xpcshell test cases for captive portal detection. r=thinker,dolske a=shira. 2012-10-10 11:16:32 +08:00
Ryan VanderMeulen
ef03dd9b28 Backed out changeset b069f50c139e (bug 817638) for unexpected failures on a CLOSED TREE. 2013-02-15 15:44:56 -05:00
Martijn Wargers
06fafa669f Bug 817638 - Enable content mochitests for B2G, r=jgriffin 2013-02-15 10:08:42 -08:00
Reuben Morais
e1c1f6ec07 Bug 837917 - Implement DOMCursor and DOMRequestService::fireDone(). r=sicking 2013-02-08 12:25:37 -08:00
Phil Ringnalda
bd5839db74 Back out 8db40a38aeb1 (bug 837917) for test_interfaces.html failures
CLOSED TREE
2013-02-14 21:37:37 -08:00
Reuben Morais
e5e32cdece Bug 837917 - Implement DOMCursor and DOMRequestService::fireDone(). r=sicking
--HG--
extra : rebase_source : 8ccb520402c53950d1c0149a0f5a3188fe838667
2013-02-08 12:25:37 -08:00
Gregor Wagner
9ce4a5e124 Bug 752982: Backout aa98a13a5f73 on CLOSED TREE 2013-02-14 20:09:51 -08:00
Anhad Jai Singh
7aa7d9a493 Bug 827493 - Make Marionette use moznetwork, r=jhammel 2013-02-14 13:42:26 -08:00
Shih-Chiang Chien
2d7aa1784a Bug 752982 - Part 2, provide xpcshell test cases for captive portal detection. r=thinker,dolske a=shira. 2012-10-10 11:16:32 +08:00
Ed Morley
9468e105e3 Merge mozilla-central to mozilla-inbound 2013-02-14 11:09:15 +00:00
Ed Morley
601b6ce42a Merge latest green inbound changeset to mozilla-central 2013-02-14 10:44:41 +00:00
Joel Maher
2bb35cc876 Bug 841039 - add a make target for the leaktest tests we run at build time from the objdir. r=ted 2013-02-14 05:22:46 -05:00
Luqman Aden
af0e70b70a Bug 840636 - Update Mochitest script. r=jgriffin 2013-02-12 16:35:55 -08:00
Ryan VanderMeulen
362433c441 Merge m-c to inbound. 2013-02-12 21:25:43 -05:00
Matt Brubeck
006d130536 Bug 828691 - Add a mach command to run mochitest Metro chrome tests [r=gps] 2013-02-12 14:51:24 -06:00
Jim Mathies
de21b231b0 Bug 771271 - Get mochitest-metro-chrome tests running in immersive mode. r=jmaher 2013-02-12 14:51:24 -06:00
Jonathan Griffin
827647d92c Bug 839675 - Prevent out-of-sync problems, r=mdas 2013-02-12 10:10:03 -08:00
Malini Das
801d5ffc9a Bug 838822 - update marionette client version number, r=jgriffin 2013-02-11 15:02:36 -05:00
Bobby Holley
3fb3394bb8 Bug 841067 - Use sandboxPrototype rather than __proto__ for marionette sandboxes. r=jgriffin
sandboxPrototype implements fancy rebinding behavior that makes things work right.
It is the "correct" mechanism to prototype a sandbox to a DOM Window.
2013-02-14 10:40:15 +01:00
Matt Brubeck
3086738135 Bug 839340 - mach reftest <dir> doesn't work on Windows [r=gps] 2013-02-13 15:35:45 -08:00
Matt Brubeck
80f7f07a70 Bug 839340 - mach mochitest <dir> doesn't work on Windows [r=gps] 2013-02-13 15:35:44 -08:00
Jonathan Griffin
1966cf0df7 Bug 839675 - Remove extra logging, r=mdas 2013-02-13 12:37:49 -08:00
Jeff Hammel
84ebc69db8 Bug 838079 - get memtest.py on mozbase or kill it;r=ted
--HG--
extra : rebase_source : a8555798ae07e79ada2d49f1a06eecda636c4195
2013-02-13 10:20:13 -08:00
Jeff Hammel
fd62e83dc3 Bug 838074 - mirror test.py, test.ini, setup_development.py -> m-c;r=jgriffin
--HG--
extra : rebase_source : 4f597fe8d636a49ac7dce8e93f67de503bb5cd48
2013-02-12 16:57:03 -08:00
David Clarke
7afa4fc310 Bug 799709 - Create a 10MB sdcard by default, r=jgriffin 2013-02-04 17:25:20 -08:00
Jeff Hammel
22abbcb20b Bug 836079 - replace createTestingProfile.py with mozprofile or, even better, delete it;r=ted ; DONTBUILD because NPOTB 2013-02-06 16:00:10 -08:00
Yiming Yang
df46265880 Bug 836375 - Add press() and release() tap gestures on elements, r=mdas 2013-02-06 11:58:14 -08:00
Yiming Yang
66cc1af194 Bug 836952 - accept coordinates for single_tap/double_tap, r=mdas 2013-02-01 13:29:10 -08:00
Geoff Brown
2647b0f708 Bug 838604 - Add mozcrash to tests.zip; r=jgriffin 2013-02-06 10:13:22 -07:00
Martijn Wargers
b8991f86b0 Bug 830523 - Add larger set of DOM tests to B2G runs, r=jgriffin 2013-02-06 09:43:32 -08:00
Ryan VanderMeulen
3194bb62ac Merge m-c to inbound. 2013-02-06 08:20:00 -05:00
Gregory Szorc
961a3acbeb Merge mozilla-central into services-central
--HG--
rename : content/media/webaudio/AudioEventTimeline.h => content/media/AudioEventTimeline.h
2013-02-05 22:40:34 -08:00