Differences From Artifact [1a00935b6a]:
- File
tests/OFWideString/OFWideString.m
— part of check-in
[b597d49f43]
at
2008-10-08 23:15:26
on branch trunk
— Multiple changes, see details.
* OFObject getMem: renamd to getMemWithSize:.
* OFString compare: renamed to compareTo:.
* Exceptions don't throw itself anymore.
* Exceptions include an error string now.
* Exceptions now got raise and string.
* New methods for OFFile:
* changeModeOfFile:toMode:
* changeOwnerOfFile:toOwner:andGroup:
* delete:
* link:to:
* symlink:to:
* OFFile isEndOfFile renamd to atEndOfFile
* OFNotImplementedExeception newWithObject:andMethod renamed to
newWithObject:andSelector:.
* Tests updated accordingly.
* TODO list added. (user: js, size: 1323) [annotate] [blame] [check-ins using]
To Artifact [437fd29f56]:
- File tests/OFWideString/OFWideString.m — part of check-in [62abf39400] at 2008-10-25 22:25:50 on branch trunk — newWithFooString -> newAsFooString. (user: js, size: 1292) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
14 15 16 17 18 19 20 | #import "OFString.h" /* TODO: Do real checks */ int main() { | | | | | | 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 | #import "OFString.h" /* TODO: Do real checks */ int main() { OFString *s1 = [OFString newAsWideCString: L"test"]; OFString *s2 = [OFString newAsWideCString: L""]; OFString *s3; OFString *s4 = [OFString newAsConstWideCString: NULL]; [s2 appendWideCString: L"123"]; s3 = [s1 clone]; [s4 setTo: s2]; if (![s1 compareTo: s3]) puts("s1 and s3 match! GOOD!"); else { |
︙ | ︙ |