Commit Graph

207 Commits

Author SHA1 Message Date
Chris Jones
0023bdaa7d Backed out changeset 3deeb3c83c77 2009-05-02 21:13:57 -07:00
Chris Jones
d2b61202f4 Bug 456272: deadlock detector improvements r=brendan 2009-05-02 20:54:05 -07:00
Chris Jones
5ef90c82b9 bug 486793: add programmatic control of profiler to xpcom unit tests. r=bsmedberg 2009-04-24 14:47:45 -07:00
Jim Mathies
ea6aef8770 Bug 489285 - Disable file attrib tests for Bug 403014 due to unit test failure. 2009-04-21 01:47:54 -05:00
Jim Mathies
704b5a2912 Bug 403014 - Windows "Don't Index" bit set on download files. (r=sdwilsh,dougt) 2009-04-20 20:06:03 -05:00
Chris Jones
002151e9b2 Bug 58904: Create strong types for synchronization primitives. r=bsmedberg. 2009-04-18 18:54:23 -07:00
Dave Townsend
5aacfd970c Bug 480427: Remove nsIProcess2 from trunk. r=bsmedberg 2009-04-16 16:46:10 +01:00
Andrew Sutherland
bffe34f8ab Bug 487551 - nsTArray.IndexOf may scan beyond array bounds for non-zero start argument. unit test that fails without patch, succeeds with patch. r=bsmedberg 2009-04-10 18:08:08 -07:00
Peter Annema
af171a53a8 Bug 485328: nsLocalFileUnix::GetNativeTarget() is broken for symlinks and (dangling) symlinks. r=neil, sr=bsmedberg 2009-04-07 04:38:41 -07:00
Peter Annema
0e102000be Bug 485325: nsLocalFileUnix::IsSymlink() should check result of lstat(). r=joshmoz, sr=bsmedberg 2009-04-07 04:38:23 -07:00
Peter Annema
70d10e77f6 Bug 484505: nsLocalFileUnix::Remove(PR_TRUE) shouldn't ever follow symlinks. r=joshmoz, sr=bsmedberg 2009-04-07 02:20:05 -07:00
Robert O'Callahan
83e096b509 Fix libxul test bustage, really 2009-04-06 14:19:41 +12:00
Robert O'Callahan
5bde4bb05f Backout incorrectly pushed changes 2009-04-06 14:19:27 +12:00
Robert O'Callahan
1ca364a2d0 Fix libxul test bustage
--HG--
extra : rebase_source : 49e42436893e10cae0e70cc5468b4d95a47cb07d
2009-04-06 14:15:26 +12:00
Robert O'Callahan
5ed0163b93 Bug 484921. Create TimeDuration/TimeStamp API that never rolls over and provides better typechecking than PR_IntervalTime. r=bsmedberg,cgj 2009-04-06 11:49:48 +12:00
Peter Annema
52721de1e5 Bug 207973 follow-up: fix comment.
Also, changeset fce0de0377e5 had r=bsmedberg, r=ted.
2009-04-05 04:10:26 -07:00
Peter Annema
f8f08581db Bug 207973: Directory listing errors when a bad soft link (symlink) is present
Test various operations on symlinks. See also bugs 484297, 484303, 484505, 485325, 485328
2009-04-04 13:48:29 -07:00
Arpad Borsos
e79293b2c0 Bug 474369 - get rid of nsVoidArray, xpcom part; r=bsmedberg 2009-04-03 18:43:08 +02:00
Dave Townsend
3b5be23309 Bug 480427: Add a way to run a process in a background threadd. r=bsmedberg 2009-03-25 08:57:21 +00:00
Robert O'Callahan
46307c1705 Bug 482942. Tests for nsILocalFile implementations. Also changes nsLocalFileUnix::MoveTo to update the object to refer to the destination, matching other platforms' behaviour. r=bsmedberg
--HG--
rename : xpcom/tests/nsIFileTest.cpp => xpcom/tests/TestFile.cpp
2009-03-24 13:44:37 +13:00
Ted Mielczarek
aaa58f8d73 Bug 421611 - Need to be able to run tests on arbitrary build - add packaging bits for xpcshell. r=bsmedberg
--HG--
rename : intl/strres/tests/397093.properties => intl/strres/tests/unit/397093.properties
rename : intl/strres/tests/strres.properties => intl/strres/tests/unit/strres.properties
2009-03-21 11:20:00 -04:00
Ted Mielczarek
dcc2d8f492 bug 482085 - fix all xpcshell tests to not reference files from the srcdir. r=bsmedberg,waldo
--HG--
rename : toolkit/components/downloads/test/downloads.empty.sqlite => browser/components/privatebrowsing/test/unit/downloads.empty.sqlite
rename : dom/src/json/test/fail1.json => dom/src/json/test/unit/fail1.json
rename : dom/src/json/test/fail10.json => dom/src/json/test/unit/fail10.json
rename : dom/src/json/test/fail11.json => dom/src/json/test/unit/fail11.json
rename : dom/src/json/test/fail12.json => dom/src/json/test/unit/fail12.json
rename : dom/src/json/test/fail13.json => dom/src/json/test/unit/fail13.json
rename : dom/src/json/test/fail14.json => dom/src/json/test/unit/fail14.json
rename : dom/src/json/test/fail15.json => dom/src/json/test/unit/fail15.json
rename : dom/src/json/test/fail16.json => dom/src/json/test/unit/fail16.json
rename : dom/src/json/test/fail17.json => dom/src/json/test/unit/fail17.json
rename : dom/src/json/test/fail18.json => dom/src/json/test/unit/fail18.json
rename : dom/src/json/test/fail19.json => dom/src/json/test/unit/fail19.json
rename : dom/src/json/test/fail2.json => dom/src/json/test/unit/fail2.json
rename : dom/src/json/test/fail20.json => dom/src/json/test/unit/fail20.json
rename : dom/src/json/test/fail21.json => dom/src/json/test/unit/fail21.json
rename : dom/src/json/test/fail22.json => dom/src/json/test/unit/fail22.json
rename : dom/src/json/test/fail23.json => dom/src/json/test/unit/fail23.json
rename : dom/src/json/test/fail24.json => dom/src/json/test/unit/fail24.json
rename : dom/src/json/test/fail25.json => dom/src/json/test/unit/fail25.json
rename : dom/src/json/test/fail26.json => dom/src/json/test/unit/fail26.json
rename : dom/src/json/test/fail27.json => dom/src/json/test/unit/fail27.json
rename : dom/src/json/test/fail28.json => dom/src/json/test/unit/fail28.json
rename : dom/src/json/test/fail29.json => dom/src/json/test/unit/fail29.json
rename : dom/src/json/test/fail3.json => dom/src/json/test/unit/fail3.json
rename : dom/src/json/test/fail30.json => dom/src/json/test/unit/fail30.json
rename : dom/src/json/test/fail31.json => dom/src/json/test/unit/fail31.json
rename : dom/src/json/test/fail32.json => dom/src/json/test/unit/fail32.json
rename : dom/src/json/test/fail33.json => dom/src/json/test/unit/fail33.json
rename : dom/src/json/test/fail34.json => dom/src/json/test/unit/fail34.json
rename : dom/src/json/test/fail4.json => dom/src/json/test/unit/fail4.json
rename : dom/src/json/test/fail5.json => dom/src/json/test/unit/fail5.json
rename : dom/src/json/test/fail6.json => dom/src/json/test/unit/fail6.json
rename : dom/src/json/test/fail7.json => dom/src/json/test/unit/fail7.json
rename : dom/src/json/test/fail8.json => dom/src/json/test/unit/fail8.json
rename : dom/src/json/test/fail9.json => dom/src/json/test/unit/fail9.json
rename : dom/src/json/test/json2.js => dom/src/json/test/unit/json2.js
rename : dom/src/json/test/pass1.json => dom/src/json/test/unit/pass1.json
rename : dom/src/json/test/pass3.json => dom/src/json/test/unit/pass3.json
rename : testing/xpcshell/example/location_load.js => testing/xpcshell/example/unit/location_load.js
rename : toolkit/components/commandlines/test/unit/unix/test_bug410156.js => toolkit/components/commandlines/test/unit_unix/test_bug410156.js
rename : toolkit/components/commandlines/test/unit/win/test_bug410156.js => toolkit/components/commandlines/test/unit_win/test_bug410156.js
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug257155/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug257155/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug299716_2/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug299716_2/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug299716_a_1/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug299716_a_1/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug299716_a_2/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug299716_a_2/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug299716_b_1/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug299716_b_1/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug299716_b_2/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug299716_b_2/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug299716_c_1/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug299716_c_1/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug299716_c_2/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug299716_c_2/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug299716_d_1/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug299716_d_1/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug299716_d_2/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug299716_d_2/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug299716_e_1/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug299716_e_1/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug299716_e_2/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug299716_e_2/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug299716_f_1/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug299716_f_1/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug299716_f_2/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug299716_f_2/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug299716_g_1/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug299716_g_1/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug299716_g_2/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug299716_g_2/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug324121_1/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug324121_1/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug324121_2/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug324121_2/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug324121_3/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug324121_3/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug324121_4/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug324121_4/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug324121_5/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug324121_5/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug324121_6/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug324121_6/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug324121_7/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug324121_7/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug324121_8/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug324121_8/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug324121_9/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug324121_9/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug335238_1/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug335238_1/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug335238_2/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug335238_2/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug378216_1/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug378216_1/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug378216_10/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug378216_10/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug378216_11/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug378216_11/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug378216_12/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug378216_12/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug378216_13/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug378216_13/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug378216_2/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug378216_2/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug378216_3/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug378216_3/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug378216_4/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug378216_4/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug378216_5/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug378216_5/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug378216_6/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug378216_6/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug378216_7/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug378216_7/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug378216_8/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug378216_8/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug378216_9/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug378216_9/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug394300_1/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug394300_1/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug394300_2/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug394300_2/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug396129_a_1/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug396129_a_1/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug396129_a_2/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug396129_a_2/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug396129_b_1/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug396129_b_1/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug396129_b_2/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug396129_b_2/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug396129_c_1/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug396129_c_1/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug396129_c_2/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug396129_c_2/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug396129_d_1/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug396129_d_1/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug396129_d_2/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug396129_d_2/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug397778/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug397778/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug425657/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug425657/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug428341_1/README => toolkit/mozapps/extensions/test/addons/test_bug428341_1/README
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug428341_2/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug428341_2/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug428341_3/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug428341_3/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug428341_4/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug428341_4/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug428341_5/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug428341_5/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug428341_6/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug428341_6/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug428341_7/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug428341_7/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug428341_8/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug428341_8/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug428341_9/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug428341_9/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug436207/install.js => toolkit/mozapps/extensions/test/addons/test_bug436207/install.js
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug463819_1/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug463819_1/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug463819_2/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug463819_2/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug463819_3/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug463819_3/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug463819_4/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug463819_4/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug463819_5/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug463819_5/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug463819_6/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug463819_6/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug463819_7/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug463819_7/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug463819_8/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug463819_8/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug463819_9/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug463819_9/install.rdf
2009-03-21 11:20:00 -04:00
Dave Townsend
7bcb659b25 Bug 482482: Migrate version comparator tests to xpcshell. r=bsmedberg 2009-03-19 08:35:17 +00:00
Dave Townsend
9f624a2b99 Bug 482482: Migrate version comparator tests to xpcshell. r=bsmedberg 2009-03-19 08:32:56 +00:00
Dave Townsend
4eacb936e1 Bug 453185: nsIProcess run fails with NS_ERROR_FILE_EXECUTION_FAILED when running an exe with a manifest that specifies requestedExecutionLevel level=requireAdministrator on Vista. r=bsmedberg 2009-03-18 11:00:20 +00:00
Dave Townsend
2956b59007 Bug 483626: nsIProcess.isRunning doesn't fail correctly and should be boolean. r=bsmedberg 2009-03-18 10:59:32 +00:00
James Boston
091cdf56f0 Improve nsIProcess, fix nsIProcess.kill(). b=442393 r=bsmedberg 2009-03-09 12:47:39 -04:00
James Boston
11d164cec0 Back out patch for bug 442393. 2009-03-06 16:42:07 -06:00
James Boston
9742fc6f99 Improve nsIProcess, fix nsIProcess.kill(). b=442393 r=bsmedberg 2009-03-06 16:19:09 -06:00
Walter Meinl
5efd9bf5b9 Bug 426639 - Fix the test harness to work on OS/2; xpcom/test/Makefile; r=benjamin 2009-03-05 19:03:14 +01:00
Neil Rashbrook
e2e4ed438f Bug 479057 Concatenating empty strings can result in bogus copying r=bsmedberg 2009-03-04 09:50:22 +00:00
Nickolay Ponomarev
3ba90a7bdc Disable non-windows part of the test, since it fails on mac sometimes.
test-only change, no review, but discussed in https://bugzilla.mozilla.org/show_bug.cgi?id=478086#c13
2009-03-04 12:25:19 +03:00
Nickolay_Ponomarev
fa24740272 Bug 478086 - enumerating drives/disks on Win32 using nsIFile.directoryEntries returns a single string with embedded NULLs in it; r=benjamin 2009-02-26 18:34:07 +01:00
Benjamin Smedberg
f254f1b0b4 Static analysis test cases for bug 479441 2009-02-24 10:11:06 -05:00
L. David Baron
e163f9af14 Fix the pass() function to use the standard syntax too. (Bug 477512) r=jwalden 2009-02-10 16:56:32 -08:00
L. David Baron
018be96174 TestHarness.h should give errors with TEST-UNEXPECTED-FAIL. (Bug 477512) r=jwalden 2009-02-10 14:05:28 -08:00
Ted Mielczarek
bafdea3f08 bug 476919 - nsLocalFileOSX::IsSymlink is broken - unit test 2009-02-05 08:15:32 -05:00
Dão Gottwald
ea2cd336bb Backed out changeset 2df29cb1ed93 2009-02-07 15:07:36 +01:00
Tyler Downer
50800d3098 Bug 471930 - Strip User Docs from XPCOM. r=bsmedberg 2009-02-07 13:54:47 +01:00
Daniel Holbert
2a7d88e05a Bug 473236 - Remove executable bit from files that don't need it. (Only changes file mode -- no code changes.) r=bsmedberg 2009-01-21 22:55:08 -08:00
Fred Jendrzejewski
8759b06c00 Bug 466622. Replace nsCStringArray with nsTArray<nsCString> for more consistent code and fewer heap allocations. r+sr=roc,r=bsmedberg
--HG--
extra : rebase_source : b963bf5de9d9c445b14620479691482512e0faf2
2009-01-22 17:15:34 +13:00
Benjamin Smedberg
5fc3ec0ea7 Bug 473587 - nsTString::ToInteger can overflow. Detect and prevent this condition, r+sr=dbaron
--HG--
extra : rebase_source : b0c9f51f2860aa1008c447334fa9075dd0b8e718
2009-01-15 13:44:46 -05:00
Benjamin Smedberg
720c4f5577 Bug 472348 - Some unused variables found by combing the warning database, rs=bz 2009-01-06 14:25:58 -05:00
Benjamin Smedberg
829d712e59 Disable the outparams warning "written on NS_FAILED"... we should focus first on the "not written on NS_SUCCEEDED" warnings, which are generally more serious. No bug, NPODB, CLOSED TREE a=johnath 2008-12-09 17:34:48 -05:00
Jeff Walden
6fd6a6f04e Bug 397227 - So the first failure is fixed, but now a Windows box is acting up, so let's try an obvious fix. r=redness, whose patience is being severely tested 2008-12-04 01:13:14 -08:00
Jeff Walden
f9ce0e9aa7 Bug 397227 - Reduce the effort needed to write C++ tests. r=ted 2008-12-03 22:25:00 -08:00
Benjamin Smedberg
cfb7d3a3c4 When operator new is used on a class with no constructor it generates an AGGR_INIT_EXPR, not a CALL_EXPR... with testcase. NPODB, static-checking only. 2008-12-03 11:49:54 -05:00
Benjamin Smedberg
6925784a52 I switched the stack checker to emit warnings instead of errors. Update the testcases expected results to match. 2008-12-03 11:49:54 -05:00
Justin Wood
b2458c170c Bug 463824, Introduce GLOBAL_DEPS to build system
r=ted, a1.9.1=beltzner [js bits rs=sdwilsh]
2008-11-27 18:26:44 -08:00
Shawn Wilsher
19fcb4b6ab Backed out changeset 87f6ae0c4324 (bug 435474) for orange. 2008-11-27 13:15:18 -08:00
Justin Wood
293c89f577 Bug 463824, Introduce GLOBAL_DEPS to build system
r=ted, a1.9.1=beltzner
2008-11-27 12:27:41 -08:00
Jim Blandy
6721e0d7d2 Bug 462451: Don't be confused by .deps dirs in the source tree. r=bsmedberg
$(MDDEPDIR) needs to be created in the build tree, but if make rules
list $(MDDEPDIR) as a dependency, then the VPATH search will tend to
find dependency directories in source trees if the source tree has
been configured in the past.  So use $(CURDIR)/$(MDDEPDIR) instead.

Some directory Makefiles have been adding $(MDDEPDIR) to MAKE_DIRS and
GARBAGE_DIRS explicitly, since they're not setting any of the
variables that would cause config/rules.mk to create $(MDDEPDIR)
automatically.  Those makefiles would have to use the $(CURDIR) trick
to defeat the VPATH search, too.  Instead, have rules.mk check an
additional variable NEED_MDDEPDIRS, and let the makefiles set that;
this keeps the magic in one place.
2008-11-10 12:55:46 -08:00
Serge Gautherie
89718529d9 Bug 457046 - Decide what to do with <TestPipes.cpp> |#if 0|'ed code; (Cv1) Remove obsolete |#if 0| code; r=benjamin 2008-10-20 19:24:43 +02:00
Arpad Borsos
8b11d938d2 Bug 456388 - Remove PR_STATIC_CALLBACK and PR_CALLBACK(_DECL) from the tree; r+sr=brendan 2008-10-10 17:04:34 +02:00
Serge Gautherie
1947a775cd Bug 457046 - Decide what to do with <TestPipes.cpp> |#if 0|'ed code; Bv1; r=benjamin 2008-10-08 02:27:05 +02:00
Serge Gautherie
73fa1c244f Bug 457046 - Decide what to do with <TestPipes.cpp> |#if 0|'ed code; Av1; r=benjamin 2008-10-08 02:24:31 +02:00
Serge Gautherie
7bafee453a Bug 453164 - 'TestServMgr' : "mFreeCount : LEAKED 233 + mAdoptFreeCount : LEAKED 7"; r=benjamin 2008-10-08 02:22:01 +02:00
Serge Gautherie
b418b386cd Backout Makefile.in (extra) part of 19725:cdfaac3ff235
Bug 453137 - 'TestPipes' |TestChainedPipes()| leaks its streams; Av2; r=benjamin
which broke "--enable-debug --enable-libxul" builds; r=benjamin
2008-09-27 02:59:53 +02:00
Serge Gautherie
364144a835 Bug 453137 - 'TestPipes' |TestChainedPipes()| leaks its streams; Av2; r=benjamin 2008-09-25 20:06:13 +02:00
Ted Mielczarek
086eaca58f bug 455503 - better tests for nsIMutableArray. r=bsmedberg 2008-09-22 06:41:55 -04:00
Taras Glek
30aa910a7e bug 432917: MUST_FLOW_THROUGH static check. r=bsmedberg 2008-09-08 11:01:22 -07:00
Serge Gautherie
979070b411 Bug 449281 - In <TestPipe.cpp>, "warning C4273: 'NS_NewPipe2' : inconsistent dll linkage", when without |--enable-libxul|; Av3; r=benjamin 2008-09-06 18:03:38 +02:00
Ben Turner
a436facf6a Bug 449822 - "Service manager can create two instances of a service". r=bsmedberg. 2008-09-04 15:44:41 -07:00
Bo Yang
d406dbd071 Bug 451525 - Expand library names in Makefile, r=bsmedberg, sr=shaver 2008-09-04 22:45:00 +02:00
Benjamin Smedberg
71120220a3 Bug 453349 - stack-only checker skips conditional blocks, r=dmandelin 2008-09-03 13:00:13 -04:00
Benjamin Smedberg
8bc1d968b3 Followup to bug 451079 to move/add testcase files.
--HG--
rename : xpcom/tests/static-checker/e3.cpp => xpcom/tests/static-checker/onull2.cpp
2008-09-02 13:36:19 -04:00
HÃ¥kan Waara
c0030bd82e better way to make a xpcshell mac-only without any #ifdefs available. 2008-08-26 11:40:43 +02:00
HÃ¥kan Waara
1e6a760ca0 Bug 442401 – nsILocalFile::IsPackage does not consider a Keynote bundle (.key) to be a package. r=josh, sr=roc 2008-08-26 11:17:13 +02:00
Doug Turner
3180f836cc Bug 451672 - Fix nsIMemory::IsLowMemory on Maemo. r=stuart 2008-08-15 02:12:45 -07:00
Serge Gautherie
c6330c99ea Bug 190177 – ASSERTION: received wrong amount: 'received == writeCount', file .../xpcom/tests/TestPipes.cpp, line 273. r=shaver, sr=bsmedberg 2008-08-24 12:16:33 -07:00
David Mandelin
8c7d60a450 Bug 451079: allow setting outparams to null on failure 2008-08-19 11:17:13 -07:00
Serge Gautherie
e04011c75f Bug 450133 - fix nits in TestHashtables.cpp, r=bsmedberg 2008-08-18 19:38:50 +02:00
Benjamin Smedberg
3d4cef8bb3 Bug 450137 - Add namespaces to multiple classes with the same name in xpcom/tests, to avoid automated tool confusion, r=dbaron 2008-08-18 12:45:38 -04:00
Benjamin Smedberg
28739e32aa Don't run the unit test for bug 224692 - it's creating a directory that the tinderbox then can't remove 2008-08-14 13:09:15 -04:00
Aaron Nowack
0a443ab84a Testcase for bug 224692, r=bsmedberg 2008-08-14 11:48:06 -04:00
Manish Singh
d2c44cd814 Bug 442870 – CompressWhitespace can freeze the browser. r=bsmedberg 2008-08-14 12:16:24 +02:00
Mike Hommey
e5e6493be7 Bug 438688 – String formatter fails to format the same argument twice. r=bsmedberg 2008-08-14 12:11:25 +02:00
Justin Dolske
6321402495 Reland bug 121341. 2008-08-13 21:30:45 -07:00
Justin Dolske
91ec607e05 Backed out changeset db55605b2a4c (relanding bug 121341) 2008-08-13 21:30:12 -07:00
Dave Townsend
a05706f1bf Backout of bug 121341 2008-08-13 21:45:08 +01:00
Dave Townsend
ba0b5395d8 Backed out changeset cc82f602d986 2008-08-13 21:44:20 +01:00
Ben Turner
9c28406278 Bug 443874 - "Need a hook for thread creation and destruction in thread pool." r=bsmedberg, jst. Test shouldn't hang now. 2008-08-11 17:01:47 -07:00
Benjamin Smedberg
e8fa485944 From bug 449561, bug 445949, and others: let's just ditch nsDerivedSafe since the class of errors it's trying to protect against are uncommon in today's world. r=dbaron 2008-08-11 11:05:58 -04:00
Michal Novotny
8ed418dcef Bug 121341. Switch nsPersistentProperties::Load from reading a char at a time to reading a block at a time, with a state-machine parser and all. r=bsmedberg, sr=bzbarsky 2008-08-07 17:05:19 -04:00
Dave Townsend
d979d4da91 Backout of bug 443874: Need a hook for thread creation and destruction in thread pool
Removes the following changesets:
01e24ad20f35
ebf77231b06e
f4b859edddd2
22201dfdb1f3
f8762f56712f
2c6f51bf3bed
c8ac37904c16
2008-07-25 10:21:04 -04:00
Ben Turner
4401266fe0 Bug 443874 - Bah, disable hanging test on windows again. 2008-07-24 22:33:53 -07:00
Ben Turner
3a1577699c Bug 443874 - Beef up windows test case to see what could be causing the hang. 2008-07-24 21:36:34 -07:00
Ben Turner
e7206ffbb3 Bug 443874 - Disable test on windows until i can figure out why it's hanging. 2008-07-24 14:17:55 -07:00
Ben Turner
c9575547ec Bustage fix, bug 443874. 2008-07-24 11:17:42 -07:00
Ben Turner
8219c0feb2 Bustage fix, bug 443874. 2008-07-24 11:10:49 -07:00
Ben Turner
42fd53c413 Bug 443877 - "Need a way to point timers at a different event target". r=bsmedberg. 2008-07-24 10:20:33 -07:00
Ben Turner
591253915b Bug 443874 - "Need a hook for thread creation and destruction in thread pool". r=bsmedberg. 2008-07-24 10:18:57 -07:00
Reed Loden
478f37cda4 Backed out changeset 88a91e1e9a3f 2008-07-12 16:32:25 -05:00
Jeff Walden
abf8b90dee Bug 397227 - "Reduce the effort needed to write C++ tests" [r=ted/luser] 2008-07-12 16:27:27 -05:00
David Mandelin
1ebc6e6f68 Bug 443205: outparams.js needs to consider void-return funcs as nofail, r=bsmedberg 2008-07-09 10:35:29 -07:00
David Mandelin
f6af06076a Bug 442982: outparams.js now understands func ptr typedef attributes, r=bsmedberg 2008-07-01 14:24:58 -07:00
David Mandelin
3dac3ac31c Bug 442829: outparams.js handling nsresults returned as &rv, r=bsmedberg 2008-07-01 14:22:49 -07:00
Benjamin Smedberg
b9a9e3d81f Bug 425454 - whitelist placement-new for stack classes. Also uses treehydra analysis so we don't have to require a constructor for stack classes any more. r=taras 2008-06-30 12:44:06 -04:00
Jeff Walden
6773debbac Bug 421576 - Unpaired surrogate handled wrongly (Acid3 #68). acid3++ r=dbaron 2008-06-02 21:29:00 -04:00
Jeff Walden
b0c45525f5 Bug 434074 - TestRegistrationOrder test leaks stuff because it uses raw pointers; fix the leaks in case we want to do no-leak assertions in C++ tests sometime. r=dbaron 2008-06-02 21:28:59 -04:00