Commit Graph

34 Commits

Author SHA1 Message Date
Andrew Halberstadt
8cffe8fa6b Bug 1014760 - Move mozlog.structured to mozlog; Move mozlog to mozlog.unstructured, r=jgraham
Mozlog currently has two implementations. The top level package is based on the logging module and is
deprecated. The newer structured logging implementation lives in mozlog.structured. This patch swaps the
two, so the top level mozlog module contains the recommended implementation, while mozlog.unstructured
contains the old one.
2015-07-16 10:38:40 -04:00
Ehsan Akhgari
382b6d4528 Bug 1154275 - Remove ise() in favor of is(); r=Ms2ger 2015-05-13 14:31:58 -04:00
André Reinald
e8fc5b5571 Bug 1075157 - Change notDeepEqual to use ObjectUtils, like deepEqual does already. r=gfritzsche
Needed to fix test of this bug's patch.
2015-05-02 00:59:09 +02:00
ziyunfei
a2bb96ff77 Bug 1102219 - Part 4: Replace String.prototype.contains with String.prototype.includes in chrome code. r=till 2015-04-30 00:32:05 +09:00
Hiroyuki Ikezoe
fa0f0d95d6 Bug 1147751 - Implement Assert.greater, Assert.greaterOrEqual, Assert.less and Assert.lessOrEqual. r=mikedeboer 2015-04-24 01:12:00 -04:00
Marco Bonardo
24165193a1 Bug 1154294 - write a test for IE cookies migration. r=Gijs 2015-04-16 10:16:19 +02:00
Georg Fritzsche
628f8eb760 Bug 1140558 - Part 2 - Make the testing deepEqual implementation shared properly in ObjectUtils.jsm. r=yoric 2015-04-02 21:33:46 +02:00
Wes Kocher
fbb7441cb9 Backed out 14 changesets (bug 1143714, bug 1143796, bug 1139751, bug 1139460, bug 1140558) for Win PGO xpcshell failures
Backed out changeset d2567d89cda3 (bug 1139751)
Backed out changeset a8edee74d07f (bug 1139751)
Backed out changeset 613fd260f646 (bug 1143796)
Backed out changeset 7a6f6bdd6edf (bug 1143796)
Backed out changeset fdf9d0174142 (bug 1143714)
Backed out changeset 18989d1ebd43 (bug 1140558)
Backed out changeset a4f545b715ae (bug 1140558)
Backed out changeset b2e92f548736 (bug 1140558)
Backed out changeset a082c774db0a (bug 1140558)
Backed out changeset f9f66f6aaa86 (bug 1139460)
Backed out changeset d8b62b11c43e (bug 1139460)
Backed out changeset 77090798e88c (bug 1139460)
Backed out changeset ea6da072eb0c (bug 1139460)
Backed out changeset 58c2eb92a959 (bug 1139460)
2015-04-01 20:52:33 -07:00
Georg Fritzsche
d320b92ce3 Bug 1140558 - Part 2 - Make the testing deepEqual implementation shared properly in ObjectUtils.jsm. r=yoric 2015-04-01 21:06:19 +02:00
Hiroyuki Ikezoe
5af8157b4c Bug 1139254 - Introduce a new jsm to register mock easily. r=gps 2015-03-24 19:15:00 -04:00
Paolo Amadini
54ed0d8791 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
10c6820b08 Bug 1142108 - Make TestUtils.topicObserved cover more use cases. r=smacleod 2015-03-13 15:54:43 +00:00
Paolo Amadini
ed01852c99 Bug 1140472 - Set an async stack when invoking promise handlers. r=bz 2015-03-09 12:36:29 +00:00
Steven MacLeod
36304cb7ff 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
955d7f2456 Bug 1033126 - Convert xpcshell tests to use mozlog.structured format for logging.;r=ted 2014-10-22 15:53:42 -04:00
Mark Hammond
36ea31d822 Bug 984172 (part 1) - add Assert.rejects. r=mikedeboer 2014-10-17 13:06:38 +11:00
Andrew Halberstadt
2da4ee197d Bug 1066735 - Remove root b2g and android specific xpcshell manifests, r=chmanchester 2014-10-07 18:18:28 -04:00
Joshua Cranmer
7d3711e5c7 Bug 1067047 - Assert.deepEqual does not work correctly with invalid Dates, r=mikedeboer 2014-09-16 17:24:21 -05:00
Chris Manchester
a1a2997a00 Bug 916265 - Implement a jsm to output structured log messages.;r=ted 2014-07-21 14:34:01 -07:00
Gregory Szorc
54c4d3b9ae Bug 1033836 - Convert TESTING_JS_MODULES to moz.build; r=glandium
--HG--
extra : rebase_source : 1cd9e402c507260358af7a93c6fb2fc91c24994b
2014-07-02 16:43:41 -07:00
Mike de Boer
ff9d340bbb 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
1a56be1b78 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
ea88bbe415 Bug 967564: report operand, even when a custom message is specified. r=gps 2014-02-10 13:12:40 +01:00
Mike de Boer
6e7814400d Bug 966681: improve robustness of error reporting. r=Unfocused 2014-02-04 00:09:28 +01:00
Gregory Szorc
c2ffac6b06 Bug 946604 - Move makeFakeAppDir into testing/modules. r=rnewman 2013-12-05 16:54:15 +08:00
Mike de Boer
bf60d5036f Bug 873126: integrate Assert.jsm into Mochitest. r=ted 2013-11-21 11:26:33 +01:00
Mike de Boer
58e279f99c Bug 873126: integrate Assert.jsm into XPCShell-test. r=gps 2013-11-19 13:53:20 +01:00
Mike de Boer
c8677ea248 Bug 873126: introduce a common JS Assert library. r=gps,Unfocused 2013-11-19 13:53:18 +01:00
Mike Hommey
f1cf3b4238 Bug 912293 - Remove now redundant boilerplate from Makefile.in. r=gps 2013-09-05 09:01:46 +09:00
Kyle Machulis
5aa83c3e11 Bug 855465 - Add emacs python mode comments to moz.build files; r=gps 2013-04-01 11:36:59 -07:00
Kyle Machulis
c79ccc0693 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
a59d40f143 Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
--HG--
extra : rebase_source : 004a756492323e1a049586e85b3be5037159df20
2013-03-29 13:56:18 -07:00
Gregory Szorc
0d9d430864 Bug 784841 - Part 18η: Convert /testing; r=ted 2013-02-25 13:05:39 -08:00
Gregory Szorc
34fca21dc9 Bug 809920 - Create testing/modules for shared testing-only JS modules; r=ted
Includes AppInfo.jsm with code for manipulating XULAppInfo.

--HG--
rename : services/healthreport/modules-testing/utils.jsm => testing/modules/AppInfo.jsm
2013-02-01 12:26:07 -08:00