Differences From Artifact [d1e8e561ed]:
- File
tests/OFString/OFString.m
— part of check-in
[61a6ac873a]
at
2009-02-14 17:08:21
on branch trunk
— Big diff, see details.
* Add OFComparable protocol.
* Add OFInvalidArgument exception - needs that sel_getName vs.
sel_get_name stuff again, therefore reintroduce it.
* Implement proper copy method for OFString and OFArray.
* Add isEqual: and compare: for OFString and OFArray. (user: js, size: 2392) [annotate] [blame] [check-ins using]
To Artifact [0abd9793f1]:
- File
tests/OFString/OFString.m
— part of check-in
[cc2e866e55]
at
2009-02-14 19:04:50
on branch trunk
— Let OFString's setTo: use const char* instead of OFString*.
This is far more useful. (user: js, size: 2402) [annotate] [blame] [check-ins using]
︙ | |||
63 64 65 66 67 68 69 | 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 | - + | s3 = [s1 copy]; CHECK([s1 isEqual: s3]) CHECK(![s1 isEqual: [OFObject new]]); [s2 appendCString: "123"]; |
︙ |