4. The Tests

All tests are in the Matchbox distribution's tests/ directory. You should run tests from within that directory.

4.1. test-windows.sh

Tests Matchbox's handling of various window types by means of the winspew application.

4.2. test-interaction.sh

Creates some various window types and then replays some Xnee data ( test-interaction.xnee ) automating common window operations on these created windows. A screenshot is then taken at completion and compared with a reference one ( test-interaction.xwd ) to indicate success or failure. If installed, Image Magick's 'display' program will be used to visually present failed screenshots.

To work correctly this test also requires matchbox-desktop to be installed.

This test will only function correctly with a 240x320 or 640x480 sized display.

Its highly recommended you avoid any system interaction while this test is running as this can lead to false results.

4.3. test-dock.sh

Tests mbdock by running it under Valgrind in different orientations, adding and removing panel applets.

4.4. test-gconf.sh

test-gconf.sh currently just edits the 'cycle_window' shortcut and then 'tests' it via sendkey.

4.5. libmb-test

This is a binary based test for libmb. Currently it only basically tests font rendering and clipping functionality. For more libmatchbox tests, see the section on unit tests.