Differences From Artifact [693a970af9]:
- File tests/OFArray/OFArray.m — part of check-in [7107bd9906] at 2009-05-18 20:41:47 on branch trunk — Add one more convenience method to OFArray. (user: js, size: 1385) [annotate] [blame] [check-ins using]
To Artifact [3882b8f32d]:
- File
tests/OFArray/OFArray.m
— part of check-in
[a29d403286]
at
2009-05-23 16:50:44
on branch trunk
— A few renames in OFArray, OFDataArray and OFDictionary.
OFArray:
* Rename - object: to - objectAtIndex:.OFDataArray:
* Rename - item: to - itemAtIndex:.OFDictionary:
* Rename - get: to - objectForKey:.
* Rename - set:to: to - setObject:forKey:.
* Rename - remove: to - removeObjectForKey:. (user: js, size: 1392) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
59 60 61 62 63 64 65 | [b add: @"Baz"]; assert([a isEqual: b]); [b removeNObjects: 1]; [b add: @"Qux"]; assert(![a isEqual: b]); | | | 59 60 61 62 63 64 65 66 67 68 69 70 | [b add: @"Baz"]; assert([a isEqual: b]); [b removeNObjects: 1]; [b add: @"Qux"]; assert(![a isEqual: b]); CATCH_EXCEPTION([a objectAtIndex: 3], OFOutOfRangeException) CATCH_EXCEPTION([a add: @"foo"], OFNotImplementedException) return 0; } |