Dão Gottwald
54cbc60d3a
Backed out changeset 4c8952703e77
2010-03-05 13:34:44 +01:00
Mike Hommey
1c240791e6
Bug 543438 - TestBlockingProcess relies on stdin to "block". r=dtownsend
2010-03-05 13:02:22 +01:00
Mike Hommey
ca86f42a9a
Bug 543464 - Cleanup after make check in xpcom/tests. r=bsemdberg
2010-03-03 16:25:14 +01:00
Chris Jones
29f7a03ce4
Bug 541185: Fall back on clock_getres() when resolution detection fails, and remove bogus upper-bound sanity check. r=roc
2010-03-01 15:44:05 -06:00
Jonas Sicking
89ab174884
Bug 549098: Work around expected asserts by disabling tests in debug builds. r=dbaron
2010-02-27 13:15:51 -08:00
Neil Rashbrook
b8cb130a03
Bug 545730 Add nsRefPtr overload for CallQueryInterface r=dbaron
2010-02-27 16:01:53 +00:00
Jonas Sicking
21ba749fb2
Bug 541245 part 4: Be consistent about prohibited characters such as 0xFFFE in UTF8<->UTF16 conversion code. r=smontagu
2010-02-23 09:38:10 -08:00
Jonas Sicking
912342472e
Bug 541245 part 3: Add UTF8/UTF16 encoding/decoding/comparison tests. r=smontagu
2010-02-23 09:38:10 -08:00
Saint Wesonga
5d2c924b93
Bug 523417 - "warning: invoking macro NS_ENSURE_SUCCESS argument 2: empty macro arguments are undefined in ISO C90 and ISO C++98" in DOM worker code. r=jst
2010-02-22 18:41:21 +01:00
Neil Rashbrook
342037afb9
Bug 543001 Make nsTArray::GreatestIndexLtEq easier to use r=bsmedberg
2010-02-20 15:26:12 +00:00
Justin Dolske
3e1253bd35
Bug 541594 - extend nsIINIParser to allow writing INI files. p=dolske+benjamin, r=benjamin, r=dolske
2010-02-09 17:05:31 -08:00
Jae-Seong Lee-Russo
082e12c87c
Bug 517553: Remove '=='/'!=' 'PR_FALSE'/'PR_TRUE'
2010-02-07 10:52:43 -05:00
Daniel Holbert
b9edc442d1
fix for thunderbird bustage from Bug 474743. (need <stdio.h> in new xpcshell test for 'printf' usage)
2010-01-12 12:56:16 -08:00
Brian Birtles
888c897c0d
Bug 474743 Prequel: Implement nsTPriorityQueue. r=dholbert r=roc sr=bsmedberg
2010-01-12 12:00:49 -08:00
Neil Rashbrook
b871244cc3
Bug 538476 Allow ToInteger to take an nsresult* parameter to match the external string API r=bsmedberg
2010-01-08 23:43:50 +00:00
Chris Jones
c10f70f476
Bug 522126, part 1: refactor TimeStamp/TimeDuration so that platform-specific implementations can be added. r=roc
2010-01-07 11:21:23 -06:00
Metal Sonic
80ae9b3620
Bug 507387 - fix copyright holder; Mozilla Corporation -> Mozilla Foundation. r=gerv.
2009-12-21 21:50:30 +00:00
L. David Baron
531cd50e74
Run ShowSSEConfig as a unit test so that the output shows up in unit test logs.
2009-12-13 19:40:55 -08:00
L. David Baron
7b16d7e3f7
Add SSE.h to consolidate code for Intel CPU feature detection at both compile-time and run-time. (Bug 513422) r=vlad
2009-12-11 08:13:19 -08:00
Henri Sivonen
3ad04b51a7
Bug 514661 - Introduce scoped atom tables for the HTML5 parser. r=bsmedberg, sr=dbaron.
...
--HG--
extra : rebase_source : 12e9731c0d86691cde40fc1ea4cc5ab4b3fb5168
2009-09-18 18:13:10 +03:00
Chris Jones
84a1bad070
Fix build bustage
2009-11-16 14:32:03 -06:00
Chris Jones
213fbd7685
bug 525573: in --enable-tracemalloc builds, initialize tracemalloc in XPCOM unit tests so as to support multi-threaded tests. r=jwalden
2009-11-16 12:55:39 -06:00
Jae-Seong Lee-Russo
d9a2b38712
xpcom/tests/unit/test_localfile.js.
...
Bug 524781 - xpcshell-tests: turn on strict & werror by default.
r=doug.turner.
2009-11-15 12:20:38 +01:00
Neil Rashbrook
63ff447dc4
Bug 520366 AppendInt only handles 32 bit signed ints r=bsmedberg
2009-11-04 21:33:23 +00:00
Marco Bonardo
86d4f8bdcf
Bug 525245 - system-info should expose hardware specs to JS consumers, r=bsmedberg
2009-11-04 15:41:37 +01:00
Josh Aas
c4da1c3e8e
Implement nsIFile::IsHidden without FSRefs on Mac OS X. Fixes failures on virtual file system objects. b=491688 r=bsmedberg
2009-11-02 16:15:40 -05:00
Ginn Chen
f4c4e9adf3
Bug 522157 Make -D__FUNCTION__=__func__ global for Sun Studio on Solaris r=benjamin
2009-10-26 14:25:40 +08:00
Ted Mielczarek
5860669cc9
bug 523378 - TestDeadlockDetector failing on OS X. disable it for now.
2009-10-20 13:57:48 -04:00
Karsten Düsterloh
2320dc79db
Backed out changeset 8dfd3a7cab91 (Bug 364864) due to Leak test red
2009-10-05 23:33:06 +02:00
Karsten Düsterloh
bc55115201
Bug 364864: binary testcase; r=bsmedberg
2009-10-05 21:12:43 +02:00
Benjamin Smedberg
9a64b9ce7e
Fix the static analysis error: m.isVirtual is a tri-state undefined, true, or "pure", and I didn't take that into account when writing the original NS_OVERRIDE analysis.
2009-10-04 14:35:33 -04:00
Shawn Wilsher
d646dc8afa
Bug 517604 - TestHarness.h should provide a directory provider for a profile directory.
...
Automagically provide a profile directory for native code tests.
r=bsmedberg
2009-09-24 10:49:45 -07:00
Shawn Wilsher
1b0b7b4269
Backed out changeset 467f14a11325 (bug 517604)
2009-09-30 17:03:37 -07:00
Shawn Wilsher
a431274454
Bug 517604 - TestHarness.h should provide a directory provider for a profile directory.
...
Automagically provide a profile directory for native code tests.
r=bsmedberg
2009-09-24 10:49:45 -07:00
Josh Aas
c823d59870
Fix test_symlinks.js failure on Mac OS X, match UNIX native target code (use readlink, not realpath). b=516799 r=bsmedberg
2009-09-22 13:37:30 -04:00
Benjamin Smedberg
b4cc34446e
Bug 500870 - NS_OVERRIDE indicates that a method must override a base-class method, r=taras
...
--HG--
extra : rebase_source : 3dc3327030dc2cdf45bdd9170c5e9d02908c0d0c
2009-09-04 11:21:31 -04:00
Taras Glek
a7a24a1627
Bug 512726 - Add NS_MUST_OVERRIDE static annotation. r=bsmedberg
...
--HG--
extra : rebase_source : 4f3034c93cc76c7504d1cfb21953c495c35d068f
2009-09-18 10:26:13 -07:00
Josh Aas
dbba764d30
Disable test_symlinks.js temporarily as it fails under the 10.5 SDK. b=516799
2009-09-15 16:46:46 -04:00
Benjamin Smedberg
ba372f3a4c
Followup to bug 398573 - remove REQUIRES from the tree since it is no longer used... automatically generated patch, rs=ted
2009-08-25 08:59:31 -07:00
Neil Rashbrook
16b1fe13c8
Bug 499027 Copying an empty string to a new string allocates a buffer r=dbaron sr=jst
2009-08-14 12:03:05 +01:00
Benjamin Smedberg
6863d9f3f4
Resolve the static-analysis bustage from bug 498938 by recognizing COND_EXPR.
2009-07-27 10:47:22 -04:00
Makoto Kato
152810b974
Bug 499262 - Remove Metoworks Code for OS 9. r+sr=bsmedberg
2009-07-24 19:11:23 +09:00
Shawn Wilsher
4c6bbe05cc
Bug 494828 - Stop using our own mutexes and use SQLite's where possible.
...
Part 1: Create helper objects to make using sqlite3_mutex safer and easier.
r=cjones
2009-07-22 15:18:33 -07:00
Chris Jones
0c29675086
bug 490072: upgrade XPCOM unit tests to new thread sync API. drop nsAutoLock test. r=bsmedberg
2009-07-22 22:55:02 -05:00
Chris Jones
e79c9a7275
Bug 505586: use the right String::Find() function from external API code. r=bsmedberg
2009-07-22 15:47:14 -05:00
Josh Aas
06262a54a5
Use the same path comparison behavior for nsIFile::Equals on all platforms. b=491245 sr=bsmedberg
2009-07-08 11:26:07 -04:00
Dave Townsend
99b44d9574
Test arguments with spaces and quotes in nsIProcess. r=robstrong
2009-06-23 11:33:41 +01:00
Arpad Borsos
2c52e03fad
Back out 7d502207183d (Bug 493701), it really did cause the windows dhtml regression
...
--HG--
extra : rebase_source : 1c08b3767508bc359d395560b08248fcaa71f511
2009-06-16 14:37:35 +02:00
Arpad Borsos
451e5accfb
Bug 493701 - Use a macro to reduce redundancy in nsDocLoader.cpp; r=bz
2009-06-11 11:03:40 +02:00
Hiroyuki Ikezoe
177d91f354
Bug 487694 - "unable to build ssltunnel and some xpcom/test files due to CxxFrameHandler linkage" (Patch for nsIFileEnumerator.exe) [r=benjamin]
2009-06-14 01:51:12 -07:00
Arpad Borsos
736ae13a3d
Back out bug 493701, suspected of causing dhtml and tp3 regression
2009-06-12 23:19:20 +02:00
Arpad Borsos
2b0b982fdf
Bug 493701 - Use a macro to reduce redundancy in nsDocLoader.cpp; r=bz
...
--HG--
extra : rebase_source : 0caea074b95767f83063892d74b7c372976c366e
2009-06-11 11:03:40 +02:00
Arpad Borsos
a56370e043
Bug 467948 - fix some deprecated conversion from string constant warnings; r=dbaron
2009-05-26 10:53:15 +02:00
Ginn Chen
15183dceab
Bug 489299 TestSynchronization.cpp failed to compile with Sun Studio r=benjamin, jones.chris.g
2009-06-11 14:46:13 +08:00
Josh Aas
ca207c2111
Make Mac OS X local file code aware of symlinks instead of old-school aliases. Also moves more things to POSIX functions instead of inefficient Carbon calls. b=484297,491074,491145 r=mstange sr=roc
2009-06-10 22:23:57 -07:00
Dave Townsend
71630ca251
Bug 496733: Test that multiple arguments get passed by nsIProcess. r=robstrong
2009-06-10 13:40:29 +01:00
Jesse Ruderman
13ce09dcd1
Change tabs to spaces (followup to the checkin bz just made)
2009-06-09 21:13:36 -07:00
Boris Zbarsky
3a023164e4
Adding test for nsTObserverArray
2009-06-09 22:57:41 -04:00
Benjamin Smedberg
6df221580d
Bug 488175 - flatten dist/include and provide mechanism to install certain headers in namespaced subdirectories (e.g. #include "mozilla/XPCOM.h") r=ted
...
--HG--
rename : xpcom/ds/nsTimeStamp.cpp => xpcom/ds/TimeStamp.cpp
rename : xpcom/ds/nsTimeStamp.h => xpcom/ds/TimeStamp.h
2009-05-18 14:15:05 -04:00
Hiroyuki Ikezoe
c27b02e4cb
Bug 483819. iostream is not needed or wanted in WinCE build. r=bsmedberg
2009-05-18 10:29:54 +12:00
Chris Jones
98311e5904
bug 491462: fix some typos and compiler warnings in deadlock detector. r=bsmedberg
2009-05-14 13:07:30 -07:00
Phil Ringnalda
fcdc4de2b2
Bug 115334 - Remove long long dead StringFactoring tests, and the last .mcp in mozilla-central in the bargain, r=bsmedberg
2009-05-12 19:50:35 -07:00
Boris Zbarsky
612e9ad4e4
Bug 482310. Add a JS api to asynchronously copy data to an output stream. r+sr=bsmedberg.
2009-05-07 15:21:54 -04:00
Benjamin Smedberg
c71b7fc5e0
Bug 491550 - Fix TestDeadlockDetector on debug+libxul configurations r=bustage fix
2009-05-06 10:33:58 -04:00
Serge Gautherie
325564e9cb
Bug 482942 - Implement NS_LOCALFILE_DELETE_ON_CLOSE flag for nsILocalFile::OpenNSPRFileDesc; (Cv1) TestHarness.h: s/PRBool/PRUint32/; r=benjamin
2009-05-06 01:11:16 +02:00
Chris Jones
24b939e504
Bug 456272: deadlock detector improvements
2009-05-04 21:57:15 -07:00
Chris Jones
6fa9921e11
Backed out changeset 3deeb3c83c77
2009-05-02 21:13:57 -07:00
Chris Jones
47a7c89e54
Bug 456272: deadlock detector improvements r=brendan
2009-05-02 20:54:05 -07:00
Chris Jones
e8322d6258
bug 486793: add programmatic control of profiler to xpcom unit tests. r=bsmedberg
2009-04-24 14:47:45 -07:00
Jim Mathies
53e42ad861
Bug 489285 - Disable file attrib tests for Bug 403014 due to unit test failure.
2009-04-21 01:47:54 -05:00
Jim Mathies
b253ceb46a
Bug 403014 - Windows "Don't Index" bit set on download files. (r=sdwilsh,dougt)
2009-04-20 20:06:03 -05:00
Chris Jones
18c52db5ae
Bug 58904: Create strong types for synchronization primitives. r=bsmedberg.
2009-04-18 18:54:23 -07:00
Dave Townsend
a6ed3ddf12
Bug 480427: Remove nsIProcess2 from trunk. r=bsmedberg
2009-04-16 16:46:10 +01:00
Andrew Sutherland
d6ed9baeaa
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
c2228f83ec
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
633a7c9dfd
Bug 485325: nsLocalFileUnix::IsSymlink() should check result of lstat(). r=joshmoz, sr=bsmedberg
2009-04-07 04:38:23 -07:00
Peter Annema
c552abb51a
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
b815eff029
Fix libxul test bustage, really
2009-04-06 14:19:41 +12:00
Robert O'Callahan
d95f70cfbf
Backout incorrectly pushed changes
2009-04-06 14:19:27 +12:00
Robert O'Callahan
2bb2ba8f08
Fix libxul test bustage
...
--HG--
extra : rebase_source : 49e42436893e10cae0e70cc5468b4d95a47cb07d
2009-04-06 14:15:26 +12:00
Robert O'Callahan
97ea54af4c
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
f595f7bb87
Bug 207973 follow-up: fix comment.
...
Also, changeset fce0de0377e5 had r=bsmedberg, r=ted.
2009-04-05 04:10:26 -07:00
Peter Annema
a5f39685c3
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
4fc5b38c9d
Bug 474369 - get rid of nsVoidArray, xpcom part; r=bsmedberg
2009-04-03 18:43:08 +02:00
Dave Townsend
57eb50688d
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
f4aea6aa03
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
27616db76a
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
1771ccc676
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
af6d05474c
Bug 482482: Migrate version comparator tests to xpcshell. r=bsmedberg
2009-03-19 08:35:17 +00:00
Dave Townsend
e282704742
Bug 482482: Migrate version comparator tests to xpcshell. r=bsmedberg
2009-03-19 08:32:56 +00:00
Dave Townsend
72f7b47ede
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
ea39c38934
Bug 483626: nsIProcess.isRunning doesn't fail correctly and should be boolean. r=bsmedberg
2009-03-18 10:59:32 +00:00
James Boston
ebb622ed2b
Improve nsIProcess, fix nsIProcess.kill(). b=442393 r=bsmedberg
2009-03-09 12:47:39 -04:00
James Boston
c5833538ac
Back out patch for bug 442393.
2009-03-06 16:42:07 -06:00
James Boston
f5c5d126cf
Improve nsIProcess, fix nsIProcess.kill(). b=442393 r=bsmedberg
2009-03-06 16:19:09 -06:00
Walter Meinl
71be62f362
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
eeca3c2f77
Bug 479057 Concatenating empty strings can result in bogus copying r=bsmedberg
2009-03-04 09:50:22 +00:00
Nickolay Ponomarev
fbdac0637e
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
f65cc1e89b
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
1d82751d1f
Static analysis test cases for bug 479441
2009-02-24 10:11:06 -05:00
L. David Baron
a3a75ddc26
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
a97d43b7f7
TestHarness.h should give errors with TEST-UNEXPECTED-FAIL. (Bug 477512) r=jwalden
2009-02-10 14:05:28 -08:00
Ted Mielczarek
4403b64000
bug 476919 - nsLocalFileOSX::IsSymlink is broken - unit test
2009-02-05 08:15:32 -05:00
Dão Gottwald
7724726ab5
Backed out changeset 2df29cb1ed93
2009-02-07 15:07:36 +01:00
Tyler Downer
ca2d87685b
Bug 471930 - Strip User Docs from XPCOM. r=bsmedberg
2009-02-07 13:54:47 +01:00
Daniel Holbert
4301671b45
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
424883d380
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
bfbe5114fe
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
1bb2a73b85
Bug 472348 - Some unused variables found by combing the warning database, rs=bz
2009-01-06 14:25:58 -05:00
Benjamin Smedberg
4f688dc6c7
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
2e92b758cb
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
ea921d740c
Bug 397227 - Reduce the effort needed to write C++ tests. r=ted
2008-12-03 22:25:00 -08:00
Benjamin Smedberg
be64754c95
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
4c8620d49e
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
7d5b5e0578
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
bb525b1207
Backed out changeset 87f6ae0c4324 (bug 435474) for orange.
2008-11-27 13:15:18 -08:00
Justin Wood
9d391015e1
Bug 463824, Introduce GLOBAL_DEPS to build system
...
r=ted, a1.9.1=beltzner
2008-11-27 12:27:41 -08:00
Jim Blandy
5f8373a321
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
cf5294d696
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
c72ef7d248
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
afcf19b8de
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
22bc4a73fd
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
4bf2e2f7c7
Bug 453164 - 'TestServMgr' : "mFreeCount : LEAKED 233 + mAdoptFreeCount : LEAKED 7"; r=benjamin
2008-10-08 02:22:01 +02:00
Serge Gautherie
7b1d56b97a
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
396a7dbca1
Bug 453137 - 'TestPipes' |TestChainedPipes()| leaks its streams; Av2; r=benjamin
2008-09-25 20:06:13 +02:00
Ted Mielczarek
aee6f394a9
bug 455503 - better tests for nsIMutableArray. r=bsmedberg
2008-09-22 06:41:55 -04:00
Taras Glek
56911014d8
bug 432917: MUST_FLOW_THROUGH static check. r=bsmedberg
2008-09-08 11:01:22 -07:00
Serge Gautherie
b965630140
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
9ecb398b01
Bug 449822 - "Service manager can create two instances of a service". r=bsmedberg.
2008-09-04 15:44:41 -07:00
Bo Yang
2ea3ef5c93
Bug 451525 - Expand library names in Makefile, r=bsmedberg, sr=shaver
2008-09-04 22:45:00 +02:00
Benjamin Smedberg
9123cda70b
Bug 453349 - stack-only checker skips conditional blocks, r=dmandelin
2008-09-03 13:00:13 -04:00
Benjamin Smedberg
eea415c9ec
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
1ba73b3bdb
better way to make a xpcshell mac-only without any #ifdefs available.
2008-08-26 11:40:43 +02:00
Håkan Waara
98cc1e939e
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
a382367616
Bug 451672 - Fix nsIMemory::IsLowMemory on Maemo. r=stuart
2008-08-15 02:12:45 -07:00
Serge Gautherie
71ab0224cc
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
a2ff55c59e
Bug 451079: allow setting outparams to null on failure
2008-08-19 11:17:13 -07:00
Serge Gautherie
411680e67e
Bug 450133 - fix nits in TestHashtables.cpp, r=bsmedberg
2008-08-18 19:38:50 +02:00
Benjamin Smedberg
212b417b73
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
1bfdd6bfbf
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
e8f76946e9
Testcase for bug 224692, r=bsmedberg
2008-08-14 11:48:06 -04:00
Manish Singh
d2f474a8aa
Bug 442870 – CompressWhitespace can freeze the browser. r=bsmedberg
2008-08-14 12:16:24 +02:00
Mike Hommey
3f314aee54
Bug 438688 – String formatter fails to format the same argument twice. r=bsmedberg
2008-08-14 12:11:25 +02:00
Justin Dolske
527c3d9af8
Reland bug 121341.
2008-08-13 21:30:45 -07:00
Justin Dolske
ba00588e10
Backed out changeset db55605b2a4c (relanding bug 121341)
2008-08-13 21:30:12 -07:00
Dave Townsend
8114ea8a37
Backout of bug 121341
2008-08-13 21:45:08 +01:00
Dave Townsend
2045996769
Backed out changeset cc82f602d986
2008-08-13 21:44:20 +01:00
Ben Turner
1601d2a0ac
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
088d1de487
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
b3c9502fcb
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