14 Commits (9206f48bce61478c6fb845a0e30d7dd68930175e)

Author SHA1 Message Date
David Chisnall 3fc3e11296 Fix building the runtime test on Windows. 8 years ago
David Chisnall 934cd13a7a Initial pass at Windows support.
All tests now pass with the new ABI on x86-64, with the new ABI.  Some
of the code is ugly and other platforms are probably broken.
8 years ago
David Chisnall 7b8e741f39 Remove a test for a thing that was false.
There is no guarantee that two selectors will be equal.
8 years ago
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