Improve test coverage

Various test additions, mainly in GObject
This commit is contained in:
Matthias Clasen
2011-02-13 23:47:42 -05:00
parent 1e48bff207
commit 309f5f978b
14 changed files with 1376 additions and 7 deletions

View File

@@ -158,7 +158,7 @@ test_wrong_path (void)
{
if (g_test_trap_fork (0, G_TEST_TRAP_SILENCE_STDERR))
{
GSettings *settings;
GSettings *settings G_GNUC_UNUSED;
settings = g_settings_new_with_path ("org.gtk.test", "/wrong-path/");
}
@@ -172,7 +172,7 @@ test_no_path (void)
{
if (g_test_trap_fork (0, G_TEST_TRAP_SILENCE_STDERR))
{
GSettings *settings;
GSettings *settings G_GNUC_UNUSED;
settings = g_settings_new ("org.gtk.test.no-path");
}