Differences From Artifact [3c7e2e133b]:
- File
tests/OFListTests.m
— part of check-in
[44f45c2e35]
at
2017-01-09 17:36:36
on branch trunk
— Update copyright
Forgot to add 2017, even though I already did quite some changes in
2017. (user: js, size: 4143) [annotate] [blame] [check-ins using] [more...]
To Artifact [8387465471]:
- File tests/OFListTests.m — part of check-in [2de9660312] at 2017-09-28 23:02:23 on branch trunk — Enable -Wnullable-to-nonnull-conversion and adjust (user: js, size: 4289) [annotate] [blame] [check-ins using]
︙ | |||
56 57 58 59 60 61 62 | 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 | - + + - + + - + + - + | TEST(@"-[lastListObject]", [[list lastListObject]->object isEqual: strings[2]]) TEST(@"-[lastListObject]->previous", [[list lastListObject]->previous->object isEqual: strings[1]]) TEST(@"-[removeListObject:]", |
︙ | |||
112 113 114 115 116 117 118 | 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 | - + | if ([list count] != i) ok = false; TEST(@"OFEnumerator's -[nextObject]", ok); [enumerator reset]; |
︙ | |||
141 142 143 144 145 146 147 | 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 | - + + | TEST(@"Fast Enumeration", ok) ok = false; @try { for (OFString *obj in list) { (void)obj; |