mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-08-25 13:07:02 +00:00
To mimic Objective-C correctly the +initialize method should not be sent on a class hierarchy if it does not implement it. Also the +initialize method should not allowed to be forwarded to another target with Invocation or any other forwarding mechanism. Added test cases for this and cleaned up some test cases that succeeded for the wrong reason. This change will not affect many projects as all classes inherit from CPObject.
Requires objj be installed, as well as ojunit, located at http://github.com/cappuccino/ojunit
Run individual tests using a command similar to the following:
objj ojunit/OJTestRunnerText.j cappuccino/Tests/Foundation/CPDateTest.j