Differences From Artifact [19f0fe9122]:
- File
tests/OFArrayTests.m
— part of check-in
[008be86a16]
at
2012-03-12 11:54:22
on branch trunk
— OFArray: +[arrayWithCArray:length:] -> +[arrayWithObjects:count:].
This is required for the new array literals. (user: js, size: 8884) [annotate] [blame] [check-ins using] [more...]
To Artifact [1073eae76a]:
- File
tests/OFArrayTests.m
— part of check-in
[26f2ffa908]
at
2012-06-06 12:15:46
on branch trunk
— -[addObject:atIndex:] -> -[insertObject:atIndex:].
For consistency with Foundation. (user: js, size: 8896) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
55 56 57 58 59 60 61 | TEST(@"-[description]", [[a[0] description ]isEqual: @"(\n\tFoo,\n\tBar,\n\tBaz\n)"]) TEST(@"-[addObject:]", R([m[0] addObject: c_ary[0]]) && R([m[0] addObject: c_ary[2]])) | | | | 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 | TEST(@"-[description]", [[a[0] description ]isEqual: @"(\n\tFoo,\n\tBar,\n\tBaz\n)"]) TEST(@"-[addObject:]", R([m[0] addObject: c_ary[0]]) && R([m[0] addObject: c_ary[2]])) TEST(@"-[insertObject:atIndex:]", R([m[0] insertObject: c_ary[1] atIndex: 1])) TEST(@"-[count]", [m[0] count] == 3 && [a[0] count] == 3 && [a[1] count] == 3) TEST(@"-[isEqual:]", [m[0] isEqual: a[0]] && [a[0] isEqual: a[1]]) TEST(@"-[objectAtIndex:]", |
︙ | ︙ |