Commit 9089a06f authored by mjs's avatar mjs

Add automated leak checking to all the tests.

	* Tests/CookieManager/.cvsignore:
	* Tests/CookieManager/Makefile.am:
	* Tests/CookieManager/wkcookie-test.m: (main):
	* Tests/CookieManager/wkcookiemanager-test.m: (main):
	* Tests/Makefile.am:
	* Tests/WebFoundation-Misc/.cvsignore:
	* Tests/WebFoundation-Misc/Makefile.am:
	* Tests/WebFoundation-Misc/ifnsarrayextensions-test.m: (main):
	* Tests/WebFoundation-Misc/ifnsobjectextensions-test.m: (main):
	* Tests/WebFoundation-Misc/ifnsstringextensions-test.m: (main):
	* Tests/WebFoundation-Misc/ifrecursivereadwritelock-test.m: (thread_main),
	(main):
	* Tests/harness.c: (runtest), (main):
	* Tests/kde/.cvsignore:
	* Tests/kde/Makefile.am:
	* Tests/kde/kurl-test.chk:
	* Tests/kde/kurl-test.cpp: (main):
	* Tests/libiftest/.cvsignore:
	* Tests/libiftest/IFCheckLeaks.c: (IFOverwriteRegisters), (IFClearTheStack),
	(IFCheckLeaksAtExitHandler), (IFCheckLeaksAtExit):
	* Tests/libiftest/IFCheckLeaks.h:
	* Tests/libiftest/Makefile.am:
	* Tests/libiftest/objc-dummy.mm: (IF_objective_c_hack):
	* Tests/qt/.cvsignore:
	* Tests/qt/Makefile.am:
	* Tests/qt/qarray-test.cpp: (main):
	* Tests/qt/qbuffer-test.cpp: (main):
	* Tests/qt/qchar-test.cpp: (main):
	* Tests/qt/qcstring-test.cpp: (main):
	* Tests/qt/qdate-test.cpp: (main):
	* Tests/qt/qdatetime-test.cpp: (main):
	* Tests/qt/qdict-test.cpp: (main):
	* Tests/qt/qlist-test.cpp: (main):
	* Tests/qt/qmap-test.cpp: (main):
	* Tests/qt/qpoint-test.cpp: (main):
	* Tests/qt/qptrdict-test.cpp: (main):
	* Tests/qt/qrect-test.cpp: (main):
	* Tests/qt/qregexp-test.cpp: (main):
	* Tests/qt/qsize-test.cpp: (main):
	* Tests/qt/qsortedlist-test.cpp: (main):
	* Tests/qt/qstack-test.cpp: (main):
	* Tests/qt/qstring-test.cpp: (main):
	* Tests/qt/qstringlist-test.cpp: (main):
	* Tests/qt/qtime-test.cpp: (main):
	* Tests/qt/qvaluelist-test.cpp: (main):
	* Tests/qt/qvector-test.cpp: (main):
	* configure.in:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@646 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 168bf470
#!/bin/sh
unsetenv MallocStackLogging
unsetenv MallocScribble
unsetenv MallocGuardEdges
`dirname $0`/testkjs `dirname $0`/test.js 2>&1
if [ $? -eq 1 ]; then
......
2002-02-20 Maciej Stachowiak <mjs@apple.com>
* src/kdelibs/kjs/kjs-test:
* src/kwq/KWQKURL.mm: (KURL::setQuery):
2002-02-18 Kenneth Kocienda <kocienda@apple.com>
* src/Makefile.am:
......
2002-02-20 Maciej Stachowiak <mjs@apple.com>
* src/kdelibs/kjs/kjs-test:
* src/kwq/KWQKURL.mm: (KURL::setQuery):
2002-02-18 Kenneth Kocienda <kocienda@apple.com>
* src/Makefile.am:
......
2002-02-20 Maciej Stachowiak <mjs@apple.com>
* src/kdelibs/kjs/kjs-test:
* src/kwq/KWQKURL.mm: (KURL::setQuery):
2002-02-18 Kenneth Kocienda <kocienda@apple.com>
* src/Makefile.am:
......
......@@ -431,13 +431,14 @@ void KURL::setRef(const QString &s)
d->compose();
}
void KURL::setQuery(const QString &_txt, int encoding_hint=0)
void KURL::setQuery(const QString &query, int encoding_hint=0)
{
copyOnWrite();
if (_txt.length() && (_txt[0] !='?'))
d->sQuery = "?" + _txt;
else
d->sQuery = _txt;
if (query.isEmpty() || query[0] == '?') {
d->sQuery = query;
} else {
d->sQuery = "?" + query;
}
d->compose();
}
......
#!/bin/sh
unsetenv MallocStackLogging
unsetenv MallocScribble
unsetenv MallocGuardEdges
`dirname $0`/testkjs `dirname $0`/test.js 2>&1
if [ $? -eq 1 ]; then
......
......@@ -431,13 +431,14 @@ void KURL::setRef(const QString &s)
d->compose();
}
void KURL::setQuery(const QString &_txt, int encoding_hint=0)
void KURL::setQuery(const QString &query, int encoding_hint=0)
{
copyOnWrite();
if (_txt.length() && (_txt[0] !='?'))
d->sQuery = "?" + _txt;
else
d->sQuery = _txt;
if (query.isEmpty() || query[0] == '?') {
d->sQuery = query;
} else {
d->sQuery = "?" + query;
}
d->compose();
}
......
2002-02-20 Maciej Stachowiak <mjs@apple.com>
* WebView.subproj/IFWebController.h:
2002-02-19 John Sullivan <sullivan@apple.com>
Finished first cut at IFWebHistory implementation. All methods are implemented
......
2002-02-20 Maciej Stachowiak <mjs@apple.com>
* WebView.subproj/IFWebController.h:
2002-02-19 John Sullivan <sullivan@apple.com>
Finished first cut at IFWebHistory implementation. All methods are implemented
......
......@@ -6,6 +6,7 @@
*/
#import <Cocoa/Cocoa.h>
#import <WebFoundation/IFAuthenticationHandler.h>
/*
=============================================================================
......@@ -163,41 +164,6 @@
*/
@interface IFSimpleAuthenticationResult
{
NSString *username;
NSString *password;
// May need an extra rememberThisPassword flag if the loader mechanism is
// going to provide a persistent credentials cache (for starters we can have
// just a session cache)
}
@end
@interface IFSimpleAuthenticationRequest
{
NSURL *url; // nil if for something non-URI based
NSString *domain; // http authentication domain or some representation of
// auth domain for non-URI-based locations; otherwise nil.
NSString *username; // username, if already provided, otherwise nil
BOOL plaintextPassword; // password will be sent in the clear
// TRUE for http basic auth or ftp
// FALSE for http digest auth
unsigned previousFailures; // number of times in a row authenticating to this
// location has failed; useful to be able to show a
// different dialog based on count
}
@end
@protocol IFAuthenticationHandler
// Can we make this work without blocking the UI, or do we need to make it explicitly async
// somehow?
- (IFSimpleAuthenticationResult *) authenticate: (IFSimpleAuthenticationRequest *)request;
// do we need anything for fancier authentication schemes like kerberos or GSSAPI?
// Do we provide a default dialog?
@end
/*
......
......@@ -6,6 +6,7 @@
*/
#import <Cocoa/Cocoa.h>
#import <WebFoundation/IFAuthenticationHandler.h>
/*
=============================================================================
......@@ -163,41 +164,6 @@
*/
@interface IFSimpleAuthenticationResult
{
NSString *username;
NSString *password;
// May need an extra rememberThisPassword flag if the loader mechanism is
// going to provide a persistent credentials cache (for starters we can have
// just a session cache)
}
@end
@interface IFSimpleAuthenticationRequest
{
NSURL *url; // nil if for something non-URI based
NSString *domain; // http authentication domain or some representation of
// auth domain for non-URI-based locations; otherwise nil.
NSString *username; // username, if already provided, otherwise nil
BOOL plaintextPassword; // password will be sent in the clear
// TRUE for http basic auth or ftp
// FALSE for http digest auth
unsigned previousFailures; // number of times in a row authenticating to this
// location has failed; useful to be able to show a
// different dialog based on count
}
@end
@protocol IFAuthenticationHandler
// Can we make this work without blocking the UI, or do we need to make it explicitly async
// somehow?
- (IFSimpleAuthenticationResult *) authenticate: (IFSimpleAuthenticationRequest *)request;
// do we need anything for fancier authentication schemes like kerberos or GSSAPI?
// Do we provide a default dialog?
@end
/*
......
......@@ -6,6 +6,7 @@
*/
#import <Cocoa/Cocoa.h>
#import <WebFoundation/IFAuthenticationHandler.h>
/*
=============================================================================
......@@ -163,41 +164,6 @@
*/
@interface IFSimpleAuthenticationResult
{
NSString *username;
NSString *password;
// May need an extra rememberThisPassword flag if the loader mechanism is
// going to provide a persistent credentials cache (for starters we can have
// just a session cache)
}
@end
@interface IFSimpleAuthenticationRequest
{
NSURL *url; // nil if for something non-URI based
NSString *domain; // http authentication domain or some representation of
// auth domain for non-URI-based locations; otherwise nil.
NSString *username; // username, if already provided, otherwise nil
BOOL plaintextPassword; // password will be sent in the clear
// TRUE for http basic auth or ftp
// FALSE for http digest auth
unsigned previousFailures; // number of times in a row authenticating to this
// location has failed; useful to be able to show a
// different dialog based on count
}
@end
@protocol IFAuthenticationHandler
// Can we make this work without blocking the UI, or do we need to make it explicitly async
// somehow?
- (IFSimpleAuthenticationResult *) authenticate: (IFSimpleAuthenticationRequest *)request;
// do we need anything for fancier authentication schemes like kerberos or GSSAPI?
// Do we provide a default dialog?
@end
/*
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment