ObjFW  All files named "tests/OFObject/OFObject.m"

History for tests/OFObject/OFObject.m

2009-09-13
18:26
Deleted: Add new testing framework - all existing tests are going to be migrated. check-in: [d1ddc84e0e] user: js, branch: trunk, size: 0
2009-05-29
19:21
A few renames.

OFExceptions:
* OFNoMemException to OFOutOfMemoryException.
* OFMemNotPartOfObjException to OFMemoryNotPartOfObjectException.

OFObject:
* -[addItemToMemoryPool:] to -[addMemoryToPool:].
* -[allocWithSize:] to -[allocMemoryWithSize:].
* -[allocNItems:withSize] to -[allocMemoryForNItems:withSize:].
* -[resizeMem:toSize] to -[resizeMemory:toSize:].
* -[resizeMem:toNItems:withSize:] to
-[resizeMemoryToNItems:withSize:].
* -[freeMem] to -[freeMemory:].

OFString:
* -[urlencode] to -[urlEncodedString].
* -[urldecode] to -[urlDecodedString]. file: [e3a197e96b] check-in: [033054ad75] user: js, branch: trunk, size: 2874 [annotate] [blame] [check-ins using] [diff]

2009-05-24
18:04
Always use #include "config.h" instead of #import "config.h". file: [68866f4346] check-in: [94ea6848a8] user: js, branch: trunk, size: 2732 [annotate] [blame] [check-ins using] [diff]
2009-05-15
20:01
Use OFString as much as possible. file: [80756659a6] check-in: [67066be692] user: js, branch: trunk, size: 2731 [annotate] [blame] [check-ins using] [diff]
2009-05-03
21:33
Get rid of + new.
Additionally, make - accept return an autoreleased OFTCPSocket.
file: [020015e81a] check-in: [5ca127891c] user: js, branch: trunk, size: 2723 [annotate] [blame] [check-ins using] [diff]
2009-05-01
19:38
Some tests were still using #import for C headers. Fixed. file: [a82f199588] check-in: [f198059455] user: js, branch: trunk, size: 2714 [annotate] [blame] [check-ins using] [diff]
2009-04-26
12:44
A few renames in OFObject.

getMemWithSize: -> allocWithSize:
getMemForNItems:ofSize: -> allocNItems:withSize:
resizeMem:toNItems:ofSize: -> resizeMem:toNItems:withSize: file: [5969f41bb6] check-in: [e959fed010] user: js, branch: trunk, size: 2711 [annotate] [blame] [check-ins using] [diff]

2009-01-05
00:59
Update copyright. file: [875bad3799] check-in: [f1b749d113] user: js, branch: trunk, size: 2717 [annotate] [blame] [check-ins using] [diff]
2008-12-23
03:59
Remove spaces and tabs at end of line. file: [080970b224] check-in: [7d7b89d775] user: js, branch: trunk, size: 2710 [annotate] [blame] [check-ins using] [diff]
01:57
Check for SIZE_T, fallback to SIZE_T_MAX or define as (size_t)-1. file: [63219e8b9b] check-in: [c180b76560] user: js, branch: trunk, size: 2712 [annotate] [blame] [check-ins using] [diff]
2008-12-21
15:54
Nicer exception catching in tests. file: [28e0db1e33] check-in: [1c77f45484] user: js, branch: trunk, size: 2693 [annotate] [blame] [check-ins using] [diff]
2008-12-14
02:12
This is more safe. file: [07688dcb04] check-in: [7ddd9e5d35] user: js, branch: trunk, size: 2771 [annotate] [blame] [check-ins using] [diff]
2008-12-13
21:34
Always delete temp symlinks, even if test fails. Plus one new test. file: [86c3211652] check-in: [15ddecd17d] user: js, branch: trunk, size: 2771 [annotate] [blame] [check-ins using] [diff]
2008-12-10
18:00
Enhance exceptions; fix some FIXMEs in OFTCPSocket. file: [3c3dc8da7e] check-in: [a01c94d9dd] user: js, branch: trunk, size: 2604 [annotate] [blame] [check-ins using] [diff]
2008-11-30
15:17
Clean up imports. file: [efc895790f] check-in: [4b8666fe15] user: js, branch: trunk, size: 2612 [annotate] [blame] [check-ins using] [diff]
2008-11-07
17:25
Implementation for OFBigArray. file: [49c951c9b1] check-in: [59f16e8a3d] user: js, branch: trunk, size: 2592 [annotate] [blame] [check-ins using] [diff]
2008-11-02
00:27
Some fixes for OFObject. file: [2848a193bd] check-in: [9ff3dbe9f9] user: js, branch: trunk, size: 2598 [annotate] [blame] [check-ins using] [diff]
2008-11-01
21:47
Allow using [ofobject resizeMem: NULL toSize: size]. file: [9337e68438] check-in: [a6b45eec2f] user: js, branch: trunk, size: 2622 [annotate] [blame] [check-ins using] [diff]
2008-10-30
00:49
Store initialization parameters of exceptions. file: [ad58ee962e] check-in: [ea3b6ef066] user: js, branch: trunk, size: 2498 [annotate] [blame] [check-ins using] [diff]
2008-10-08
23:15
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. file: [15b4656509] check-in: [b597d49f43] user: js, branch: trunk, size: 2497 [annotate] [blame] [check-ins using] [diff]

2008-09-14
20:19
Make more use of exceptions. file: [436ef088ef] check-in: [de929f3cde] user: js, branch: trunk, size: 2374 [annotate] [blame] [check-ins using] [diff]
19:41
Also test for exceptions from OFObject's resizeMem:. file: [9d8c2f0a96] check-in: [dc4f1a26d6] user: js, branch: trunk, size: 2380 [annotate] [blame] [check-ins using] [diff]
19:35
More exception testing stuff for OFObject. file: [201b5d89a5] check-in: [8b2f3fab96] user: js, branch: trunk, size: 2177 [annotate] [blame] [check-ins using] [diff]
19:03
More exceptions stuff. file: [b4bf13ad01] check-in: [98fe076bd8] user: js, branch: trunk, size: 2454 [annotate] [blame] [check-ins using] [diff]
16:43
Added: Lots of changes. See full commit message.

* Updated buildsys to fixed version.
* Implement exceptions.
* Let OFObject use exceptions.
* Write tests for OFObject.
* Fix a bug in OFObject's freeMem:. file: [2c9d4130c6] check-in: [7b8b7cd06c] user: js, branch: trunk, size: 2429 [annotate] [blame] [check-ins using]