mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +00:00
Merge branch 'master' into xml_sax2
This commit is contained in:
commit
caba32dddb
2 changed files with 3 additions and 2 deletions
|
@ -158,7 +158,7 @@ int main()
|
|||
}
|
||||
}
|
||||
PASS((ran == want), "many operations, all were performed")
|
||||
PASS((f - s) < 0.5, "concurrent test duration")
|
||||
NSLog(@"Duration for %d concurrent operations %g seconds.", want, (f - s));
|
||||
|
||||
// multiple concurrent operations
|
||||
[q setMaxConcurrentOperationCount: 5];
|
||||
|
|
|
@ -59,7 +59,8 @@ int main()
|
|||
[q waitUntilAllOperationsAreFinished];
|
||||
f = [NSDate timeIntervalSinceReferenceDate];
|
||||
PASS([o counter] == want, "expected number of operations")
|
||||
PASS((f - s) < 0.5, "sequential test duration")
|
||||
NSLog(@"Duration for %d sequential operations %g seconds.", want, (f - s));
|
||||
|
||||
|
||||
[o reset];
|
||||
[q addOperationWithTarget: o
|
||||
|
|
Loading…
Reference in a new issue