Commit Graph

44 Commits

Author SHA1 Message Date
Andrew Halberstadt
b8149ff9de Bug 1034290 - Use structured log output for test results in reftest, r=jmaher
Structured logs bring many benefits. We can stop parsing the logs for magic strings, we
can modify the format without breaking things, and we can stream results into systems like
ActiveData. The structured logs originate primarily in reftest.js. StructuredLog.jsm is
used to generate the JSON-based log stream. Finally OutputHandler in the python harness
reads structured output from stdout, and formats it into human readable form.

MozReview-Commit-ID: G3ZLkMRl6p7
2016-02-05 15:44:20 -05:00
Kris Maglione
46c84a406d Bug 1245671: Fix Assert.rejects on release builds with DOM promises. r=markh 2016-02-04 13:54:38 -08:00
Zachary Carter
a30da60b4d Bug 1210586 - Create a Synced tabs sidebar r=markh 2016-01-27 14:40:30 -08:00
Chris Manchester
db4828f5ae Bug 1229598 - Add a mode to browser-chrome tests to summarize per-test code coverage. r=ahal 2015-12-23 14:04:49 -08:00
Carsten "Tomcat" Book
d7f143eaad Backed out 2 changesets (bug 1202902) to recking bug 1202902 to be able to reopen inbound on a CLOSED TREE
Backed out changeset 647025383676 (bug 1202902)
Backed out changeset d70c7fe532c6 (bug 1202902)
2015-10-07 14:03:21 +02:00
Carsten "Tomcat" Book
b9e5717f50 Backed out 1 changesets (bug 1202902) for causing merge conflicts to mozilla-central
Backed out changeset cfc1820361f5 (bug 1202902)
2015-10-07 12:13:45 +02:00
Shu-yu Guo
b5f316de44 Bug 1202902 - Scripted fix the world. 2015-10-06 14:00:31 -07:00
Tooru Fujisawa
d1ab8896d1 Bug 1207499 - Part 10: Remove use of expression closure from testing/. r=jmaher 2015-09-23 18:42:19 +09:00
Andrew Halberstadt
4b1b9014cb Bug 1042998 - Use StructuredLog.jsm for mochitest logging, r=chmanchester 2015-09-04 14:37:32 -04:00
Shu-yu Guo
45211869c8 Bug 1202902 - Mass replace toplevel 'let' with 'var' in preparation for global lexical scope. (rs=jorendorff) 2015-09-15 11:19:45 -07:00
Andrew Halberstadt
b86f120e23 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
fa0a409d85 Bug 1154275 - Remove ise() in favor of is(); r=Ms2ger 2015-05-13 14:31:58 -04:00
André Reinald
a90203f420 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
ec33d43a0e 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
dde586f87c Bug 1147751 - Implement Assert.greater, Assert.greaterOrEqual, Assert.less and Assert.lessOrEqual. r=mikedeboer 2015-04-24 01:12:00 -04:00
Marco Bonardo
1ec46b62fd Bug 1154294 - write a test for IE cookies migration. r=Gijs 2015-04-16 10:16:19 +02:00
Georg Fritzsche
3ca4744719 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
dac5cde09b 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
b8710a771d 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
da8a9901bd Bug 1139254 - Introduce a new jsm to register mock easily. r=gps 2015-03-24 19:15:00 -04:00
Paolo Amadini
8ae4dc4566 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
4d02d437d0 Bug 1142108 - Make TestUtils.topicObserved cover more use cases. r=smacleod 2015-03-13 15:54:43 +00:00
Paolo Amadini
c8a6a10fae Bug 1140472 - Set an async stack when invoking promise handlers. r=bz 2015-03-09 12:36:29 +00:00
Steven MacLeod
7014476758 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
fa3071b32b Bug 1033126 - Convert xpcshell tests to use mozlog.structured format for logging.;r=ted 2014-10-22 15:53:42 -04:00
Mark Hammond
31403583ed Bug 984172 (part 1) - add Assert.rejects. r=mikedeboer 2014-10-17 13:06:38 +11:00
Andrew Halberstadt
6fe6152e95 Bug 1066735 - Remove root b2g and android specific xpcshell manifests, r=chmanchester 2014-10-07 18:18:28 -04:00
Joshua Cranmer
531245601f Bug 1067047 - Assert.deepEqual does not work correctly with invalid Dates, r=mikedeboer 2014-09-16 17:24:21 -05:00
Chris Manchester
7a2985f607 Bug 916265 - Implement a jsm to output structured log messages.;r=ted 2014-07-21 14:34:01 -07:00
Gregory Szorc
2abc4b387d 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
87b79bbfe3 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
8d2305e33c 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
773d7da0fe Bug 967564: report operand, even when a custom message is specified. r=gps 2014-02-10 13:12:40 +01:00
Mike de Boer
e3c4048d54 Bug 966681: improve robustness of error reporting. r=Unfocused 2014-02-04 00:09:28 +01:00
Gregory Szorc
84bd3e5562 Bug 946604 - Move makeFakeAppDir into testing/modules. r=rnewman 2013-12-05 16:54:15 +08:00
Mike de Boer
59d741243b Bug 873126: integrate Assert.jsm into Mochitest. r=ted 2013-11-21 11:26:33 +01:00
Mike de Boer
fe46a8bf89 Bug 873126: integrate Assert.jsm into XPCShell-test. r=gps 2013-11-19 13:53:20 +01:00
Mike de Boer
fb38092206 Bug 873126: introduce a common JS Assert library. r=gps,Unfocused 2013-11-19 13:53:18 +01:00
Mike Hommey
05b3f24e0e Bug 912293 - Remove now redundant boilerplate from Makefile.in. r=gps 2013-09-05 09:01:46 +09:00
Kyle Machulis
f5e3aadf0b Bug 855465 - Add emacs python mode comments to moz.build files; r=gps 2013-04-01 11:36:59 -07:00
Kyle Machulis
d2b6e6e01a 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
5663b98bc5 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
2046d9f43e Bug 784841 - Part 18η: Convert /testing; r=ted 2013-02-25 13:05:39 -08:00
Gregory Szorc
e1aea193f5 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