Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 95 lines (88 sloc) 2.084 kb
05eedb5 @itod initial add
authored
1 // Copyright 2010 Todd Ditchendorf
2 //
3 // Licensed under the Apache License, Version 2.0 (the "License");
4 // you may not use this file except in compliance with the License.
5 // You may obtain a copy of the License at
6 //
7 // http://www.apache.org/licenses/LICENSE-2.0
8 //
9 // Unless required by applicable law or agreed to in writing, software
10 // distributed under the License is distributed on an "AS IS" BASIS,
11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 // See the License for the specific language governing permissions and
13 // limitations under the License.
14
15 #import "TDTokenTest.h"
16
17 @implementation TDTokenTest
18
19 - (void)setUp {
20 eof = [PKToken EOFToken];
21 }
22
23
eb778c5 @itod merging changes from Google Code SVN repo
authored
24 //- (void)testEOFTokenReleaseOnce1 {
25 // TDNotNil(eof);
26 // [eof release];
27 //}
28 //
29 //
30 //- (void)testEOFTokenReleaseOnce2 {
31 // TDNotNil(eof);
32 // [eof release];
33 //}
34 //
35 //
36 //- (void)testEOFTokenReleaseTwice1 {
37 // TDNotNil(eof);
38 // [eof release];
39 // TDNotNil(eof);
40 // [eof release];
41 //}
42 //
43 //
44 //- (void)testEOFTokenReleaseTwice2 {
45 // TDNotNil(eof);
46 // [eof release];
47 // TDNotNil(eof);
48 // [eof release];
49 //}
50 //
51 //
52 //- (void)testEOFTokenAutoreleaseOnce1 {
53 // TDNotNil(eof);
54 // [eof autorelease];
55 //}
56 //
57 //
58 //- (void)testEOFTokenAutoreleaseOnce2 {
59 // TDNotNil(eof);
60 // [eof autorelease];
61 //}
62 //
63 //
64 //- (void)testEOFTokenAutoreleaseTwice1 {
65 // TDNotNil(eof);
66 // [eof autorelease];
67 // TDNotNil(eof);
68 // [eof autorelease];
69 //}
70 //
71 //
72 //- (void)testEOFTokenAutoreleaseTwice2 {
73 // TDNotNil(eof);
74 // [eof autorelease];
75 // TDNotNil(eof);
76 // [eof autorelease];
77 //}
78 //
79 //
80 //- (void)testEOFTokenRetainCount {
81 // TDTrue([eof retainCount] >= 17035104);
82 // // NO IDEA WHY THIS WONT PASS
83 // //TDEquals(UINT_MAX, [eof retainCount]); /*17035104 4294967295*/
84 //// TDEqualObjects([NSNumber numberWithUnsignedInt:4294967295], [NSNumber numberWithUnsignedInt:[eof retainCount]]);
85 //}
86 //
87 //
88 //- (void)testCopyIdentity {
89 // id copy = [eof copy];
90 // TDTrue(copy == eof);
91 // [copy release]; // appease clang sa
92 //}
05eedb5 @itod initial add
authored
93
94 @end
Something went wrong with that request. Please try again.