Commit Graph

263 Commits

Author SHA1 Message Date
Michael Kohler
5f19df86e0 Bug 564091: Fix spelling of nonexistent across the tree. r=timeless
--HG--
extra : rebase_source : 4f15f7fd6f90926b77d136be83af7f22c5ffa830
2010-05-23 12:26:15 -07:00
Chris Jones
521f71cd9d Bug 565461: Implement nsTArray::operator==. r=bsmedberg 2010-05-22 14:35:41 -05:00
Daniel Holbert
9c9b232086 Bug 560393, part 2: (xpcom directory) Fix compile warning: format $f expects type $t1, but argument 2 has type $t2. r=bsmedberg 2010-05-17 16:36:31 -07:00
L. David Baron
62fab3b136 Add macro to give alignment requirements of a type. (Bug 562844) r=bsmedberg 2010-05-14 12:05:14 -07:00
Michael Kohler
9397418412 Bug 506041 Part 2: Correct misspellings in source code
r=timeless
2010-05-13 14:19:50 +02:00
Michael Wu
91093439df Bug 537339 - Add heap functions to nsTArray, r=roc 2010-05-05 10:21:23 -07:00
Paolo Amadini
b54f24971a Bug 551658 - [@ nsIFile::createUnique] crashes with long parent directory names. r=bsmedberg 2010-05-02 10:28:26 +02:00
Mike Hommey
0fc23bb0d7 Test for bug 561971 [r=dtownsend]
--HG--
extra : rebase_source : 64b4940aaeb7b8e0591f7872f0b48b24e01f213a
2010-04-29 07:25:38 +00:00
Neil Rashbrook
176e5fc212 Bug 538964 Provide doQueryObject API that supports calling QueryInterface on non-interface source and/or destination pointers r=dbaron
--HG--
rename : xpcom/tests/TestCOMPtr.cpp => xpcom/tests/TestRefPtr.cpp
2010-04-25 12:06:42 +01:00
Daniel Holbert
3acdc0af07 Bug 552330: Remove NS_ARRAY_LENGTH redefinition in TestObserverArray.cpp to fix compile warning. r=dbaron a=dholbert_sheriff 2010-04-23 13:45:51 -07:00
Jacek Caban
e33b8ea4c5 Bug 551254 - remove ENABLE_CXX_EXCEPTIONS from XPCOM tests. 2010-04-16 00:29:15 -05:00
Ginn Chen
bcf64f198e Bug 557470 make check in xpcom/tests/ is not portable on Solaris r=ted.mielczarek 2010-04-15 18:47:25 +08:00
Chris Jones
286a291a3e Bug 557383: Remove unused variable warning and add extra failure check. r=dholbert 2010-04-14 21:09:35 -05:00
Dave Townsend
42dcecd548 Bug 557539: Trying to set nsILocalFile.lastModifiedTime for a directory on windows throws NS_ERROR_ACCESS_DENIED. r=jimm 2010-04-08 12:12:19 -07:00
Daniel Holbert
34666ded61 Bug 557380: Add missing arg to printf in TestUnicodeArguments.cpp, to fix build warning. r=smontagu 2010-04-06 00:09:44 -07:00
Chris Jones
2e823a2ee5 Bug 551254: Simple (disabled) test that the STL wrappers work correctly. 2010-04-02 12:58:12 -05:00
Chris Jones
1b4aa00d53 Backed out changeset ac5cbcb2feb2 2010-04-02 13:19:24 -05:00
Chris Jones
2e3a88b480 Bug 551254: Simple (disabled) test that the STL wrappers work correctly. 2010-04-02 12:58:12 -05:00
Daniel Holbert
301cdef742 Bug 556559: Fix unsigned/signed comparison warnings in TestTArray.cpp. r=bsmedberg 2010-04-02 09:34:31 -07:00
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