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

56 Коммитов

Автор SHA1 Сообщение Дата
Gervase Markham 82ff7027aa Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Serge Gautherie c73e23f4ac Bug 446300 - move tools/test-harness/xpcshell-simple to testing/xpcshell; (Cv1-MC) Move the source harness directory, followup; r=ted.mielczarek
Move the 2 new files from bug 470914 too.

--HG--
rename : tools/test-harness/xpcshell-simple/example/location_load.js => testing/xpcshell/xpcshell-simple/example/location_load.js
rename : tools/test-harness/xpcshell-simple/example/unit/test_location.js => testing/xpcshell/xpcshell-simple/example/unit/test_location.js
2009-01-23 01:42:58 +01:00
Serge Gautherie 9d1dd38b45 Bug 446300 - move tools/test-harness/xpcshell-simple to testing/xpcshell; (Av1a-MC) Move the source harness directory; r=ted.mielczarek
--HG--
rename : tools/test-harness/xpcshell-simple/Makefile.in => testing/xpcshell/Makefile.in
rename : tools/test-harness/xpcshell-simple/README => testing/xpcshell/README
rename : tools/test-harness/xpcshell-simple/example/Makefile.in => testing/xpcshell/example/Makefile.in
rename : tools/test-harness/xpcshell-simple/example/unit/test_sample.js => testing/xpcshell/example/unit/test_sample.js
rename : tools/test-harness/xpcshell-simple/execute_test.js => testing/xpcshell/execute_test.js
rename : tools/test-harness/xpcshell-simple/head.js => testing/xpcshell/head.js
rename : tools/test-harness/xpcshell-simple/tail.js => testing/xpcshell/tail.js
rename : tools/test-harness/xpcshell-simple/test_all.sh => testing/xpcshell/test_all.sh
rename : tools/test-harness/xpcshell-simple/test_one.sh => testing/xpcshell/test_one.sh
2009-01-22 19:39:02 +01:00
Ted Mielczarek 09f20c7fbd bug 470914 - add a __LOCATION__ field to the global object for files loaded on the commandline in xpcshell. r=timeless 2009-01-18 12:01:15 -05:00
Dave Camp bc5b4a67f8 Bug 463046: Network connectivity checking breaks running netwerk unit tests and mochitests with no connection. r=bz, r=jwalden 2009-01-12 21:52:00 -08:00
Brendan Eich 305a0b19d7 Restore -j for shell tests run on tracemonkey repo. 2008-10-01 00:36:01 -04:00
Brendan Eich f45aa51289 Remove -j for shell tests in prep for m-c push. 2008-10-01 00:34:57 -04:00
Brendan Eich 2de8d832f1 Re-enable JIT enabling for unit tests in tracemonkey (r=mrbkap). 2008-09-24 18:59:17 -07:00
Gavin Sharp 1545d5ad61 Back out unintentional change that enabled JIT for m-c unit tests 2008-09-23 11:46:25 -04:00
Robert Sayre e909cac5bb Turn on JIT for unit tests. 2008-09-12 14:55:28 -04:00
Blake Kaplan fca246bc8d Revert accidental hunk from the merge changeset cf844bddfe57 that's causing unittest orange. r=shaver 2008-09-02 21:26:49 -07:00
Blake Kaplan 2c4a1c4007 Merge mozilla-central -> tracemonkey 2008-08-27 14:28:27 -07:00
Gervase Markham 9a8dbea4f4 Bug 452418 - change test scripts to use bash explicitly, as some of the code doesn't work in dash, which is the default /bin/sh in Ubuntu Hardy. Patch by gerv; rs=ted. 2008-08-27 17:19:24 +01:00
Robert Sayre a4683b66a2 Add test of (attempted) trace recording with an active call object 2008-08-25 17:12:41 -04:00
Serge Gautherie e3c558554f Bug 448858 – In <test_one.sh>, document new "check-one" call mode too
(Av1) Add command example
2008-08-02 11:59:04 +02:00
Serge Gautherie 578d4e9469 Bug 447043 – In check-one, new log files are not being scanned for PASS/FAIL
p=sgautherie r=ted.mielczarek
2008-08-01 22:07:14 +01:00
Mark Banner a04bc75fd2 Bug 446692 do_get_file fails on Windows with ".." in the file location. patch suggested by Josh Geenen <joshgeenen+bugzilla@gmail.com> updated by me,r=ted. 2008-07-24 16:33:41 +01:00
Alex Vincent 1a32f1e3a2 bug 443220 - check-one and check-interactive cannot run tests not in a unit/ directory. r=ted 2008-07-20 08:32:32 -04:00
Nick Thomas 8bf816cfd2 Bug 443090 - Unify unittest failures (xpcshell part) p=ted.mielczarek, r=bsmedberg 2008-07-16 17:45:42 +12:00
Shawn Wilsher c524ef757f Backed out changeset 12412df591a0 (bug 443220) 2008-07-08 18:34:01 -04:00
Alex Vincent 8cd5d31daa bug 443220 - check-one and check-interactive cannot run tests not in a unit/ directory. r=ted.mielczarek 2008-07-08 17:12:41 -04:00
Gavin Sharp 695087fdd5 Fix typo from bug 431745 2008-07-08 11:23:25 -04:00
Shawn Wilsher bc37ca7855 Bug 431745 - qm-centos5-02 is intermittently failing test_sleep_wake.js
This makes the test not fail if a specific failure point is met that can occur
when test execution is slow (like the tinderbox).
r=gavin
2008-07-08 10:22:33 -04:00
Gavin Sharp d279da150c Debugging followup (bug 431745) 2008-07-06 21:09:28 -04:00
Gavin Sharp 783e7e66f7 Temporary debugging patch to try and get to the bottom of the test_sleep_wake failures (bug 431745) 2008-07-06 18:39:37 -04:00
reed@reedloden.com 9836aa5b54 Bug 419615 - "use JSVERSION_LATEST in xpcshell" (use a context callback to set error-reporter and jsversion default) [p=crowder@fiverocks.com (Brian Crowder) r+a1.9=shaver] 2008-04-09 00:27:16 -07:00
dolske@mozilla.com a4f64e2b05 Bug 412216 - xpcshell tests (make check) don't work on Solaris. r=robc 2008-01-14 19:46:19 -08:00
sayrer@gmail.com bf0d4a7536 Bug 387522. Native JSON support. r=crowder/jst, sr=brendan 2007-12-27 13:34:03 -08:00
reed@reedloden.com 4b418ffafa Bug 404513 - "Add Makefile target to launch solo xpcshell test without interactive mode" [p=laurent@xulfr.org (Laurent Jouanneau) r=robcee sr=luser a1.9=beltzner] 2007-11-22 17:42:22 -08:00
jwalden@mit.edu 4fccc1dc71 Bug 353010 - Test for both the presence of a PASS string and a zero exit code when running xpcshell tests; otherwise, assertions at shutdown won't cause tests to fail. r=robcee, a=test-only change 2007-11-17 10:40:26 -08:00
sdwilsh@shawnwilsher.com b26245841c Bug 319768 - (XPathGenerator) - Implement XPath generator. Patch by Alex Vincent <ajvincent@gmail.com>. r=peterv, sr=jonas NPOTB 2007-08-03 16:00:39 -07:00
sdwilsh@shawnwilsher.com 1cd9105172 Bug 384235 - The check-interactive target doesn't load head_*, tail_* files for a test. Patch by Alex Vincent <ajvincent@gmail.com>. r=rcampbell 2007-06-26 17:51:33 -07:00
asqueella@gmail.com 72244a2fb8 Bug 381499 - Components.utils.import reports NS_ERROR_FAILURE when the file not existsswitch to NS_ERROR_FILE_NOT_FOUND and update testsr=sayrer, sr=brendan 2007-06-07 15:34:06 -07:00
rcampbell@mozilla.com febbcda3e8 Bug 382682, Add makefile target to launch interactive xpcshell for debugging. Patch by Alex Vincent 2007-06-06 12:40:30 -07:00
sdwilsh@shawnwilsher.com 9d5691f787 Bug 381633 - xpcshell test harness should use strict warnings in JavaScript. r=rcampbell 2007-05-25 16:25:14 -07:00
Olli.Pettay@helsinki.fi 2e1f32d275 xpcshell testcases for Bug 378247, p=Alex Vincent 2007-05-09 03:48:21 -07:00
jwalden%mit.edu 45bb59aa84 Bug 368942 - Add a do_get_file(path) function to xpcshell-simple, remove do_get_topsrcdir() as unnecessary. Also fix bug 368944 (invalid use of nsILocalFile API in test-harness) at the same time. r=sayrer 2007-02-03 01:46:09 +00:00
jwalden%mit.edu e7a34833ee Remove debugging output -- bug 351968 is done! (Really.) 2007-02-01 05:47:46 +00:00
jwalden%mit.edu f4468025ec Sigh...still a tinderbox not liking tests -- echoing relevant variables to see their values, still bug 351968 2007-01-31 18:16:22 +00:00
jwalden%mit.edu 8b17798260 Last commit for bug 351968, I promise! 2007-01-31 08:12:24 +00:00
jwalden%mit.edu c0fc6a93d5 Final try at bug 351968 -- make relative topsrcdirs work, fixing the last build errors. Because xpcshell tests are fragile, this commit intentionally breaks a test so that I can verify correctness; I'll remove the break when I verify the fix works correctly (via broken test error messages). 2007-01-31 07:22:12 +00:00
jwalden%mit.edu 7eeed473b4 Bug 351968 - Don't copy xpcshell tests and other data to $(DIST) -- a step toward being able to --enable-tests on Mozilla tinderboxen. r=bsmedberg 2007-01-31 03:25:46 +00:00
jwalden%mit.edu 0e8e968c7b Bug 342877 - Substantially revamp/rewrite the testing-only HTTP server used in necko unit tests, making it suitable for use in Mozilla tests which require files be stored on an HTTP server (e.g. because the test depends on certain HTTP headers being set or not set, the functionality uses HTTP, etc.) but which don't require that the server have a specified hostname. Docs, implementation, and tests (!) are in netwerk/test/httpserver/; if you have questions about using the server in unit tests or have some use case which the server could support better or doesn't support at all, CC me on the bug and I'll see how I can help. Huge (huge) thanks to biesi for the review of the huge patch. r=davel on test-harness changes, r=biesi on the server and test changes 2006-12-15 02:13:54 +00:00
davel%mozilla.com 14766623ad b=358540, r=rhelmer print log when test fails 2006-10-29 03:41:01 +00:00
davel%mozilla.com bf78ae2b0f b=352305 use DIRS not TOOL_DIRS for test-related targets
from discussion with bsmedberg on why
tools/test-harness/xpcshell-simple/example was not running correctly
2006-10-02 17:36:15 +00:00
davel%mozilla.com c8569c85b5 b=352305, on behalf of asqueella
r=davel
Mark more clearly the parts of the xpcshell unit test example that
need to be customized, and convert the existing example to an
in-place runnable example
2006-09-13 16:33:39 +00:00
davel%mozilla.com 410f2f877b fix typo from checkin of bug 352248 2006-09-12 14:06:17 +00:00
davel%mozilla.com a4013fc74c bug 352248, r=davel, checking in for asqueella
clean up code to established coding standards
2006-09-12 06:19:26 +00:00
cbiesinger%web.de 39d52561f2 Bug 346922 make assertions fatal when running unit tests
r=davel sr=darin
2006-08-03 18:41:25 +00:00
bzbarsky%mit.edu 59934d40c5 Add a do_check_true option. Tests only; not part of build so far. 2006-07-16 20:47:13 +00:00