mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-11-03 13:49:45 +00:00
Ensure time zone results are verified identically on any date and host, including zones in jurisdictions that have abolished seasonal offset changes, by asserting against fixed dates in January and July. Abbreviations are computed for the current date, as in Cocoa. * CPTimeZone: * Compute abbreviation for the current date. * Use the computed abbreviation in description. * CPTimeZoneTest: * Assert offsets, abbreviations and daylight saving state at fixed dates. * Replace host-dependent and season-dependent assertions.
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