20 Commits

Author SHA1 Message Date
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