mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 16:30:41 +00:00
add some keyed coding tests
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@36424 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
0b60eebda4
commit
a8a0d68da8
14 changed files with 18 additions and 2 deletions
|
@ -7,11 +7,13 @@ int main()
|
|||
NSAutoreleasePool *arp = [NSAutoreleasePool new];
|
||||
NSInputStream *t1;
|
||||
NSOutputStream *t2;
|
||||
NSArray *a;
|
||||
NSHost *host = [NSHost hostWithName:@"localhost"];
|
||||
|
||||
[NSStream getStreamsToHost:host port:80 inputStream:&t1 outputStream:&t2];
|
||||
|
||||
test_NSObject(@"NSStream", [NSArray arrayWithObjects:t1, t2, nil]);
|
||||
a = [NSArray arrayWithObjects:t1, t2, nil];
|
||||
test_NSObject(@"NSStream", a);
|
||||
|
||||
[arp release]; arp = nil;
|
||||
return 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue