mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-10-07 09:28:02 +00:00
@accessors(copy) had no test in ./Tests. The compiler's copy-accessor setter behaviour was unverified. Add CopyAccessorTest.j to Tests/Objective-J. It asserts three properties of the generated setter: - the stored value is not identical to the assigned object - the stored value is unaffected by later mutation of the original - the stored value is equal in content to the original at assignment This is added both as a matter of good coverage for the existing toolchain and so that new tooling has a reference for a piece of foundational behaviour.
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