Adjust tests

This commit is contained in:
Matthias Clasen 2015-04-29 23:55:59 -04:00
parent 287ba6b94b
commit f06cd304bd
13 changed files with 14 additions and 14 deletions

View File

@ -82,7 +82,7 @@ test_parser (void)
error = NULL;
gtk_builder_add_from_string (builder, "<interface invalid=\"X\"/>", -1, &error);
g_assert_error (error, GTK_BUILDER_ERROR, GTK_BUILDER_ERROR_INVALID_ATTRIBUTE);
g_assert_error (error, G_MARKUP_ERROR, G_MARKUP_ERROR_UNKNOWN_ATTRIBUTE);
g_error_free (error);
error = NULL;

View File

@ -1,2 +1,2 @@
ERROR: gtk-builder-error-quark 1
Unhandled tag: <warbl>
<input>:9:15 Unhandled tag: <warbl>

View File

@ -1,2 +1,2 @@
ERROR: gtk-builder-error-quark 1
Unhandled tag: <warbl>
<input>:11:13 Unhandled tag: <warbl>

View File

@ -1,2 +1,2 @@
ERROR: gtk-builder-error-quark 1
Unhandled tag: <warbl>
<input>:4:13 Unhandled tag: <warbl>

View File

@ -1,2 +1,2 @@
ERROR: gtk-builder-error-quark 1
Unhandled tag: <worbl>
<input>:9:13 Unhandled tag: <worbl>

View File

@ -1,2 +1,2 @@
ERROR: gtk-builder-error-quark 1
Unhandled tag: <warbl>
<input>:6:13 Unhandled tag: <warbl>

View File

@ -1,2 +1,2 @@
ERROR: gtk-builder-error-quark 1
Unhandled tag: <warbl>
<input>:6:13 Unhandled tag: <warbl>

View File

@ -1,2 +1,2 @@
ERROR: gtk-builder-error-quark 1
Unhandled tag: <foo>
<input>:6:11 Unhandled tag: <foo>

View File

@ -1,2 +1,2 @@
ERROR: gtk-builder-error-quark 1
Unhandled tag: <style>
<input>:4:11 Unhandled tag: <style>

View File

@ -1,2 +1,2 @@
ERROR: gtk-builder-error-quark 3
<input>:3:1 'get-type' is not a valid attribute of <object>
ERROR: g-markup-error-quark 4
.:3:1 attribute 'get-type' invalid for element 'object'

View File

@ -1,2 +1,2 @@
ERROR: gtk-builder-error-quark 1
Unhandled tag: <random>
<input>:3:43 Unhandled tag: <random>

View File

@ -1,2 +1,2 @@
ERROR: gtk-builder-error-quark 8
Duplicate object ID 'foo' on line 5 (previously on line 3)
.:5:1 Duplicate object ID 'foo' (previously on line 3)

View File

@ -1,2 +1,2 @@
ERROR: gtk-builder-error-quark 4
<input>:4:1 'object' is not a valid tag here
<input>:4:1 <object> is not a valid tag here