Make ibus-config tests side effect free
authorDaiki Ueno <ueno@unixuser.org>
Fri, 14 Jun 2013 02:01:08 +0000 (11:01 +0900)
committerDaiki Ueno <ueno@unixuser.org>
Fri, 14 Jun 2013 02:01:08 +0000 (11:01 +0900)
commitc9ba5e1d155ab711c68f18d26de38bdba3128f03
treed6fcfa9f55f52adc06675817074834b64d477a50
parent7b9633ab6e20920710cd1f422bd4e6d18a363f35
Make ibus-config tests side effect free

Previously we assumed that test cases are executed in the order of
registration.  This is no longer true after glib change 89aa9dbd which
fixed test case grouping.  Clear the default match rule in each test
case to avoid side effect.

BUG=

Review URL: https://codereview.appspot.com/10069045
src/tests/ibus-config.c