Commit Graph

525 Commits

Author SHA1 Message Date
Andrew McCreight
0055cec177 Bug 1023368 - ASan tests should show an error when the symbolizer isn't found. r=jmaher 2014-06-14 16:43:46 -07:00
Alexandre Poirot
01b1811aea Bug 1019244 - Do not throw on exception handling during xpcshell tests. r=ted 2014-06-02 15:09:00 -04:00
Bevis Tseng
e63284f97d Bug 1012621 - Part 2: Move xpcshell related files into test/xpcshell sub-folder. r=vyang,khuey
--HG--
rename : dom/mobilemessage/tests/header_helpers.js => dom/mobilemessage/tests/xpcshell/header_helpers.js
rename : dom/mobilemessage/tests/test_mms_pdu_helper.js => dom/mobilemessage/tests/xpcshell/test_mms_pdu_helper.js
rename : dom/mobilemessage/tests/test_mms_service.js => dom/mobilemessage/tests/xpcshell/test_mms_service.js
rename : dom/mobilemessage/tests/test_smsservice_createsmsmessage.js => dom/mobilemessage/tests/xpcshell/test_smsservice_createsmsmessage.js
rename : dom/mobilemessage/tests/test_wsp_pdu_helper.js => dom/mobilemessage/tests/xpcshell/test_wsp_pdu_helper.js
rename : dom/mobilemessage/tests/xpcshell.ini => dom/mobilemessage/tests/xpcshell/xpcshell.ini
2014-06-03 11:17:05 +08:00
Henry Chang
127022d35e Bug 1017513 - Add captive portal tests to b2g emulator. r=schien 2014-05-30 17:47:43 +08: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
David Rajchenbach-Teller
bb3b55abb3 Bug 976205 - Make uncaught Promise errors fatal in xpcshell. r=ted 2014-05-28 12:11:00 -04:00
James Graham
40142335ba Bug 1011458 - Buy back a few characters for Windows paths by renaming tests staging directory. r=ted 2014-05-16 04:55:00 +02:00
Eddy Bruel
4951fb4a07 Bug 1003095 - Fix strict errors in the debugger server;r=past 2014-05-15 16:36:03 +02:00
David Rajchenbach-Teller
3e63f12b6b Bug 996566 - Execute OS.File xpcshell tests on Android. r=jmaher 2014-05-12 06:26:00 -04:00
David Rajchenbach-Teller
403594da2f Bug 994951 - Activate OS.File xpcshell tests on B2G. r=froydnj 2014-05-05 06:53:00 -04:00
Mark Banner
549bddf5f8 Bug 975550 Handle python 2.6 when preventing invalid utf-8 being writting to test files. r=ted 2014-05-06 20:11:30 +01:00
J. Ryan Stinnett
e609163c15 Bug 1003620 - Add QR encoder library. r=paul
Imports the QR Code Generator library[1].

The original author is Kazuhiko Arase <arase@d-project.com>.

A copy of the library's MIT license is included.

[1]: https://github.com/kazuhikoarase/qrcode-generator

--HG--
rename : toolkit/devtools/moz.build => toolkit/devtools/qrcode/encoder/moz.build
rename : toolkit/devtools/moz.build => toolkit/devtools/qrcode/moz.build
2014-05-01 13:28:00 +02:00
Gijs Kruitbosch
747650c6a3 Bug 799216 - allow leaving out head/tail entries in xpcshell manifests, r=ted
--HG--
extra : rebase_source : 39cdf74579aefcfcdd7e3cfc7d39edbdb8b6f007
2014-05-01 00:56:22 +01:00
Vicamo Yang
8354f79a2e Bug 996443: carry emulator arch automatically for mach commands. r=ahal 2014-05-01 00:57:39 +08:00
Nicholas Hurley
6d0ca475a0 Bug 1001022 (part 2) - Update unit tests for http2 draft12. r=mcmanus 2014-04-29 18:46:05 -07:00
Nicholas Hurley
20f2673df9 Bug 993937 (part 2) - Update unit tests for http2 draft11. r=mcmanus
This updates our copy of node-http2 to the version that implements
draft11, and has the one-line change to make the xpcshell test work.
2014-04-29 18:46:01 -07:00
Geoff Brown
b2328a442d Bug 978132 - Copy more binaries to device for Android xpcshell tests; r=jmaher 2014-04-29 15:09:27 -06:00
Jeremy Morton
69d567dd6b Bug 998291 - Allow for relatively-loaded modules to be loaded into a given scope. r=bsmedberg 2014-04-22 23:37:26 +01:00
David Rajchenbach-Teller
efafa38472 Bug 995198 - Make uncaught async errors cause KNOWN-FAIL in xpcshell. r=ted 2014-04-15 12:51:20 -04:00
Paolo Amadini
bb2ad048fa Bug 991750 - Convert remaining legacy uses of promise.js to Promise.jsm. rs=Yoric 2014-04-07 16:18:43 +02:00
Ted Mielczarek
a15bd702f2 bug 990266 - use mozinfo in xpcshell selftests r=jmaher 2014-04-01 16:02:58 -04:00
David Rajchenbach-Teller
a97652180f Bug 988844 - do_register_cleanup now accepts asynchronous cleanup functions. r=ted 2014-03-31 04:36:00 +02:00
Ryan VanderMeulen
d9d827e562 Merge inbound to m-c. 2014-03-26 20:58:31 -04:00
Gregory Szorc
92832d5da6 Bug 987414 - Pass multiple test arguments to mach testing commands; r=ahal
Previously, mach xpcshell-test and mochitest-* were limited to a single
test "path" argument. This patch enables multiple arguments to be passed
in.

TestResolver in the build system has gained the ability to process
multiple paths in a single invocation. The mach commands have been
modified to utilize this new feature.

Only mach code paths that pass manifestdestiny.TestManifest instances
into the test runner can accept multiple arguments. This is because
there is no other way to pass a custom set of tests into the test
runner. If multiple test arguments are used but not supported, a warning
is emitted.

--HG--
extra : rebase_source : 1ce1328a969f654e7b43a7a0bdd15ed86f5ceb21
2014-03-24 16:19:57 -07:00
Nicholas Hurley
f12f50e586 Bug 965869 (part 2) - HTTP/2 draft10 tests. r=mcmanus 2014-03-26 10:58:11 -07:00
Brian Hackett
bd10895115 Bug 972817 - Enable type inference unconditionally, r=jandem. 2014-03-18 09:05:16 -06:00
Andrew Halberstadt
fd8d3d9682 Bug 932362 - Create mach target for running b2g xpcshell tests, r=jgriffin 2014-03-11 10:08:25 -04:00
Brian Smith
d13619f4f5 Bug 978111: Enable already-working PSM xpcshell tests on Android and B2G, r=cviecco
--HG--
extra : rebase_source : c14ef67870f2b40a3319e6bc8df0ddfe9dd222e3
2014-02-28 11:16:16 -08:00
Geoff Brown
6d2be50630 Bug 973601 - Allow xpcshell test chunks; r=ted 2014-02-28 14:58:35 -07:00
Gregory Szorc
adeea935cf Bug 875562 - Part 8: Write crash events for main process crashes; r=bsmedberg
This patch makes the crash reporter crash event directory aware and
writes main process crash event files at crash time.

--HG--
extra : rebase_source : 1d6a817ae401230b3fe8fcd236468ceb3e309a10
2014-02-18 15:58:03 -08:00
Gábor Molnár
adc92e4516 Bug 961616 - simple HTTP2 Cookie crumbling unit tests 2014-02-24 11:42:15 -08:00
Andrew Halberstadt
c529567825 Bug 975085 - Don't create unnecessary devicemanager instance in b2g emulator tests, r=jgriffin 2014-02-20 16:56:57 -05:00
Joshua Cranmer
59f69cee6e Bug 964379 - Ensure that mozinfo.info's keys are ASCII, not Unicode, r=gps 2014-02-18 10:41:39 -06:00
Gregory Szorc
5f499af8a5 Bug 972093 - Detect run_next_test() during add_task(); r=ted, rnewman
If an xpcshell test called run_next_test() from inside an add_task(),
bad things would happen. This patch detects that behavior and aborts the
test immediately with an actionable error message.

--HG--
extra : rebase_source : c5cf11070421b95a6fcf476d0a86289a3d0ba73a
extra : amend_source : cec6ad2a751bba01e7d4ecbff0735b39e3326efb
2014-02-12 16:47:29 -08:00
Zack Weinberg
ccfea40879 Bug 964379: make sure all keys of mozinfo.info are ASCII, for Python 2.6.(<5) compat. r=gps 2014-02-13 14:06:51 -05:00
Gregory Szorc
fde7b9fd6d Bug 970302 - Ensure a TestManifest is always used when running xpcshell tests; r=ted
--HG--
extra : rebase_source : 30a296e66d25d5e4759b2ad3a420f94a5543a090
extra : amend_source : ac405c60d907f1bae3f376aa4525d8f93f53cc18
2014-02-10 13:11:23 -08:00
Geoff Brown
ae38a26c44 Bug 875814: Fix timeout handling for remote xpcshell tests; r=jmaher 2014-02-08 09:19:20 -07:00
Mark Hammond
d8491369b3 Bug 968044 - prevent xpcshell test output from escaping CR chars. r=gps 2014-02-10 09:23:02 +11:00
Nicholas Hurley
de59044be1 Bug 964563 - Remove custom node binary. r=ted 2014-02-06 15:00:19 -08:00
Gregory Szorc
91de1ff8b5 Bug 852959 - Remove old code paths for running xpcshell tests from directories; r=ted
Manifests are now the mechanism used to specify how to run xpcshell
tests. This patch removes old code paths that allowed directories to be
specified.

runxpcshelltests.py still contains references to "testdirs." These
should likely be removed as well. This patch doesn't touch them out of
fear it may have consequences on automation.

--HG--
extra : rebase_source : 8cbfe6dc759dc0a311669c4fcba08ff7a60edc4a
extra : amend_source : 890377d9ba33d52c84e0736b0812231f3005b253
2014-01-27 10:14:09 -08:00
Mark Hammond
5ad17b68ef Bug 968581 - enable xpcshell verbose log output if only 1 test is in the manifest. r=gps
--HG--
extra : rebase_source : b521c42f3eca5dc8742b1689b4ec89edc1012d03
2014-02-06 13:51:00 +11:00
Ryan VanderMeulen
8b63a7753a Bug 964379 - Add logging to figure out what's breaking xpcshell on comm-central on OSX 10.6. 2014-02-02 22:30:43 -05:00
Mark Hammond
a66ed76827 Bug 964102 - Use normpath on the test path before comparing it with the root dir. r=gps 2014-01-27 09:00:35 +11:00
Zack Weinberg
913fd65d96 Bug 933885 part 2b: runxpcshelltests.py: prevent invalid UTF-8 from being written to test log files. r=gps 2014-01-25 23:27:11 -05:00
Zack Weinberg
ea85d8f1e0 Bug 933885 part 2a: remove fake JSON parser from runxpcshelltests.py (Python 2.6 now being required). r=gps 2014-01-25 23:27:11 -05:00
Gregory Szorc
55dbf3e3b5 Bug 920849 - Part 2: Discover xpcshell tests through metadata, not filesystem; r=ted
--HG--
extra : rebase_source : bbe52abe704072c11a3313d356ceedb2d0d31b6b
2013-10-22 16:54:40 -07:00
Gábor Molnár
403d4f41bd Bug 958992 - http2 draft09 test support. r=hurley 2014-01-13 17:16:28 -08:00
Robert Strong
5db1efe706 Part 6 - Bug 951662 - fix path to xpcshell.ini. r=bbondy 2014-01-12 13:45:56 -08:00
Gabor Molnar
e9575018d9 bug 950768 - http2 tests in node.js r=hurley r=mcmanus 2013-10-20 16:03:07 +02:00