mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +00:00
Add placeholder for NSOrderedSet testing
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34747 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
8b2aba3580
commit
548520671b
2 changed files with 33 additions and 0 deletions
0
Tests/base/NSOrderedSet/TestInfo
Normal file
0
Tests/base/NSOrderedSet/TestInfo
Normal file
33
Tests/base/NSOrderedSet/basic.m
Normal file
33
Tests/base/NSOrderedSet/basic.m
Normal file
|
@ -0,0 +1,33 @@
|
|||
#import "ObjectTesting.h"
|
||||
#import <Foundation/NSAutoreleasePool.h>
|
||||
/*
|
||||
#import <Foundation/NSOrderedSet.h>
|
||||
*/
|
||||
|
||||
int main()
|
||||
{
|
||||
START_SET("NSOrderedSet base")
|
||||
|
||||
/*
|
||||
NSOrderedSet *testObj;
|
||||
NSMutableArray *testObjs = [NSMutableArray new];
|
||||
|
||||
testObj = [NSOrderedSet new];
|
||||
[testObjs addObject: testObj];
|
||||
PASS(testObj != nil && [testObj count] == 0,
|
||||
"can create an empty ordered set");
|
||||
|
||||
testObj = [NSOrderedSet setWithObject: @"Hello"];
|
||||
[testObjs addObject: testObj];
|
||||
PASS(testObj != nil && [testObj count] == 1,
|
||||
"can create an ordered set with one element");
|
||||
|
||||
test_NSObject(@"NSOrderedSet", testObjs);
|
||||
test_NSCoding(testObjs);
|
||||
test_NSCopying(@"NSOrderedSet", @"NSMutableOrderedSet", testObjs, YES, NO);
|
||||
test_NSMutableCopying(@"NSOrderedSet", @"NSMutableOrderedSet", testObjs);
|
||||
*/
|
||||
|
||||
END_SET("NSOrderedSet base")
|
||||
return 0;
|
||||
}
|
Loading…
Reference in a new issue