Differences From Artifact [366cc90aaf]:
- File tests/TestsAppDelegate.h — part of check-in [8df328d503] at 2011-07-18 22:53:19 on branch trunk — Add OFSet and OFMutableSet. (user: js, size: 3470) [annotate] [blame] [check-ins using]
To Artifact [3f94796a0a]:
- File
tests/TestsAppDelegate.h
— part of check-in
[e1e7ffa903]
at
2011-09-22 23:25:42
on branch trunk
— Exceptions are now autoreleased.
This is safe as an "exception loop" can't happen, since if allocating
an exception fails, it throws an OFAllocFailedException which is
preallocated and can always be thrown.So, the worst case would be that an autorelease of an exception fails,
triggering an OFOutOfMemoryException for which there is no memory,
resulting in an OFAllocFailedException to be thrown. (user: js, size: 3450) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
38 39 40 41 42 43 44 | [self outputTesting: test \ inModule: module]; \ \ @try { \ code; \ } @catch (exception *e) { \ caught = YES; \ | < | 38 39 40 41 42 43 44 45 46 47 48 49 50 51 | [self outputTesting: test \ inModule: module]; \ \ @try { \ code; \ } @catch (exception *e) { \ caught = YES; \ } \ \ if (caught) \ [self outputSuccess: test \ inModule: module]; \ else { \ [self outputFailure: test \ |
︙ | ︙ |