Home | History | Annotate | Download | only in tests

Lines Matching full:error

21        GError              **error)
28 attribute_values, error, __VA_ARGS__, \
148 g_print ("error: call with no arguments or '-v' for verbose\n");
158 GError *error = NULL;
166 -1, &error);
168 result = g_markup_parse_context_end_parse (ctx, &error);
171 g_print ("%d: %s:\n (error %d, \"%s\")\n %s\n\n",
173 error ? error->code : 0,
174 error ? error->message : "(no error)",
179 if (error != NULL)
180 g_error ("parser successful but error is set: "
181 "%s(%d) '%s'", g_quark_to_string (error->domain),
182 error->code, error->message);
191 if (error->domain != G_MARKUP_ERROR)
192 g_error ("error occured on test %d ('%s') but is not in "
194 tests[i].document, g_quark_to_string (error->domain));
196 if (error->code != tests[i].error_code)
198 "has error code %d (we expected code %d)", i,
199 tests[i].document, error->code, tests[i].error_code);
201 if (strstr (error->message, tests[i].error_info) == NULL)
203 "to mention '%s' in the error message", i,
214 g_clear_error (&error);