105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
|
}
if (list.count != i)
ok = false;
TEST(@"OFEnumerator's -[nextObject]", ok);
[enumerator reset];
[list removeListObject: list.firstListObject];
EXPECT_EXCEPTION(@"Detection of mutation during enumeration",
OFEnumerationMutationException, [enumerator nextObject])
[list prependObject: strings[0]];
|
<
|
105
106
107
108
109
110
111
112
113
114
115
116
117
118
|
}
if (list.count != i)
ok = false;
TEST(@"OFEnumerator's -[nextObject]", ok);
[list removeListObject: list.firstListObject];
EXPECT_EXCEPTION(@"Detection of mutation during enumeration",
OFEnumerationMutationException, [enumerator nextObject])
[list prependObject: strings[0]];
|