Commit Graph

771 Commits

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