Граф коммитов

653 Коммитов

Автор SHA1 Сообщение Дата
Ted Mielczarek fb4b821e19 bug 1151407 - Remove _HTTPD_JS_PATH from xpcshell test harness. r=jmaher
Only the httpd.js unit tests actually rely on this. I tried to make them use Cu.import but they also rely on poking a bunch of stuff in httpd.js that's not exported, so instead I just made the test manifest copy httpd.js to the test directory and had them load it from there.

--HG--
extra : rebase_source : 24b04d619891ec95e5df23a2eb7f3277dd3206b2
extra : amend_source : 72139cecdcd695171e2fd0ce8ea7be91c1eebd1a
2015-04-03 08:20:32 -04:00
Ehsan Akhgari 29102666d0 Bug 952211 follow-up: Only access path if debuggerInfo is set
Landed on a CLOSED TREE as bustage fix
2015-04-10 14:45:52 -04:00
Ehsan Akhgari 08cc0ef3c1 Bug 952211 - Print a warning about using 'run' when debugging an xpcshell test using lldb; r=froydnj 2015-04-10 14:16:10 -04:00
Krishnashish Gogoi e4c0a72b3f Bug 982852 - Added a test case for checking multiple add_task() tests without run_test(); r=gps
There's a test for add_task() in selftest.py called ADD_TASK_MULTIPLE, which tests if
multiple add_task() tests are working. The test added in this commit does the exact same
except without run_test(). Since the original tests included this, I thought it would make
a good case for checking if the removal of run_test() is working as expected. Please remove
if this is unnecessary.

--HG--
extra : rebase_source : f6617259056db7ac7a658a89063694f51408b8ce
2015-04-03 02:24:24 +05:30
Krishnashish Gogoi 969ba3e8a7 Bug 982852 - Add failing cases to selftest.py when run_test() is not present; r=gps
Since the simple test cases before this bug had cases for both passing and
failing, it would be a good idea to follow suit and add similar failing tests
for when run_test() is omitted.

Like the other simple tests defined in selftest.py, SIMPLE_FAILING_TEST,
ADD_TEST_FAILING, etc., it follows a similar pattern except these are done
without run_test() defined.

--HG--
extra : rebase_source : a1ef9a7b9e8274fe981864c5e021c80d2d66f7ec
2015-04-03 02:12:30 +05:30
Krishnashish Gogoi bf13167dea Bug 982852 - Add cases to check that tests without run_test() work; r=gps
Four new test cases have been added to testing/xpcshell/selftest.py.
These new tests check that tests where run_test() is not defined
work properly.

The test cases check the following cases:
1. when only add_test() is used.
2. when only add_task() is used.
3. when both add_task() and add_test() is used.
4. when a test file is empty, i.e. contains no add_test(), add_task() or
  run_test().

Test bodies only consist of do_check_true(true) calls to make up a minimal
test without run_test() in the same vein as the other simple tests defined
previously.

Also, broke a comment up that was too long.

--HG--
extra : rebase_source : 48d055680ba8108816ecbe07008496c5281f46cc
2015-04-03 01:43:54 +05:30
Krishnashish Gogoi a80b42da44 Bug 982852 - Make run_test() in xpcshell-tests optional; r=gps
As referenced in Bug 982852, this fix makes run_tests() optional.
Test cases can now consist of add_test() and add_task() calls
without the need to exclusively set up a run_test() just to call
run_next_test() inside it. If run_test() however is defined, it
will be called directly as usual, which should keep all older
tests working without breaking.

Since most run_test() calls right now are mostly boilerplate and
usually are of the form -- function run_test(){run_next_test();} --
this fix checks if run_test is defined by using the typeof operator
which should evaluate to "function" if it is defined. If defined,
it is called straight away, otherwise, run_next_test() is called,
which is what run_test() usually does when used as a set up to
call tests registered by add_test() and add_task().

--HG--
extra : rebase_source : 7cfbf30a67e3a8d088f8409edcdde8976f46b941
2015-04-02 22:32:18 +05:30
Brian Grinstead 9dbf84b0a5 Bug 1148996 - Remove selected lightweight theme for mochitest and xpcshell tests;r=jmaher
This is for aurora (dev edition) compatibility.  In this channel, there is a
selected lightweight theme by default.  Tests don't expect this to be the case
so this simply resets the relevant prefs for mochitests and xpcshell tests.
2015-03-31 20:01:04 -07:00
Andrew Halberstadt 056bddce11 Bug 987360 - Add ability to tag tests with arbitrary strings and run them, r=chmanchester
Add a `tags` attribute to a test or DEFAULT section in a manifest:

[test_foo]
tags = foo

Then run all tests with a given tag by passing in `--tag foo` to a supported test harness. So far mochitest, xpcshell and marionette are supported.

--HG--
extra : rebase_source : d75905da1ca021a15a9538117d3866425f73d962
extra : source : 3c34fd480729e3b6684fba747ff61078f672ce16
2015-03-19 16:15:33 -04:00
Ryan VanderMeulen 378481f17f Backed out changesets acbab9e22691 and 3c34fd480729 (bug 987360) for Android/B2G xpcshell bustage.
CLOSED TREE

--HG--
extra : rebase_source : d79b1dcfb12ae8e12efefd7d15b8a2f9f5063377
2015-03-27 13:12:19 -04:00
Andrew Halberstadt 68400e6cbd Bug 987360 - Fix b2g/android xpcshell bustage, r=bustage 2015-03-27 12:17:00 -04:00
Andrew Halberstadt e3068d1b6f Bug 987360 - Add ability to tag tests with arbitrary strings and run them, r=chmanchester
Add a `tags` attribute to a test or DEFAULT section in a manifest:

[test_foo]
tags = foo

Then run all tests with a given tag by passing in `--tag foo` to a supported test harness. So far mochitest, xpcshell and marionette are supported.

--HG--
extra : rebase_source : 68a0931c6a8ee1df4f5c09d67c396490774aa856
2015-03-19 16:15:33 -04:00
Eddy Bruël f965a63d67 Bug 1141507 - Some preliminary refactors;r=jlong 2015-03-26 20:15:36 +01:00
Andrew Halberstadt 46e05e346f Bug 1146871 - Make xpcshell use manifestparser's chunking algorithm, r=jmaher
--HG--
extra : rebase_source : f5ee7061862f1e07334829750577034cc807e0cb
2015-03-24 09:21:11 -04:00
Eddy Bruël 9a0e51df00 Bug 1131646 - Clean up the breakpoint code;r=jlongster 2015-03-11 15:15:40 +01:00
Alexandre Poirot 2b002a6748 Bug 1059308 - Fix tests to support chrome actor. r=jryans 2015-02-26 03:56:00 +01:00
Szu-Yu Chen [:aknow] 42fbfc7d74 Bug 1133649 - Add an always true condition for xpcshell-test. r=gps 2015-03-05 18:00:23 +08:00
Nicholas Hurley 6eb4be429d Bug 1136361 - update node-http2 on ci. rs=mcmanus 2015-02-26 11:00:38 -08:00
Alessio Placitelli deb826f3fb Bug 1111022 - Tests for the SelfSupport backend. r=gfritzsche 2015-01-09 11:18:00 +01:00
Geoff Brown e11572838a Bug 1130187 - Optimize devicemanager calls during remote xpcshell tests; r=bc 2015-02-12 16:48:41 -07:00
Geoff Brown c7d65fd1a2 Bug 1128745 - Avoid 'no attribute' error on remote xpcshell timeout; r=jmaher 2015-02-12 16:48:40 -07:00
Patrick McManus 66ba35c626 bug 1130874 - test for alt-svc -06 h2 extension r=hurley 2015-02-08 09:11:22 -05:00
Patrick McManus c19611d6a0 bug 1130874 - h2 test server altsvc 06 r=hurley
This only updates node-http2 for mozilla's CI needs by supporting
sending of the AltSvc frame (-06). It does not implement receiving or
the node internal tests.
2015-02-08 09:00:39 -05:00
Chris Peterson ac2c208d22 Bug 1129336 - Remove nonstandard let blocks from testing/xpcshell. r=chmanchester 2015-01-24 23:34:40 -08:00
Patrick McManus 892f49c420 bug 1102923 - test_spdy backend separate push body and err handlers r=test-only 2015-02-05 20:44:25 -05:00
Patrick McManus 3de09b658c bug 1102923 - give spdy push test an error handler r=test-only 2015-02-05 12:41:26 -05:00
Chris Manchester 52c52854d6 Bug 1128584 - Only log valid status values when processing errors in xpcshell's head.js;r=ted 2015-02-02 13:32:49 -05:00
Eddy Bruël 399f1de8fb Bug 1126193 - setBreakpoint should not take a full location;r=fitzgen 2015-02-04 07:42:33 +01:00
Patrick McManus 92c38efcb0 bug 1128038 - h2 DAV methods set end_stream bit twice r=hurley 2015-02-02 13:42:23 -05:00
Nicholas Hurley 78cf4bc133 Bug 958712 part 3/3 - CONTINUATION tests r=mcmanus
--HG--
extra : rebase_source : e2598f72e6e767c09defd1f49266aaaab7b14505
2015-01-30 11:13:31 -08:00
Nicholas Hurley 18fbf37a24 Bug 958712 part 1/3 - update CI node-http2 to v3.1.1 r=mcmanus
--HG--
extra : rebase_source : 0eeea5f7fd3809d9dbe2a1bed34104ce6336f32a
2015-01-30 11:15:41 -08:00
Nicholas Hurley 1e8fe60386 No Bug - Fix js whitspace in h2 test and server. r=mcmanus
--HG--
extra : rebase_source : 6d89e846b108828e630c5e3aed8e6075bf533f77
2015-01-30 11:29:14 -08:00
Geoff Brown 0f3021e9c6 Bug 1127928 - Increase pushDir timeout for xpcshell tests directory to 600 seconds; r=wlach 2015-01-30 15:23:41 -07:00
Joshua Cranmer 4f74dc4614 Bug 934170: Make mach xpcshell-test work for comm-central, r=ted
--HG--
extra : rebase_source : d5ce19f18108c598aaa0a519e73a268f1dba91b5
2015-01-30 09:54:00 -06:00
Patrick McManus ca5f74b06d bug 1124717 - 4/4 test r=hurley 2015-01-26 16:41:47 -05:00
Patrick McManus 5b201c8a70 bug 1124717 - 2/4 update CI to node-http2 3.1.0 to fix flow control issue r=hurley
a test for 1124717 ran into
https://github.com/molnarg/node-http2/issues/89 which is fixed in this update
2015-01-26 20:21:54 -05:00
Ryan VanderMeulen ab1e320c97 Merge fx-team to m-c. a=merge 2015-01-26 16:34:12 -05:00
J. Ryan Stinnett 9b3a983e79 Bug 1103120 - Part 8: Server: Use promises and results in allowConnection. r=past 2015-01-26 12:47:13 -06:00
J. Ryan Stinnett de60148114 Bug 1103120 - Part 6: Server: Move allowConnection to authenticator. r=past 2015-01-26 12:47:13 -06:00
Patrick McManus 2dfcd7ae19 bug 1102923 - testing spdy server restart on unhandled exception r=test-only 2015-01-22 12:07:43 -05:00
Patrick McManus d4a8b1d40d bug 1102923 - log node moz-spdy and moz-http2 output on shutdown r=ted 2015-01-23 12:09:47 -05:00
Patrick McManus 0587d8c35c bug 1102923 - move spdy/h2 tests off fixed port r=hurley r=ted 2015-01-15 11:12:05 -05:00
Patrick McManus d0d97ad7ef bug 1072478 - h2 push hit not subject to max_concurrent 2/2 r=hurley
--HG--
extra : rebase_source : 4c49f74dc4b7ed8cead65dc3c78a2c8ae5ddf5e3
2015-01-13 15:26:37 -05:00
Geoff Brown 506fb1c3fd Bug 1119583 - Use Droid instead of devicemanager for xpcshell mach; r=ahal 2015-01-12 14:33:43 -07:00
Patrick McManus a12670699c bug 1119280 - fix large spdy/h2 transfer truncation r=hurley 2015-01-09 10:18:28 -05:00
Wes Kocher 1d86126a67 Merge mozilla-central to fx-team a=merge 2015-01-08 17:17:13 -08:00
Mark Hammond bee2d8a0f5 Bug 1116708 - xpcshell tests now log console messages. r=chmanchester 2015-01-09 10:00:05 +11:00
Mark Hammond 1738e10508 Backout 40b7a74be389 due to wrong bug number in commit message 2015-01-09 09:56:25 +11:00
Mark Hammond f19948b19d Bug 1117001 - xpcshell tests now log console messages. r=chmanchester 2015-01-09 09:53:34 +11:00
Nicholas Nethercote 97b5d348cc Bug 1014341 (part 1) - Remove trace-malloc. r=dbaron,glandium.
--HG--
extra : rebase_source : 771710c5427141d738eef112fab00951eb8e20e3
2015-01-07 16:13:03 -08:00