11 Commits (b9d5523cc29bf4f3e2c83bf9555f68a8e7e6334f)

Author SHA1 Message Date
theraven c346ff1088 More header cleanups in the tests. 13 years ago
theraven ef5f8b744d Added more test cases. 13 years ago
theraven af85d8496d Actually wait for +initialize to finish before allowing any thread to send a message to a class (I broke this when I rewrote the dtable code to use a per-class lock - the lookup forgot to acquire the correct mutex.) 15 years ago
thebeing 62afedcbaf Add a small test for alias registration. 15 years ago
qmathe 9dbf872f33 Fixed crash when resolving user-allocated classes (e.g. KVO) revealed by r31482.
objc_resolve_class() does ((Class)objc_getClass((char*)cls->isa->isa))->isa;
but cls->isa->isa was a metaclass object and not a C string if the class was 
user-created. objc_allocateClassPair() has been changed to set the 
meta-metaclass as a C string and not an object, so that objc_getClass() does 
not return Nil.
15 years ago
qmathe c4cc8f4734 Added another @synchronized() test that results in a segfault 15 years ago
qmathe e1a756110f Tweaked libobjc2 test suite to compile once again on Mac OS X (all tests pass) 15 years ago
qmathe a0e000b483 Added basic synchronized and exception tests that fail for me whether I use Clang or GCC to compile the test suite 15 years ago
ericwa 5238f95a77 libobjc2/Test: use # instead of __STRING in test macro 16 years ago
ericwa 83028de810 libobjc2: improve the test program a bit 16 years ago
ericwa 64362dd3ad libobjc2: add a Test subdirectory with a preliminary test of the runtime API 16 years ago