mutter/test/tokentest
Thomas James Alexander Thurman 3f76affbd2 Remove deprecated GTK symbols. Refs #572332.
* src/include/util.h:
	* src/tools/metacity-window-demo.c:
	* src/ui/fixedtip.c:
	* src/ui/frames.c:
	* src/ui/frames.h:
	* src/ui/menu.c:
	* src/ui/metaaccellabel.c:
	* src/ui/metaaccellabel.h:
	* src/ui/preview-widget.c:
	* src/ui/preview-widget.h:
	* src/ui/tabpopup.c:
	* src/ui/theme-viewer.c:
	* src/ui/themewidget.c:
	* src/ui/themewidget.h:
	* test/tokentest/tokentest.c:


svn path=/trunk/; revision=4193
2009-03-12 01:26:24 +00:00
..
get-tokens.py A preliminary attempt at a test for the theme expression tokeniser. 2008-06-10 13:46:41 +00:00
Makefile A preliminary attempt at a test for the theme expression tokeniser. 2008-06-10 13:46:41 +00:00
README A preliminary attempt at a test for the theme expression tokeniser. 2008-06-10 13:46:41 +00:00
tokentest.c Remove deprecated GTK symbols. Refs #572332. 2009-03-12 01:26:24 +00:00
tokentest.ini doubles are %f or %g, not %d re-created fair copy accordingly 2008-06-10 13:57:23 +00:00

Tokeniser test
==============
This directory contains a set of tools for checking the behaviour
of the tokeniser for Metacity theme files.

tokentest.ini contains a list of all expressions retrieved from
all theme files on art.gnome.org, and mappings to what the tokenising
should be, in a separate representation.  get-tokens.py produces the
template version of this; it will produce a file with no expected
values.

tokentest.c will either check that a tokeniser behaves according to
tokentest.ini, or, if it finds a file, is empty it will print the
values that the tokeniser it's using is producing.

The makefile is a hacky attempt at letting you compile either against
Metacity's existing tokeniser or one which uses GLib's "scanner".

This code may or may not eventually end up in the automated test suite.