mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +00:00
increase timeout for slow machines
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32665 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
dbc38567b6
commit
7d9c3baf64
1 changed files with 7 additions and 7 deletions
|
@ -12,20 +12,20 @@ int main()
|
|||
NSBundle *bundle;
|
||||
NSString *bundlePath = [[NSFileManager defaultManager] currentDirectoryPath];
|
||||
bundlePath = [bundlePath stringByAppendingPathComponent: @"Resources"];
|
||||
bundlePath = [NSBundle pathForResource:@"TestConnection"
|
||||
ofType:@"bundle"
|
||||
inDirectory:bundlePath];
|
||||
bundle = [NSBundle bundleWithPath:bundlePath];
|
||||
bundlePath = [NSBundle pathForResource: @"TestConnection"
|
||||
ofType: @"bundle"
|
||||
inDirectory: bundlePath];
|
||||
bundle = [NSBundle bundleWithPath: bundlePath];
|
||||
PASS([bundle load],"We can load the test bundle");
|
||||
{
|
||||
/* this should probably be rewritten to uh return a bool */
|
||||
NS_DURING
|
||||
NSDate *date;
|
||||
NSRunLoop *run = [NSRunLoop currentRunLoop];
|
||||
[NSClassFromString(@"Tester") performSelector:@selector(startup)];
|
||||
[NSClassFromString(@"Tester") performSelector: @selector(startup)];
|
||||
|
||||
date = [NSDate dateWithTimeIntervalSinceNow:1];
|
||||
[run runUntilDate:date];
|
||||
date = [NSDate dateWithTimeIntervalSinceNow: 3.0];
|
||||
[run runUntilDate: date];
|
||||
PASS(1, "NSConnection can do a simple connection");
|
||||
NS_HANDLER
|
||||
PASS(0, "NSConnection can do a simple connection");
|
||||
|
|
Loading…
Reference in a new issue