mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 00:41:02 +00:00
Add START_SET and END_SET to NSData/additions.m unit test
This commit is contained in:
parent
0b29cbdcc9
commit
8361596447
1 changed files with 3 additions and 1 deletions
|
@ -8,6 +8,8 @@
|
|||
int main()
|
||||
{
|
||||
NSAutoreleasePool *arp = [NSAutoreleasePool new];
|
||||
|
||||
START_SET("NSData Additions")
|
||||
#if USE_ZLIB
|
||||
NSData *data;
|
||||
NSData *ref;
|
||||
|
@ -15,7 +17,6 @@ int main()
|
|||
NSUInteger length;
|
||||
|
||||
ref = [NSData dataWithContentsOfFile: @"Lorum"];
|
||||
PASS(ref != nil, "dataWithContentsOfFile: is not nil");
|
||||
PASS(NO == [ref isGzipped], "Reference data is not gzipped");
|
||||
|
||||
data = [ref gzipped: 0];
|
||||
|
@ -68,6 +69,7 @@ int main()
|
|||
#else
|
||||
SKIP("zlib support disabled");
|
||||
#endif
|
||||
END_SET("NSData Additions")
|
||||
|
||||
[arp release]; arp = nil;
|
||||
return 0;
|
||||
|
|
Loading…
Reference in a new issue