Daniel Holbert
6abe703f9b
(no bug) Unset executable flag on a few .cpp & .h files in /xpcom/tests. (no review; just a "chmod -x")
2010-04-02 09:34:30 -07:00
Josh Matthews
dc961dbb27
Bug 551286: Add a per function 'final' keyword in C++. r=tglek
2010-03-28 11:44:33 -04:00
Chris Jones
014cb688de
Bug 550425: Bump up the timeout for expensive deadlock tests and print more info on failures. r=bsmedberg,sdwilsh
2010-03-24 19:12:32 -05:00
Mike Hommey
c055a9cf6f
Bug 543438 - TestBlockingProcess relies on stdin to "block". r=dtownsend
2010-03-24 10:19:14 +01:00
Daniel Holbert
987f9c2297
Bug 552798: fix 'suggest parentheses around comparison in operand of &' in TestAtoms.cpp. r=sicking
2010-03-22 11:57:40 -07:00
Simon Montagu
16606db5c5
Bug 411511: Make nsIProcess accept Unicode paths as well as native charset, r=bsmedberg
2010-03-18 10:37:12 +02:00
Daniel Holbert
34cb74310e
Bug 552805: Fix warning "overflow in implicit constant conversion" in TestEncoding.cpp. r=waldo
2010-03-17 01:54:17 -07:00
Daniel Holbert
8779011b89
Bug 552329: Fix compile warnings in xpcshell test TestOOM.cpp. r=dougt, test-only change on CLOSED TREE to see if tinderbox still wants to be red
2010-03-16 10:42:51 -07:00
Jonathan Watt
9380758ab8
Bug 551299. Add a SetCount() method to nsCOMArray and nsVoidArray. r=bsmedberg.
...
--HG--
extra : rebase_source : 676b497a4fda08ec509c2ce9fdc7060af8be1663
2010-03-15 11:38:50 +00:00
Chris Jones
81b4a577bb
Bug 550425: Don't close the subprocess's stdout/stderr pipes until after it exits. r=bsmedberg
2010-03-11 01:35:25 -06:00
Brad Lassey
65e93ade37
follow up to bug 548207, test for WINCE instead of CROSS_COMPILE due to make check failure on OSX
...
--HG--
extra : rebase_source : 2b0ab634f5286e6317e147daa0cd790f633acdbf
2010-03-10 15:35:31 -05:00
Serge Gautherie
dfcd5d708d
Bug 551153 - ###!!! ASSERTION: Not a UTF-8 string when running TestUTF and TestAtoms; (Bv1) Make it fully explicit that Malformed8Strings[] is not to be used in debug builds.
...
r=jonas.
2010-03-10 21:03:23 +01:00
Brad Lassey
8857f4c08a
bug 548207 - allow make check to run over remote connection from devicemanager.py r=ted,ctalbert,jmaher
...
--HG--
rename : build/devicemanager.py => build/mobile/devicemanager.py
2010-03-10 13:36:45 -05:00
Jonas Sicking
aafc11aca9
Bug 551129: Move tests in TestPermanentAtoms.cpp into the new shiny TestAtoms.cpp. Disable tests with known intentional assertions in debug builds. r=jst
2010-03-09 16:30:06 -08:00
Brad Lassey
cd471a77fa
bug 548426 - xpcom/tests/TestFile.exe fails for windows mobile r=bsmedberg
2010-03-09 11:40:16 -05:00
Mark Banner
6dad682aa7
Follow up to bug 534136, fix TestStaticAtoms test failure. r=sicking
2010-03-09 09:51:43 +00:00
Jonas Sicking
e117cf60c1
Bug 534136 Part 7: Add tests for atoms. r=jst
2010-03-08 07:45:00 -08:00
Jonas Sicking
0baab851d8
Bug 534136 Part 6: Properly handle invalid UTF8 string being passed to NS_NewAtom/do_GetAtom. r=jst
2010-03-08 07:45:00 -08:00
Jonas Sicking
c4106f7f22
Bug 534136 Part 2: Use 16bit-char buffers inside atoms. r=bz sr=mrbkap
2010-03-08 07:45:00 -08:00
Jonas Sicking
1a6c0165bf
Bug 534136 Part 1: Make atoms keep a pointer to an nsStringBuffer rather than storing the data inline. r=bsmedberg
2010-03-08 07:44:59 -08:00
Daniel Holbert
dc311954c3
Bug 539585: Fix warning "warning: format '%p' expects type 'void *'" in xpcom directory. r=bsmedberg
2010-03-05 10:41:25 -08:00
Dão Gottwald
58a7f1bd64
Backed out changeset 4c8952703e77
2010-03-05 13:34:44 +01:00
Mike Hommey
8c175d347f
Bug 543438 - TestBlockingProcess relies on stdin to "block". r=dtownsend
2010-03-05 13:02:22 +01:00
Mike Hommey
1c9a59ace0
Bug 543464 - Cleanup after make check in xpcom/tests. r=bsemdberg
2010-03-03 16:25:14 +01:00
Chris Jones
5e03f750df
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
88609dd848
Bug 549098: Work around expected asserts by disabling tests in debug builds. r=dbaron
2010-02-27 13:15:51 -08:00
Neil Rashbrook
dfd69c61aa
Bug 545730 Add nsRefPtr overload for CallQueryInterface r=dbaron
2010-02-27 16:01:53 +00:00
Jonas Sicking
c42c4f710e
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
cd16e5d935
Bug 541245 part 3: Add UTF8/UTF16 encoding/decoding/comparison tests. r=smontagu
2010-02-23 09:38:10 -08:00
Saint Wesonga
f78442c0ad
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
003d545f7b
Bug 543001 Make nsTArray::GreatestIndexLtEq easier to use r=bsmedberg
2010-02-20 15:26:12 +00:00
Justin Dolske
d8daefadb7
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
513e9cf886
Bug 517553: Remove '=='/'!=' 'PR_FALSE'/'PR_TRUE'
2010-02-07 10:52:43 -05:00
Daniel Holbert
d2247e1c10
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
4cd9f0f1e3
Bug 474743 Prequel: Implement nsTPriorityQueue. r=dholbert r=roc sr=bsmedberg
2010-01-12 12:00:49 -08:00
Neil Rashbrook
546b738179
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
176bc71fd6
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
4c1b34d634
Bug 507387 - fix copyright holder; Mozilla Corporation -> Mozilla Foundation. r=gerv.
2009-12-21 21:50:30 +00:00
L. David Baron
5aa522c9e1
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
efcc888ba4
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
580302d483
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
950e211880
Fix build bustage
2009-11-16 14:32:03 -06:00
Chris Jones
a72adbd3c5
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
6267e36382
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
406cb20cbf
Bug 520366 AppendInt only handles 32 bit signed ints r=bsmedberg
2009-11-04 21:33:23 +00:00
Marco Bonardo
b6e2e48df0
Bug 525245 - system-info should expose hardware specs to JS consumers, r=bsmedberg
2009-11-04 15:41:37 +01:00
Josh Aas
278c4c6e2e
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
6a61d86670
Bug 522157 Make -D__FUNCTION__=__func__ global for Sun Studio on Solaris r=benjamin
2009-10-26 14:25:40 +08:00
Ted Mielczarek
412f910dc9
bug 523378 - TestDeadlockDetector failing on OS X. disable it for now.
2009-10-20 13:57:48 -04:00
Karsten Düsterloh
ea5a619bd9
Backed out changeset 8dfd3a7cab91 (Bug 364864) due to Leak test red
2009-10-05 23:33:06 +02:00
Karsten Düsterloh
89ef1f68af
Bug 364864: binary testcase; r=bsmedberg
2009-10-05 21:12:43 +02:00
Benjamin Smedberg
2bb0130dcb
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
88bb83f4b2
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
f21f577875
Backed out changeset 467f14a11325 (bug 517604)
2009-09-30 17:03:37 -07:00
Shawn Wilsher
6b7261093e
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
66101db8a2
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
50d59bbf8a
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
9b788e903b
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
1e3d421cf1
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
2e9438fd2f
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
bf264f7894
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
f781ac7771
Resolve the static-analysis bustage from bug 498938 by recognizing COND_EXPR.
2009-07-27 10:47:22 -04:00
Makoto Kato
815f6cdd90
Bug 499262 - Remove Metoworks Code for OS 9. r+sr=bsmedberg
2009-07-24 19:11:23 +09:00
Shawn Wilsher
2d8562eff5
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
e1f8c82efc
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
bfa66f0835
Bug 505586: use the right String::Find() function from external API code. r=bsmedberg
2009-07-22 15:47:14 -05:00
Josh Aas
4b26557c2d
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
169f18520e
Test arguments with spaces and quotes in nsIProcess. r=robstrong
2009-06-23 11:33:41 +01:00
Arpad Borsos
ced6fd75da
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
3a5c755862
Bug 493701 - Use a macro to reduce redundancy in nsDocLoader.cpp; r=bz
2009-06-11 11:03:40 +02:00
Hiroyuki Ikezoe
a5f0088b65
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
077310c136
Back out bug 493701, suspected of causing dhtml and tp3 regression
2009-06-12 23:19:20 +02:00
Arpad Borsos
7b535a9d90
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
589f71c968
Bug 467948 - fix some deprecated conversion from string constant warnings; r=dbaron
2009-05-26 10:53:15 +02:00
Ginn Chen
baa0350fa6
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
e7a19f1220
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
f43c03af9e
Bug 496733: Test that multiple arguments get passed by nsIProcess. r=robstrong
2009-06-10 13:40:29 +01:00
Jesse Ruderman
578eb1c209
Change tabs to spaces (followup to the checkin bz just made)
2009-06-09 21:13:36 -07:00
Boris Zbarsky
e2f2108d1c
Adding test for nsTObserverArray
2009-06-09 22:57:41 -04:00
Benjamin Smedberg
bb1c33c4ea
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
49f6a07a97
Bug 483819. iostream is not needed or wanted in WinCE build. r=bsmedberg
2009-05-18 10:29:54 +12:00
Chris Jones
ae05aca0b1
bug 491462: fix some typos and compiler warnings in deadlock detector. r=bsmedberg
2009-05-14 13:07:30 -07:00
Phil Ringnalda
423103913e
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
cb4004dfeb
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
6b716573cb
Bug 491550 - Fix TestDeadlockDetector on debug+libxul configurations r=bustage fix
2009-05-06 10:33:58 -04:00
Serge Gautherie
5714e738d6
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
8a3e35ae54
Bug 456272: deadlock detector improvements
2009-05-04 21:57:15 -07:00
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
David Mandelin
d591c8c92c
Bug 431832: check outparams for PRBool or void return, r+a=bsmedberg
2008-05-20 11:26:03 -07:00
jorendorff@mozilla.com
9b5032bfde
Merge from cvs-trunk-mirror to mozilla-central.
2008-05-13 09:57:11 -05:00
bent.mozilla@gmail.com
2b4da89847
Bug 432887 - "Add tests for XPCOM Proxies (and enable other C++ unit tests)". r=sayrer, a=Tests Only.
2008-05-08 17:14:19 -07:00
Benjamin Smedberg
9aaf941d31
Bug 432278 - Fix a couple of the static-checking testcases: clean up the makefile-fu a little bit, and add a new class of test: one which should issue warnings, which equates to "should fail with -Werror and should pass without -Werror." r=dmandelin
2008-05-05 14:32:31 -04:00
David Mandelin
a326cd2356
Bug 431965: checking in tests forgotten before (r/a=bsmedberg from bug 420933)
2008-05-05 10:24:13 -07:00
David Mandelin
dbe96cfe58
Bug 431832: NS_inparams attr for outparams checker, r=bsmedberg, a=bsmedberg
2008-05-02 18:03:38 -07:00
David Mandelin
e2ac3c1005
Bug 420933: outparams checker, r=bsmedberg, a=bsmedberg
2008-04-30 17:47:27 -07:00
Benjamin Smedberg
b3c6962a6c
Merge cvs-trunk-mirror to mozilla-central.
...
--HG--
rename : js/src/js.c => js/src/js.cpp
rename : js/src/jsapi.c => js/src/jsapi.cpp
rename : js/src/jsemit.c => js/src/jsemit.cpp
rename : js/src/jsfun.c => js/src/jsfun.cpp
rename : js/src/jsinterp.c => js/src/jsinterp.cpp
rename : js/src/jsobj.c => js/src/jsobj.cpp
rename : js/src/jsparse.c => js/src/jsparse.cpp
rename : js/src/jsregexp.c => js/src/jsregexp.cpp
rename : js/src/jsxml.c => js/src/jsxml.cpp
2008-04-15 13:59:01 -04:00
benjamin@smedbergs.us
6114a47d6e
Bug 428326 - Configuring with a relative srcdir breaks unit tests in XPCOM, r=luser a=beltzner
2008-04-11 06:10:59 -07:00
Benjamin Smedberg
1a7696b809
Bug 428326 - 'make check' fails when you've configured from a relative srcdir (e.g. ../src/configure), r=luser
2008-04-10 12:14:01 -04:00
philringnalda@gmail.com
e20c3514d6
Bug 413477 - nsStringAPI needs RFind set of functions, patch by Prasad Sunkari (prasad@medhas.org), r=bsmedberg, a=beltzner
2008-04-08 23:01:13 -07:00
jorendorff@mozilla.com
e366e3a8e5
Merge from cvs-trunk-mirror to mozilla-central.
...
--HG--
rename : js/src/jsapi.c => js/src/jsapi.cpp
rename : js/src/jsinterp.c => js/src/jsinterp.cpp
2008-04-07 17:37:54 -05:00
sdwilsh@shawnwilsher.com
8ea503a324
nsIMutableArray test for appending null. r=bsmedberg, sr=bsmedberg (from bug 397935) NPOTDB
2008-04-02 17:44:56 -07:00
jorendorff@mozilla.com
1dd1d9f71d
Merge from cvs-trunk-mirror to mozilla-central.
...
--HG--
rename : js/src/js.c => js/src/js.cpp
rename : js/src/jsapi.c => js/src/jsapi.cpp
rename : js/src/jsarray.c => js/src/jsarray.cpp
rename : js/src/jscntxt.c => js/src/jscntxt.cpp
rename : js/src/jsdate.c => js/src/jsdate.cpp
rename : js/src/jsdbgapi.c => js/src/jsdbgapi.cpp
rename : js/src/jsemit.c => js/src/jsemit.cpp
rename : js/src/jsexn.c => js/src/jsexn.cpp
rename : js/src/jsfun.c => js/src/jsfun.cpp
rename : js/src/jsgc.c => js/src/jsgc.cpp
rename : js/src/jsinterp.c => js/src/jsinterp.cpp
rename : js/src/jsiter.c => js/src/jsiter.cpp
rename : js/src/jslock.c => js/src/jslock.cpp
rename : js/src/jsobj.c => js/src/jsobj.cpp
rename : js/src/jsopcode.c => js/src/jsopcode.cpp
rename : js/src/jsparse.c => js/src/jsparse.cpp
rename : js/src/jsregexp.c => js/src/jsregexp.cpp
rename : js/src/jsscope.c => js/src/jsscope.cpp
rename : js/src/jsscript.c => js/src/jsscript.cpp
rename : js/src/jsxml.c => js/src/jsxml.cpp
2008-04-02 16:35:13 -05:00
brade@comcast.net
ce7a4ae748
bug #416886 - reinstate test case for registration order (which failed to compile in non-libXUL builds; that has been fixed).
2008-04-01 06:06:18 -07:00
brade@comcast.net
109495323d
Backout test case for registration order.
2008-03-31 08:36:52 -07:00
brade@comcast.net
22750e6b97
bug #416886 - attempt to fix Linux non-libxul build.
2008-03-31 08:26:10 -07:00
brade@comcast.net
ca61c9e2e7
Bug #416886 ; r=bsmedberg, a=beltzner Preserve original order when processing deferred components. Add TestRegistrationOrder automated test.
2008-03-31 07:40:10 -07:00
Benjamin Smedberg
300dc2107c
Merge cvs-trunk-mirror -> mozilla-central. There's a C++ bug in js/src/jsinterp.cpp that I am going to file upstream.
...
--HG--
rename : js/src/js.c => js/src/js.cpp
rename : js/src/jsapi.c => js/src/jsapi.cpp
rename : js/src/jscntxt.c => js/src/jscntxt.cpp
rename : js/src/jsdbgapi.c => js/src/jsdbgapi.cpp
rename : js/src/jsexn.c => js/src/jsexn.cpp
rename : js/src/jsfun.c => js/src/jsfun.cpp
rename : js/src/jsgc.c => js/src/jsgc.cpp
rename : js/src/jsinterp.c => js/src/jsinterp.cpp
rename : js/src/jsiter.c => js/src/jsiter.cpp
rename : js/src/jsobj.c => js/src/jsobj.cpp
rename : js/src/jsopcode.c => js/src/jsopcode.cpp
rename : js/src/jsregexp.c => js/src/jsregexp.cpp
rename : js/src/jsstr.c => js/src/jsstr.cpp
rename : js/src/jsxml.c => js/src/jsxml.cpp
2008-03-20 12:42:05 -04:00
jag@tty.nl
4400be542e
Bug 333505: nsLocalFileOSX crash. Original patch by Shane Caraveo <shanec@ActiveState.com>, review nits addressed by me. Unit test by Callek. r=mentovai, r/sr=bsmedberg, a1.9=damons
2008-03-18 06:31:01 -07:00
benjamin@smedbergs.us
22ab1903e9
Merge cvs-trunk-mirror -> mozilla-central
...
--HG--
rename : js/src/jsarray.c => js/src/jsarray.cpp
rename : js/src/jsnum.c => js/src/jsnum.cpp
2008-03-12 16:32:37 -04:00
reed@reedloden.com
270d099f76
Bug 414063 - "annotate xpidl-generated c++ headers with attributes for scriptable and deprecated methods" [p=Pidgeot18@gmail.com (Joshua Cranmer) r=dbradley a1.9=damons]
2008-03-12 04:00:24 -07:00
benjamin@smedbergs.us
4ee1e5462f
merge cvs-trunk-mirror -> mozilla-central
2008-03-11 17:02:36 -04:00
timeless@mozdev.org
655c0267e5
Bug 419326 Crashes in Main Tab of Options [@ _wgetdcwd - nsLocalFile::Normalize] r=bsmedberg a=beltzner
2008-03-11 10:46:48 -07:00
benjamin@smedbergs.us
27523547f0
Bug 419624 - Build framework, basic usage, and testsuite for statically checking the codebase using gcc-dehydra, r=luser,dbaron,tglek
2008-02-27 11:28:13 -05:00
neil@parkwaycc.co.uk
48d3824f0d
Bug 330101 nsTArray binary search for when array is sorted r=bsmedberg a=schrep
2008-02-21 01:43:15 -08:00
reed@reedloden.com
93653ed0c8
Bug 413488 - "nsACString::Find in nsStringAPI is buggy!" [p=prasad@medhas.org (Prasad Sunkari [prasad]) r=bsmedberg a=blocking1.9+]
2008-02-13 02:49:32 -08:00
smontagu@smontagu.org
632ed6f4c8
Make CreateUnique use UTF-16 path names on Windows and correct some bugs with handling over-long filenames. Bug 364285, r=bsmedberg, blocking-firefox3=beltzner
2008-01-09 13:10:06 -08:00
dwitte@stanford.edu
99e1fea0b7
bug 410579 - remove nsStringIO.h. r+sr+a=jst
2008-01-02 17:32:26 -08:00
kairo@kairo.at
3e86d8ae61
Comment out other occurence of failing test as well for now, see bug 401781, r+sr=biesi via IRC
2007-11-13 07:30:29 -08:00
reed@reedloden.com
b3e67000d1
Bug 387049 - "Remove nsIObservableInputStream, nsIObservableOutputStream" [p=WeirdAl r=biesi a1.9=damons]
2007-11-13 02:27:26 -08:00
reed@reedloden.com
b441a79380
Comment out failing test for now in test_streams.js.
2007-11-12 23:23:15 -08:00
reed@reedloden.com
88fc6d112a
Remove DOS line endings from test_streams.js.
2007-11-12 23:16:48 -08:00
reed@reedloden.com
c232b2b8c5
Bug 401781 - "Add tests for nsI*Stream" [p=WeirdAl r=bsmedberg]
2007-11-12 21:33:25 -08:00
bent.mozilla@gmail.com
0f82960824
Bug 392493 - "Add forget() method to nsCOMPtr and nsRefPtr". r=dbaron.
2007-10-03 17:57:09 -07:00
jst@mozilla.org
e8ab62c7c1
Fixing solaris build bustage when building with tests enabled. r=sayrer, sr=biesi, a=jst
2007-10-02 16:11:18 -07:00
jwalden@mit.edu
036312c5b7
Yet another fix for Windows calling convention differences.
2007-09-21 01:18:36 -07:00
jwalden@mit.edu
f3cec9de81
Fixing more bustage; apparently some compilers don't like default arguments unless they're in a declaration, not a definition.
2007-09-21 01:12:07 -07:00
jwalden@mit.edu
e01dc9e11d
Fix bustage from TestPipe.cpp; turns out NS_NewPipe2 isn't exported from XPCOM -- who knew? r+a=bustage
2007-09-21 00:59:09 -07:00
jwalden@mit.edu
08317171e2
Bug 394692 - ASSERTION: read cursor is bad: 'mReadCursor != mWriteCursor', file xpcom/io/nsPipe3.cpp, line 539. Narrow the criteria used to decide whether to fire the assertion to deal with a particular (valid) pattern of memory allocations. r=biesi, a=bz
2007-09-20 23:17:59 -07:00
scott@scott-macgregor.org
bc1961884c
try to fix mac orange again.
2007-09-20 17:34:42 -07:00
scott@scott-macgregor.org
cd3973f8f1
try to fix the orange mac tinderbox builds by adjusting the Makefile.in rule. Thanks to bsmedberg for suggesting the fix.
2007-09-20 16:56:10 -07:00
scott@scott-macgregor.org
f9d06920f7
Bug 384979 --> move nsTextFormatter to the glue code so it can be used with frozen linkage. Patch by prasad <prasad@medhas.org> sr=bsmedberg a=bsmedberg
2007-09-20 16:14:25 -07:00
aaronr@us.ibm.com
2c8a07cf79
move nsDeque to xpcom glue. Bug 395349, r+a=bsmedberg
2007-09-18 11:14:34 -07:00
cbiesinger@gmx.at
af888adb39
381812 improved testcase for storage stream behaviour when the stream hasn't been written to r=bsmedberg
2007-09-05 13:30:18 -07:00
philringnalda@gmail.com
d90d948a45
Bug 380783 - nsStringAPI.h: no equivalent of IsVoid (tell if string is null), patch by Mook <mook.moz+mozbz@gmail.com>, r=bsmedberg/dbaron, sr=dbaron, a1.9=bz
2007-08-17 20:48:16 -07:00
cbiesinger@gmx.at
5e31e355aa
fixing orange, the new behaviour is better
2007-08-17 14:20:55 -07:00
mrbkap@gmail.com
4bf9fb0512
Fix broken printf to fix a compile warning. bug 390855, r+sr+a=bsmedberg
2007-08-07 18:47:40 -07:00
asqueella@gmail.com
5c3b32733e
Bug 339069 - Optimization for RFindInReadable
...
p=Alfred Kayser <alfredkayser@nl.ibm.com>
r=darin, sr=dbaron
2007-07-23 18:30:19 -07:00
jwalden@mit.edu
e3c4baccae
Bug 348748 - Replace all instances of NS_STATIC_CAST and friends with C++ casts (and simultaneously bitrot nearly every patch in existence). r=bsmedberg on the script that did this. Tune in next time for Macro Wars: Episode II: Attack on the LL_* Macros.
2007-07-08 00:08:04 -07:00
philringnalda@gmail.com
8344cdecca
Bug 374754 - nsCategoryManager::AddCategoryEntry should notify about removal of the previous value, patch by Wladimir Palant <trev.moz@adblockplus.org>, r+sr=darin
2007-06-10 23:10:27 -07:00
gavin@gavinsharp.com
ae334e4da0
Bug 377189: fix nsIFileTest.cpp compilation, patch by Bernhard Rosenkraenzer <bero@arklinux.org>, r=dougt
2007-04-16 11:09:29 -07:00
dbaron@dbaron.org
a7d9802f77
Remove GetKeyPointer method from nsTHashtable key types. b=374906 r=bsmedberg
2007-03-27 08:34:59 -07:00
roc+@cs.cmu.edu
ab2533b6bd
Bug 368270. Implement nsExpirationTracker, a data structure for managing the timed expiration of many objects. r+sr=sicking
2007-03-26 20:38:21 -07:00
jwalden@mit.edu
d352fc4921
Bug 372546 - Mark pipe input/output streams as threadsafe. r=bsmedberg
2007-03-25 00:31:45 -07:00
jwalden@mit.edu
72db7ae2c3
Bug 373640 - nsIFile.parent throws an exception on reaching top of file system on Windows -- should return null. r=bsmedberg
2007-03-25 00:28:06 -07:00
hg@mozilla.com
465265d0d4
Free the (distributed) Lizard! Automatic merge from CVS: Module mozilla: tag HG_REPO_INITIAL_IMPORT at 22 Mar 2007 10:30 PDT,
2007-03-22 10:30:00 -07:00