gecko-dev/testing/mochitest/tests
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
..
browser Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
MochiKit-1.4.2 Bug 810705 - Reenable test_MochiKit-DOM-Safari.html on Linux now that bug 799295 should have fixed the crashes 2012-12-30 09:34:38 -08:00
SimpleTest Bug 404077: Add mochitest support (currently semi-disabled) for making tests fail when an unexpected number of assertions fire. r=ted 2013-02-24 23:42:38 -08:00
file_SpecialPowersFrame1.html Bug 367393 - Add a packed MochiKit that contains only SimpleTest dependencies- update tests. r=jmaher, a=test-only 2011-08-12 12:21:37 -04:00
index.html Bug 693959 - convert quit.js to specialpowers. r=ted 2011-10-14 07:52:02 -04:00
Makefile.in Bug 816847 - Use AppService instead of Webapps.jsm for manifest lookup. r=jgriffin 2012-11-30 10:52:40 -08:00
test_bug362788.xhtml Bug 367393 - Add a packed MochiKit that contains only SimpleTest dependencies- update tests. r=jmaher, a=test-only 2011-08-12 12:21:37 -04:00
test_bug366645.xhtml Bug 367393 - Add a packed MochiKit that contains only SimpleTest dependencies- update tests. r=jmaher, a=test-only 2011-08-12 12:21:37 -04:00
test_bug816847.html Bug 816847 - Use AppService instead of Webapps.jsm for manifest lookup. r=jgriffin 2012-11-30 10:52:40 -08:00
test_sanity.html Bug 700199 EventUtils.js should use synthesized events for sendKey(), sendChar() and sendString() rather than untrusted events r=smaug+ehsan+dolske+enndeakin 2011-12-16 22:38:45 +09:00
test_sanityEventUtils.html Bug 705057 part.1 Ensure a set of composition events is fired on same content r=smaug 2012-09-26 14:47:45 +09:00
test_sanityException2.html Bug 367393 - Add a packed MochiKit that contains only SimpleTest dependencies- update tests. r=jmaher, a=test-only 2011-08-12 12:21:37 -04:00
test_sanityException.html Bug 367393 - Add a packed MochiKit that contains only SimpleTest dependencies- update tests. r=jmaher, a=test-only 2011-08-12 12:21:37 -04:00
test_sanitySimpletest.html Bug 723207: fix SimpleTest.info when called as just info(), r=jmaher 2012-02-01 10:11:53 -08:00
test_sanityWindowSnapshot.html Bug 723207: fix SimpleTest.info when called as just info(), r=jmaher 2012-02-01 10:11:53 -08:00
test_SpecialPowersExtension2.html Bug 677626 - Add a profiling test suite for mochitest [tests]. r=jmaher 2011-09-19 14:52:06 -04:00
test_SpecialPowersExtension.html Bug 792036 - Fix up tests to avoid relying on the existence of window.Components (MANUAL). r=mccr8 2012-09-24 14:46:28 +02:00