Commit Graph

28 Commits

Author SHA1 Message Date
Dave Townsend
f485086973 Bug 1035512: Add a new common JS testing harness based on the mochitest test runner. r=gps, ted, erikvold, jmaher 2014-09-22 11:08:06 -07:00
Bill McCloskey
fcd7b9d897 Bug 1066433 - Remove simple mochitest e10s shim (r=jimm) 2014-09-15 16:42:26 -07:00
Martijn Wargers
3ab14c481f Bug 945781 - Remove ChromePowers.js. r=jmaher 2014-07-14 23:40:49 +02:00
Mark Hammond
2563b1b92e Bug 935799 - Add mochitest-e10s-utils.js to help tests when run in an e10s environment. r=felipe,ted 2014-03-03 09:33:30 +11:00
Shu-yu Guo
7a9dd72104 Bug 939414 - Dump memory stats for browser-chrome. (r=ted) 2013-11-20 12:08:07 -08:00
Joel Maher
57e18cad43 Bug 868158 - mochitests should support manifest format. r=ted 2013-08-02 08:48:06 -04:00
Gavin Sharp
b0ad5f2d4f Bug 883634: merge harness-overlay.xul into overlay.xul, r=jmaher
--HG--
extra : transplant_source : SO%03%F2n%FD%91%1C%1E%05%0C%BE%284%EE%1E%93%91%E5%7B
2013-06-17 14:00:10 -04:00
Gavin Sharp
30fa51a97b Bug 883314 part 2: refactor mochitest chunking code to be re-used for mochitest-browser-chrome, r=jmaher
--HG--
extra : transplant_source : %0A%C3%7F%B7%CFL%AD%2C%A2Y%5D51%AF%19%C1%C8%C5%5B%07
2013-06-16 11:19:47 -04:00
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
Georg Fritzsche
0937ddb942 Bug 805330 - Ensure plugin widget visibility via paint flushes. r=josh,roc,robcee
--HG--
rename : layout/base/tests/chrome/paint_listener.js => testing/mochitest/tests/SimpleTest/paint_listener.js
2012-12-05 14:39:26 +01:00
Joel Maher
3c0592ca47 Bug 762908 - Rip enablePrivilege out of spidermonkey tests. r=ted
--HG--
rename : testing/mochitest/specialpowers/Makefile.in => testing/specialpowers/Makefile.in
rename : testing/mochitest/specialpowers/chrome.manifest => testing/specialpowers/chrome.manifest
rename : testing/mochitest/specialpowers/components/SpecialPowersObserver.js => testing/specialpowers/components/SpecialPowersObserver.js
rename : testing/mochitest/MockFilePicker.jsm => testing/specialpowers/content/MockFilePicker.jsm
rename : testing/mochitest/tests/SimpleTest/MozillaLogger.js => testing/specialpowers/content/MozillaLogger.js
rename : testing/mochitest/tests/SimpleTest/SpecialPowersObserverAPI.js => testing/specialpowers/content/SpecialPowersObserverAPI.js
rename : testing/mochitest/specialpowers/content/specialpowers.js => testing/specialpowers/content/specialpowers.js
rename : testing/mochitest/tests/SimpleTest/specialpowersAPI.js => testing/specialpowers/content/specialpowersAPI.js
rename : testing/mochitest/specialpowers/install.rdf => testing/specialpowers/install.rdf
rename : testing/mochitest/specialpowers/jar.mn => testing/specialpowers/jar.mn
2012-09-20 09:06:50 -04:00
Tim Taubert
9a670c04a3 Bug 728294 - Part 3 - Analyze cycle collection logs on testsuite shutdown to detected leaked windows; r=ted,smaug 2012-08-03 12:36:59 +02:00
Masayuki Nakano
a16ae57d35 Bug 768736 Define constants for system native virtual keys for nsIDOMWindowUtils::SendNativeKeyEvent() r=roc 2012-06-27 11:26:38 +09:00
Bobby Holley
8ef983bbf7 Bug 761982 - remove mozprefs.js. r=jmaher 2012-06-18 15:43:00 +02:00
Geoff Lankow
8ebd020946 Bug 668710 - Move mockObjects.js in with the rest of SimpleTest; r=dao
--HG--
rename : toolkit/content/tests/browser/common/mockObjects.js => testing/mochitest/tests/SimpleTest/MockObjects.js
2011-08-05 23:55:49 +12:00
Geoff Lankow
f3b073f77c Bug 668154 - Use the same mock file picker for all mochitests and xpcshell tests; r=jmaher 2011-10-22 12:39:30 +13:00
Joel Maher
3b5c4e36d3 Bug 675245 - cleanup pluginutils and SimpleTest.executeSoon() to utilize specialpowers. r=ted 2011-10-19 05:35:05 -04:00
Joel Maher
a6c0cdaff1 Bug 693959 - convert quit.js to specialpowers. r=ted 2011-10-14 07:52:02 -04:00
Joel Maher
30e9deddd9 Bug 676274 - refactor specialpowers so we can use the api in mochitest-chrome without specialpowers. r=ted, a=test-only. 2011-10-06 10:51:03 -04:00
Malini Das
ea71db787e Bug 367393 - Add a packed MochiKit that contains only SimpleTest dependencies- chrome. r=jmaher, a=test-only 2011-08-12 12:21:36 -04:00
Malini Das
60cd440a07 Bug 367393 - Add a packed MochiKit that contains only SimpleTest dependencies- harness. r=jmaher, a=test-only 2011-08-12 12:21:35 -04:00
Joel Maher
bb2e78799b Bug 666654 - split eventutils.js functions that are chrome only into chromeutils.js. r=ted, a=test-only 2011-07-23 09:02:40 -04:00
Joel Maher
d4e409c106 Bug 668303 - convert mozillafilelogger to specialpowers. r=ctalbert, a=test-only
--HG--
rename : testing/mochitest/tests/SimpleTest/MozillaFileLogger.js => testing/mochitest/tests/SimpleTest/MozillaLogger.js
2011-07-18 22:10:29 -04:00
Daniel Holbert
94b269683e Backout f2390732b6a4 (Bug 668154) for apparently turning debug mochitest-oth & mochitest-4 perma-orange 2011-07-11 17:49:03 -07:00
Geoff Lankow
4450e4f1ab Bug 668154 - Use the same mock file picker for all mochitests and xpcshell tests r=jmaher 2011-07-11 12:24:13 -07:00
Joel Maher
d3b8ce217f Bug 654461 - cleanup chrome and a11y harnesses to simplify code. r=ted, a=test-only 2011-05-17 13:10:37 -04:00
Joel Maher
9a18ff6a94 Bug 599847 Cleanup unused test files in mochitest/static r=ctalbert a=NPOTB 2010-10-21 13:15:57 -07:00
Mounir Lamouri
0e0e895f9e Merging to tip. a=blocking-b7 2010-09-30 17:10:19 -07:00