Commit Graph

2660 Commits

Author SHA1 Message Date
L. David Baron
cb61e53d65 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
772bb11ef9 Bug 841935: Use sys.executable to invoke b2g update scripts. r=jgriffin 2013-02-22 23:02:26 -06:00
Benoit Girard
99958bb78f Bug 840415 - Add gmock. r=ted 2013-02-22 16:13:43 -05:00
Benoit Girard
75c4cfd49c Bug 767231 - Part 1: Add GTest. r=ted 2012-05-22 13:45:24 -07:00
Vicamo Yang
ca6202b99f Bug 843525: update marionette venv to fix missing _sysconfigdata_nd on debians. r=jgriffin 2013-02-22 13:19:26 +08: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
Jonathan Griffin
a60fdeae9f Bug 797628 - Use a 320x480 emulator by default, r=ahal 2013-02-11 12:41:32 -08:00
Gregory Szorc
64b8e14d6e Bug 771578 - Part 1: Reindent xpcshell test runner Python files; rs=ted 2013-02-20 12:45:14 -08:00
Joel Maher
e1fb26a975 Bug 843105 - allow robocop tests to be run in chunks. r=ted 2013-02-21 09:03:02 -05:00
Georg Fritzsche
2afe0c2c2a Bug 657313 - Fix mach xpcshell command to provide pluginsPath. r=ted 2013-02-19 18:13:38 +01:00
Phil Ringnalda
7c6a67258b Back out ce4f4d4d69d9 (bug 771578) for xpcshell reporting bustage
CLOSED TREE
2013-02-20 15:20:17 -08:00
Gregory Szorc
3621f7c64d Bug 771578 - Part 1: Reindent xpcshell test runner Python files; rs=ted 2013-02-20 12:45:14 -08:00
Jonathan Griffin
478edc4927 Bug 842841 - Be less agressive with clearing timeouts, r=mdas 2013-02-20 11:25:35 -08:00
Nathan Froyd
b0e419b4f3 Bug 832491 - enable --timeout support in browser-chrome mochitests; r=jmaher 2013-02-19 13:27:28 -05:00
Randell Jesup
94800fdf12 Bug 826044: enable WebRTC crashtests r=jsmith 2013-02-15 19:54:29 -05:00
David Dahl
6e4db0cf07 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
30e5ea9fb1 Backed out changeset 39d8916b698b (bug 826044) for frequent failures. 2013-02-15 21:27:17 -05:00
Randell Jesup
281c285c54 Bug 826044: enable WebRTC crashtests r=jsmith 2013-02-15 19:54:29 -05:00
Shih-Chiang Chien
34473b9c64 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
821c1a15ee Backed out changeset b069f50c139e (bug 817638) for unexpected failures on a CLOSED TREE. 2013-02-15 15:44:56 -05:00
Martijn Wargers
7d48e0b06e Bug 817638 - Enable content mochitests for B2G, r=jgriffin 2013-02-15 10:08:42 -08:00
Reuben Morais
d11b773ac5 Bug 837917 - Implement DOMCursor and DOMRequestService::fireDone(). r=sicking 2013-02-08 12:25:37 -08:00
Phil Ringnalda
e7260ac845 Back out 8db40a38aeb1 (bug 837917) for test_interfaces.html failures
CLOSED TREE
2013-02-14 21:37:37 -08:00
Reuben Morais
30cfb2906d Bug 837917 - Implement DOMCursor and DOMRequestService::fireDone(). r=sicking
--HG--
extra : rebase_source : 8ccb520402c53950d1c0149a0f5a3188fe838667
2013-02-08 12:25:37 -08:00
Gregor Wagner
34d9f3ae89 Bug 752982: Backout aa98a13a5f73 on CLOSED TREE 2013-02-14 20:09:51 -08:00
Anhad Jai Singh
d2607beb35 Bug 827493 - Make Marionette use moznetwork, r=jhammel 2013-02-14 13:42:26 -08:00
Shih-Chiang Chien
a683ba7b77 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
623e4f4253 Merge mozilla-central to mozilla-inbound 2013-02-14 11:09:15 +00:00
Ed Morley
53d135515b Merge latest green inbound changeset to mozilla-central 2013-02-14 10:44:41 +00:00
Joel Maher
bc8109a7a0 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
73d685578f Bug 840636 - Update Mochitest script. r=jgriffin 2013-02-12 16:35:55 -08:00
Ryan VanderMeulen
0b05c27c4a Merge m-c to inbound. 2013-02-12 21:25:43 -05:00
Matt Brubeck
19fe3cf8a3 Bug 828691 - Add a mach command to run mochitest Metro chrome tests [r=gps] 2013-02-12 14:51:24 -06:00
Jim Mathies
bd7623df7e Bug 771271 - Get mochitest-metro-chrome tests running in immersive mode. r=jmaher 2013-02-12 14:51:24 -06:00
Jonathan Griffin
3aeecd6bf7 Bug 839675 - Prevent out-of-sync problems, r=mdas 2013-02-12 10:10:03 -08:00
Malini Das
fe76bd2104 Bug 838822 - update marionette client version number, r=jgriffin 2013-02-11 15:02:36 -05:00
Bobby Holley
cc8e436587 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
d17d4ea78c Bug 839340 - mach reftest <dir> doesn't work on Windows [r=gps] 2013-02-13 15:35:45 -08:00
Matt Brubeck
f271ba7f6d Bug 839340 - mach mochitest <dir> doesn't work on Windows [r=gps] 2013-02-13 15:35:44 -08:00
Jonathan Griffin
0093a88140 Bug 839675 - Remove extra logging, r=mdas 2013-02-13 12:37:49 -08:00
Jeff Hammel
5384dc3323 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
829afba4c6 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
a68fce94de Bug 799709 - Create a 10MB sdcard by default, r=jgriffin 2013-02-04 17:25:20 -08:00
Jeff Hammel
0d2f654b09 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
e55ee0732d Bug 836375 - Add press() and release() tap gestures on elements, r=mdas 2013-02-06 11:58:14 -08:00
Yiming Yang
c7706c38fa Bug 836952 - accept coordinates for single_tap/double_tap, r=mdas 2013-02-01 13:29:10 -08:00
Geoff Brown
747a211891 Bug 838604 - Add mozcrash to tests.zip; r=jgriffin 2013-02-06 10:13:22 -07:00
Martijn Wargers
285bc775dc Bug 830523 - Add larger set of DOM tests to B2G runs, r=jgriffin 2013-02-06 09:43:32 -08:00
Ryan VanderMeulen
13b868690c Merge m-c to inbound. 2013-02-06 08:20:00 -05:00
Gregory Szorc
6c9c254440 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