Files
cappuccino/Tests
Martin Carlberg d4e40faecc Fixed: the class method +initialize was always sent even if the root class did not implement it. Forwarding and Invocation worked also on the method.
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.
2019-02-20 23:44:00 +01:00
..
2011-01-23 08:43:46 -08:00

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