Mark Banner
0e18da0420
Bug 1452706 - Make the 'expected' argument to Assert.throws/rejects required rather than optional. r=mikedeboer
...
MozReview-Commit-ID: 25flGw5sWga
--HG--
extra : rebase_source : 5212db5e4f940906646078542641f449d46a1684
2018-06-01 14:33:31 +01:00
Coroiu Cristina
e631b8c1ea
Backed out 3 changesets (bug 1452706) for xpcshell failures at devtools/server/tests/unit/test_format_command.js
...
Backed out changeset 6abc5dc6baaf (bug 1452706)
Backed out changeset 4fbd34b0807a (bug 1452706)
Backed out changeset 626c790eb6f3 (bug 1452706)
2018-07-04 21:20:21 +03:00
Mark Banner
a952f2e027
Bug 1452706 - Make the 'expected' argument to Assert.throws/rejects required rather than optional. r=mikedeboer
...
MozReview-Commit-ID: 25flGw5sWga
--HG--
extra : rebase_source : 635355c8b75c1de9f1e4fb17b903bfa7c52bf702
2018-06-01 14:33:31 +01:00
Kris Maglione
a259026c9d
Bug 1456035: Part 4 - Convert callers of XPCOMUtils.generateQI to ChromeUtils.generateQI. r=mccr8
...
This also removes any redundant Ci.nsISupports elements in the interface
lists.
This was done using the following script:
acecb401b7/processors/chromeutils-generateQI.jsm
MozReview-Commit-ID: AIx10P8GpZY
--HG--
extra : rebase_source : a29c07530586dc18ba040f19215475ac20fcfb3b
2018-04-22 20:55:06 -07:00
Thom Chiovoloni
872a82220c
Bug 1439772 - Avoid truncating operands when reporting failure for Assert.deepEqual r=mikedeboer
...
MozReview-Commit-ID: 1hlYFE3Xcwn
--HG--
extra : rebase_source : 5b55d4721dd403f7baf47f55b9dfc62ccd189861
2018-02-20 18:17:16 -05:00
Andrew McCreight
5dec0e0beb
Bug 1432992, part 1 - Remove definitions of Ci, Cr, Cc, and Cu. r=florian
...
This patch was autogenerated by my decomponents.py
It covers almost every file with the extension js, jsm, html, py,
xhtml, or xul.
It removes blank lines after removed lines, when the removed lines are
preceded by either blank lines or the start of a new block. The "start
of a new block" is defined fairly hackily: either the line starts with
//, ends with */, ends with {, <![CDATA[, """ or '''. The first two
cover comments, the third one covers JS, the fourth covers JS embedded
in XUL, and the final two cover JS embedded in Python. This also
applies if the removed line was the first line of the file.
It covers the pattern matching cases like "var {classes: Cc,
interfaces: Ci, utils: Cu, results: Cr} = Components;". It'll remove
the entire thing if they are all either Ci, Cr, Cc or Cu, or it will
remove the appropriate ones and leave the residue behind. If there's
only one behind, then it will turn it into a normal, non-pattern
matching variable definition. (For instance, "const { classes: Cc,
Constructor: CC, interfaces: Ci, utils: Cu } = Components" becomes
"const CC = Components.Constructor".)
MozReview-Commit-ID: DeSHcClQ7cG
--HG--
extra : rebase_source : d9c41878036c1ef7766ef5e91a7005025bc1d72b
2018-02-06 09:36:57 -08:00
Kris Maglione
918ed6c474
Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
...
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm
MozReview-Commit-ID: 1Nc3XDu0wGl
--HG--
extra : source : 12fc4dee861c812fd2bd032c63ef17af61800c70
extra : intermediate-source : 34c999fa006bffe8705cf50c54708aa21a962e62
extra : histedit_source : b2be2c5e5d226e6c347312456a6ae339c1e634b0
2018-01-29 15:20:18 -08:00
Cosmin Sabou
9a65a40178
Backed out 3 changesets (bug 1431533
) for Android mochitest failures on testEventDispatcher on a CLOSED TREE
...
Backed out changeset a1eca62826a1 (bug 1431533
)
Backed out changeset 34c999fa006b (bug 1431533
)
Backed out changeset e2674287e57f (bug 1431533
)
2018-01-30 07:17:48 +02:00
Kris Maglione
6476f95b13
Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
...
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm
MozReview-Commit-ID: 1Nc3XDu0wGl
--HG--
extra : source : 12fc4dee861c812fd2bd032c63ef17af61800c70
2018-01-29 15:20:18 -08:00
Brindusan Cristian
af8879d1eb
Backed out 2 changesets (bug 1431533
) for ESlint failures on a CLOSED TREE
...
Backed out changeset 6e56f4c8843e (bug 1431533
)
Backed out changeset 12fc4dee861c (bug 1431533
)
2018-01-30 02:32:43 +02:00
Kris Maglione
c276bb9375
Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
...
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm
MozReview-Commit-ID: 1Nc3XDu0wGl
--HG--
extra : rebase_source : c004a023389f1f6bf3d2f3efe93c13d423b23ccd
2018-01-29 15:20:18 -08:00
Dan Banner
b2e847755c
Bug 1367704 - Enable the semi ESLint rule across the tree. r=standard8
...
MozReview-Commit-ID: GrlcOI9K2hJ
--HG--
extra : rebase_source : 6574cf3c67eb11733ffd9999c260f71c8551abc4
2017-05-28 19:57:46 +01:00
Eric Rahm
0938982c90
Bug 1389598 - Part 4: Remove remaining gonk refs. r=froydnj
...
--HG--
extra : rebase_source : 063c7f95dda063eafabfa1921366bd1957b8fe73
2017-08-11 17:45:18 -07:00
Geoff Brown
3115836c5c
Bug 1375678 - Enable eslint on testing/modules - additional changes; r=standard8
2017-06-23 15:08:04 -06:00
Geoff Brown
03ec89d132
Bug 1375678 - Enable lint on testing/modules - mechanical changes; r=standard8
2017-06-23 15:08:02 -06:00
Florian Quèze
66f6d259bc
Bug 1374282 - script generated patch to remove Task.jsm calls, r=Mossop.
2017-06-22 12:51:42 +02:00
Sebastian Hengst
0c8fb370d2
Backed out changeset cc96b54811f6 (bug 1357625) for failing xpcshell's test_PromiseUtils.js. r=backout
2017-04-19 16:29:47 +02:00
Mark Hammond
d7dce47bd7
Bug 1357625 - Have Assert.rejects resolve with the expected exception. r=mikedeboer
...
MozReview-Commit-ID: FJ31cd5pgul
--HG--
extra : rebase_source : e55b4e670f29cb104c0e70e37d70bcff12e8dfb0
2017-04-19 12:51:43 +10:00
Paolo Amadini
bfb4e9151f
Bug 1237961 - Assert.throws raises a TypeError exception when the "expected" parameter is an arrow function. r=mikedeboer
...
MozReview-Commit-ID: CyhD00Uwbwj
--HG--
extra : rebase_source : 24a80ca12bfdded82f4bc3487ee491defa60da7b
2017-01-20 15:38:56 +01:00
Mark Banner
16e6d381ac
Bug 503613 - Remove old 'tail =' lines from xpcshell.ini files; r=gps
...
MozReview-Commit-ID: 62Hp5ISxowJ
--HG--
extra : rebase_source : daa8efb3409031fea553f4fd0c9d0746e38dc308
extra : histedit_source : b4c23aacf678ba0d0ac9c09191a7c494ead11a08
2017-01-18 10:30:39 +00:00
Carsten "Tomcat" Book
08997000eb
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
e7ef778c9d
Backed out 1 changesets (bug 1202902
) for causing merge conflicts to mozilla-central
...
Backed out changeset cfc1820361f5 (bug 1202902
)
--HG--
extra : rebase_source : 5d3db72337754bc7ab0ed0c30b2896100411ff92
2015-10-07 12:13:45 +02:00
Shu-yu Guo
d06b6030f6
Bug 1202902
- Scripted fix the world.
2015-10-06 14:00:31 -07:00
Andrew Halberstadt
5330ac1f89
Bug 1042998 - Use StructuredLog.jsm for mochitest logging, r=chmanchester
...
--HG--
extra : commitid : 5hwiCNY4xAI
extra : rebase_source : 4f72ebe622669bb4f5df2c0be40d156e91c229f3
2015-09-04 14:37:32 -04:00
Ehsan Akhgari
1a03395848
Bug 1154275 - Remove ise() in favor of is(); r=Ms2ger
2015-05-13 14:31:58 -04:00
Hiroyuki Ikezoe
1cd583862c
Bug 1147751 - Implement Assert.greater, Assert.greaterOrEqual, Assert.less and Assert.lessOrEqual. r=mikedeboer
2015-04-24 01:12:00 -04:00
Georg Fritzsche
c354dca7e5
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
9b168d2c01
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)
--HG--
extra : amend_source : 850bad063645f0d6c632ca1d93a716d9c444f383
2015-04-01 20:52:33 -07:00
Georg Fritzsche
dfdf0bf84b
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
858532aa25
Bug 1139254 - Introduce a new jsm to register mock easily. r=gps
2015-03-24 19:15:00 -04:00
Mark Hammond
ec078e1cd2
Bug 984172 (part 1) - add Assert.rejects. r=mikedeboer
2014-10-17 13:06:38 +11:00
Andrew Halberstadt
d292ee73f1
Bug 1066735 - Remove root b2g and android specific xpcshell manifests, r=chmanchester
2014-10-07 18:18:28 -04:00
Joshua Cranmer
4f0b9a388f
Bug 1067047 - Assert.deepEqual does not work correctly with invalid Dates, r=mikedeboer
2014-09-16 17:24:21 -05:00
Chris Manchester
b9eecb0afe
Bug 916265 - Implement a jsm to output structured log messages.;r=ted
2014-07-21 14:34:01 -07:00
Mike de Boer
76ebbeb682
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
243850a843
Bug 967564: report operand, even when a custom message is specified. r=gps
2014-02-10 13:12:40 +01:00
Mike de Boer
453d6a09c2
Bug 966681: improve robustness of error reporting. r=Unfocused
2014-02-04 00:09:28 +01:00
Mike de Boer
9d76a4fd35
Bug 873126: integrate Assert.jsm into Mochitest. r=ted
2013-11-21 11:26:33 +01:00
Mike de Boer
d6e74811ad
Bug 873126: integrate Assert.jsm into XPCShell-test. r=gps
2013-11-19 13:53:20 +01:00
Mike de Boer
8df0f8d1aa
Bug 873126: introduce a common JS Assert library. r=gps,Unfocused
2013-11-19 13:53:18 +01:00