reed%reedloden.com
933778d2a9
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]
...
git-svn-id: svn://10.0.0.236/trunk@249917 18797224-902f-48f8-a5cc-f745e15eee43
2008-04-09 07:27:16 +00:00
dolske%mozilla.com
b28abbb97d
Bug 412216 - xpcshell tests (make check) don't work on Solaris. r=robc
...
git-svn-id: svn://10.0.0.236/trunk@243093 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-15 03:46:19 +00:00
sayrer%gmail.com
68e2976099
Bug 387522. Native JSON support. r=crowder/jst, sr=brendan
...
git-svn-id: svn://10.0.0.236/trunk@242129 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-27 21:34:07 +00:00
reed%reedloden.com
951fda7a1c
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]
...
git-svn-id: svn://10.0.0.236/trunk@239849 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-23 01:42:22 +00:00
jwalden%mit.edu
ad81ead65c
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
...
git-svn-id: svn://10.0.0.236/trunk@239585 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-17 18:40:26 +00:00
sdwilsh%shawnwilsher.com
62362f67fd
Bug 319768 - (XPathGenerator) - Implement XPath generator. Patch by Alex Vincent <ajvincent@gmail.com>. r=peterv, sr=jonas NPOTB
...
git-svn-id: svn://10.0.0.236/trunk@231448 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-03 23:00:40 +00:00
sdwilsh%shawnwilsher.com
b3f28bed60
Bug 384235 - The check-interactive target doesn't load head_*, tail_* files for a test. Patch by Alex Vincent <ajvincent@gmail.com>. r=rcampbell
...
git-svn-id: svn://10.0.0.236/trunk@228797 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-27 00:51:33 +00:00
asqueella%gmail.com
daf644428e
Bug 381499 - Components.utils.import reports NS_ERROR_FAILURE when the file not exists
...
switch to NS_ERROR_FILE_NOT_FOUND and update tests
r=sayrer, sr=brendan
git-svn-id: svn://10.0.0.236/trunk@227675 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-07 22:34:06 +00:00
rcampbell%mozilla.com
fb65009426
Bug 382682, Add makefile target to launch interactive xpcshell for debugging. Patch by Alex Vincent
...
git-svn-id: svn://10.0.0.236/trunk@227600 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-06 19:42:46 +00:00
sdwilsh%shawnwilsher.com
869c28e479
Bug 381633 - xpcshell test harness should use strict warnings in JavaScript. r=rcampbell
...
git-svn-id: svn://10.0.0.236/trunk@227042 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-25 23:25:14 +00:00
Olli.Pettay%helsinki.fi
1a3ff58619
xpcshell testcases for Bug 378247, p=Alex Vincent
...
git-svn-id: svn://10.0.0.236/trunk@226180 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-09 10:48:21 +00:00
jwalden%mit.edu
6d7428a45a
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
...
git-svn-id: svn://10.0.0.236/trunk@219443 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-03 01:46:09 +00:00
jwalden%mit.edu
8f31e327b8
Remove debugging output -- bug 351968 is done! (Really.)
...
git-svn-id: svn://10.0.0.236/trunk@219315 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-01 05:47:46 +00:00
jwalden%mit.edu
566f07f0a6
Sigh...still a tinderbox not liking tests -- echoing relevant variables to see their values, still bug 351968
...
git-svn-id: svn://10.0.0.236/trunk@219276 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-31 18:16:22 +00:00
jwalden%mit.edu
7d3578115c
Last commit for bug 351968, I promise!
...
git-svn-id: svn://10.0.0.236/trunk@219240 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-31 08:12:24 +00:00
jwalden%mit.edu
8b7aba480c
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).
...
git-svn-id: svn://10.0.0.236/trunk@219238 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-31 07:22:12 +00:00
jwalden%mit.edu
83d07a5ce5
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
...
git-svn-id: svn://10.0.0.236/trunk@219219 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-31 03:25:46 +00:00
jwalden%mit.edu
6262239dc7
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
...
git-svn-id: svn://10.0.0.236/trunk@217001 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-15 02:13:54 +00:00
davel%mozilla.com
e295693c80
b=358540, r=rhelmer print log when test fails
...
git-svn-id: svn://10.0.0.236/trunk@214327 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-29 03:41:01 +00:00
davel%mozilla.com
968bc92af1
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
git-svn-id: svn://10.0.0.236/trunk@213004 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-02 17:36:15 +00:00
davel%mozilla.com
f9512b4c8b
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
git-svn-id: svn://10.0.0.236/trunk@210031 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-13 16:33:39 +00:00
davel%mozilla.com
ccc7c48528
fix typo from checkin of bug 352248
...
git-svn-id: svn://10.0.0.236/trunk@209859 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-12 14:06:17 +00:00
davel%mozilla.com
6769ca406b
bug 352248, r=davel, checking in for asqueella
...
clean up code to established coding standards
git-svn-id: svn://10.0.0.236/trunk@209839 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-12 06:19:26 +00:00
cbiesinger%web.de
89ea1cf2cc
Bug 346922 make assertions fatal when running unit tests
...
r=davel sr=darin
git-svn-id: svn://10.0.0.236/trunk@206498 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-03 18:41:25 +00:00
bzbarsky%mit.edu
fb1f4d46ac
Add a do_check_true option. Tests only; not part of build so far.
...
git-svn-id: svn://10.0.0.236/trunk@202199 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-16 20:47:13 +00:00
darin%meer.net
490842c588
fix test harness bustage
...
git-svn-id: svn://10.0.0.236/trunk@196275 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-10 21:32:48 +00:00
darin%meer.net
42edf059cf
landing patch for bug 326273 "Implement nsIThreadManager" (Mac portions by Mark Mentovai) with reviews from bienvenu, bsmedberg, bzbarsky, josh, roc, and ssieb
...
git-svn-id: svn://10.0.0.236/trunk@196254 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-10 17:30:15 +00:00
gerv%gerv.net
6563c50ab1
Bug 236613: change to MPL/LGPL/GPL tri-license.
...
git-svn-id: svn://10.0.0.236/trunk@193297 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-31 04:41:00 +00:00
davel%mozilla.com
b0b5b11f98
Bug 325470 - jssh driver test harness and libraries
...
git-svn-id: svn://10.0.0.236/trunk@188678 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-01 18:41:49 +00:00
cbiesinger%web.de
38264033b2
bug 325245 fix make check on linux
...
r=davel
git-svn-id: svn://10.0.0.236/trunk@188471 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-30 18:44:24 +00:00
davel%mozilla.com
e05bd6f036
Unify necko and content test harnesses. Create common versions of test harness
...
files in tools/test-harness/xpcshell-simple, and modify the existing
instances to use the common files. Bug 322894, r=darin,bzbarsky,
sr=benjamin
git-svn-id: svn://10.0.0.236/trunk@188364 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-27 20:56:16 +00:00