зеркало из https://github.com/mozilla/gecko-dev.git
44081f03e7
* Adds a new moz-http2-child.js file which gets spawned into a new process. When calling NodeServer.execute, the code gets passed to the existing moz-http2.js process which then sends it to be evaluated in the child process. Any crash in the child should not be able to kill the main node process. * Moves the proxy creation code into test_http2-proxy.js * Adds the new NodeServer.fork() and NodeServer.kill() static methods to spawn a new server * Makes it easier to isolate a test's behaviour from another's. It also opens the way to moving some of the logic to individual unit tests, like we do for the proxy creation code, rather than keeping it all in moz-http2.js Differential Revision: https://phabricator.services.mozilla.com/D49961 --HG-- extra : moz-landing-system : lando |
||
---|---|---|
.. | ||
dns-packet | ||
example | ||
moz-http2 | ||
node-http2 | ||
node-ip | ||
README | ||
dbg-actors.js | ||
head.js | ||
mach_commands.py | ||
mach_test_package_commands.py | ||
moz.build | ||
python.ini | ||
remotexpcshelltests.py | ||
runxpcshelltests.py | ||
selftest.py | ||
xpcshellcommandline.py |
README
Simple xpcshell-based test harness converted from netwerk/test/unit Some documentation at http://developer.mozilla.org/en/docs/Writing_xpcshell-based_unit_tests See also http://wiki.mozilla.org/SoftwareTesting:Tools:Simple_xpcshell_test_harness