tests: Move empty css parser test to new CSS tests

This commit is contained in:
Benjamin Otte 2011-07-20 02:34:02 +02:00
parent 15674c5bd4
commit 75a43bb40c
3 changed files with 1 additions and 19 deletions

View File

@ -1,23 +1,5 @@
#include <gtk/gtk.h>
static void
test_parse_empty (void)
{
GtkCssProvider *provider;
GError *error;
gboolean res;
provider = gtk_css_provider_new ();
error = NULL;
res = gtk_css_provider_load_from_data (provider, "", -1, &error);
g_assert (res);
g_assert_no_error (error);
g_clear_error (&error);
g_object_unref (provider);
}
static void
test_parse_selectors (void)
{
@ -469,7 +451,6 @@ main (int argc, char *argv[])
gtk_init (NULL, NULL);
g_test_init (&argc, &argv, NULL);
g_test_add_func ("/style/parse/empty", test_parse_empty);
g_test_add_func ("/style/parse/selectors", test_parse_selectors);
g_test_add_func ("/style/parse/declarations", test_parse_declarations);
g_test_add_func ("/style/path", test_path);

View File

@ -178,6 +178,7 @@ EXTRA_DIST += \
does-not-exist.css \
does-not-exist.errors \
does-not-exist.ref.css \
empty.css \
enum.css \
enum.errors \
enum.ref.css \

View File