257
258
259
260
261
262
263
264
265
266
267
268
269
270
|
ok = true;
}
TEST(@"Detection of mutation during Fast Enumeration", ok)
[mutDict removeObjectForKey: @""];
#ifdef OF_HAVE_BLOCKS
{
__block size_t i = 0;
__block bool ok = true;
[mutDict enumerateKeysAndObjectsUsingBlock:
^ (id key, id obj, bool *stop) {
|
>
>
>
>
>
|
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
|
ok = true;
}
TEST(@"Detection of mutation during Fast Enumeration", ok)
[mutDict removeObjectForKey: @""];
TEST(@"-[stringByURLEncoding]",
[[[OFDictionary dictionaryWithKeysAndObjects: @"foo", @"bar",
@"q&x", @"q=x", nil]
stringByURLEncoding] isEqual: @"q%26x=q%3Dx&foo=bar"])
#ifdef OF_HAVE_BLOCKS
{
__block size_t i = 0;
__block bool ok = true;
[mutDict enumerateKeysAndObjectsUsingBlock:
^ (id key, id obj, bool *stop) {
|