Files
cappuccino/Tests
David Richardson 7bc6b2d0ce Tests: Add tests for theme switching contract
* BuiltThemes.j: Load the themes in the built blends once, for every test that needs them.

* CPThemeDataTest.j: Use BuiltThemes.j.

* CPThemeSwitchTest.j: Check that a view changed to a new theme matches one made under it, that a theme change reaches every view in a window, and that a view outside a window follows the current theme when it enters one.

* CPViewThemeChangeTest.j: Check that a per-view value survives a change of theme class.
2026-11-03 12:16:16 -06:00
..
2026-08-31 10:11:39 -06: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