Commit Graph
24 Commits
Author SHA1 Message Date
Paolo Amadini 1095fa6dd5 Bug 1143937 - Make BrowserTestUtils.waitForEvent not use flaky timeouts and cover more use cases. r=smacleod 2015-03-20 10:26:01 -07:00
Paolo Amadini ec63c258d6 Bug 1142108 - Make TestUtils.topicObserved cover more use cases. r=smacleod 2015-03-13 15:54:43 +00:00
Paolo Amadini b14fc74797 Bug 1140472 - Set an async stack when invoking promise handlers. r=bz 2015-03-09 12:36:29 +00:00
Steven MacLeod 1477ee675e Bug 1093566 - Add modules for sharing mochitest-browser test code; r=Gijs r=paolo
Currently code used by many mochitest-browser tests is scattered
throughout the tree in various head.js files. Many similar or identical
helper methods are repeated throughout these files.

This commit introduces a BrowserTestUtils.jsm module and includes it in
the mochitest scope; the idea being these frequently re-implemented
methods can live in a central place.

A TestUtils.jsm module has also been introduced to contain code useful to
all types of tests.
2015-02-22 23:11:22 -05:00
Chris Manchester 417bb77650 Bug 1033126 - Convert xpcshell tests to use mozlog.structured format for logging.;r=ted 2014-10-22 15:53:42 -04:00
Mark Hammond 8a46536fb4 Bug 984172 (part 1) - add Assert.rejects. r=mikedeboer 2014-10-17 13:06:38 +11:00
Andrew Halberstadt 11b824f09b Bug 1066735 - Remove root b2g and android specific xpcshell manifests, r=chmanchester 2014-10-07 18:18:28 -04:00
Joshua Cranmer c49cec126d Bug 1067047 - Assert.deepEqual does not work correctly with invalid Dates, r=mikedeboer 2014-09-16 17:24:21 -05:00
Chris Manchester b0147b68a6 Bug 916265 - Implement a jsm to output structured log messages.;r=ted 2014-07-21 14:34:01 -07:00
Gregory Szorc 572b90f0c3 Bug 1033836 - Convert TESTING_JS_MODULES to moz.build; r=glandium 2014-07-02 16:43:41 -07:00
Mike de Boer 355ce664f5 Bug 1014482: update XPCShell self-tests to be compatible with global Assert.jsm methods. r=gps 2014-05-30 16:26:44 +02:00
Mike de Boer 9f9fcc43ca Bug 1014482: make Assert.jsm methods globally available and deprecate XPCShell-test's custom assert methods. This changes do_check_matches() semantics significantly. r=gps 2014-05-30 16:26:42 +02:00
Mike de Boer 38a36bcd26 Bug 967564: report operand, even when a custom message is specified. r=gps 2014-02-10 13:12:40 +01:00
Mike de Boer 34b92d2ff6 Bug 966681: improve robustness of error reporting. r=Unfocused 2014-02-04 00:09:28 +01:00
Gregory Szorc 9a3fd84980 Bug 946604 - Move makeFakeAppDir into testing/modules. r=rnewman 2013-12-05 16:54:15 +08:00
Mike de Boer 35f9581a9b Bug 873126: integrate Assert.jsm into Mochitest. r=ted 2013-11-21 11:26:33 +01:00
Mike de Boer 40830435eb Bug 873126: integrate Assert.jsm into XPCShell-test. r=gps 2013-11-19 13:53:20 +01:00
Mike de Boer 16f0913470 Bug 873126: introduce a common JS Assert library. r=gps,Unfocused 2013-11-19 13:53:18 +01:00
Mike Hommey b207d5baf7 Bug 912293 - Remove now redundant boilerplate from Makefile.in. r=gps 2013-09-05 09:01:46 +09:00
Kyle Machulis 331f36baa9 Bug 855465 - Add emacs python mode comments to moz.build files; r=gps 2013-04-01 11:36:59 -07:00
Kyle Machulis ec9b53db93 Backout for changeset 03452b187c14 (Bug 855465) due to bustage on a CLOSED TREE; r=qdot 2013-03-29 15:12:58 -07:00
Kyle Machulis 0419a0b889 Bug 855465 - Add emacs python mode comments to moz.build files; r=gps 2013-03-29 13:56:18 -07:00
Gregory Szorc 580050cb3f Bug 784841 - Part 18η: Convert /testing; r=ted 2013-02-25 13:05:39 -08:00
Gregory Szorc d4e0270c54 Bug 809920 - Create testing/modules for shared testing-only JS modules; r=ted
Includes AppInfo.jsm with code for manipulating XULAppInfo.
2013-02-01 12:26:07 -08:00