Differences From Artifact [3714ef1c3f]:
- File tests/OFBlockTests.m — part of check-in [d7c2d46b2b] at 2010-11-12 20:13:20 on branch trunk — Add tests for blocks. (user: js, size: 1892) [annotate] [blame] [check-ins using]
To Artifact [e76b67d1d2]:
- File
tests/OFBlockTests.m
— part of check-in
[6f4eb004a3]
at
2010-12-18 23:39:20
on branch trunk
— Add support for the new GNU runtime.
Currently, the properties test for nonatomic fails. This is a bug in
the new GNU runtime. (user: js, size: 1900) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
14 15 16 17 18 19 20 | #import "OFString.h" #import "OFBlock.h" #import "OFAutoreleasePool.h" #import "OFExceptions.h" #if defined(OF_OBJFW_RUNTIME) # include <objfw-rt.h> | | | | 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 | #import "OFString.h" #import "OFBlock.h" #import "OFAutoreleasePool.h" #import "OFExceptions.h" #if defined(OF_OBJFW_RUNTIME) # include <objfw-rt.h> #elif defined(OF_OLD_GNU_RUNTIME) # include <objc/objc-api.h> #endif #if defined(OF_OLD_GNU_RUNTIME) || defined(OF_OBJFW_RUNTIME) # define objc_getClass objc_get_class #endif #import "TestsAppDelegate.h" static OFString *module = @"OFBlock"; |
︙ | ︙ |