Commit Graph

123 Commits

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