Lines Matching refs:g_assert
52 g_assert (g_value_get_char (&xform) == 1); in test_enum_transformation()
57 g_assert (g_value_get_uchar (&xform) == 1); in test_enum_transformation()
62 g_assert (g_value_get_int (&xform) == 1); in test_enum_transformation()
67 g_assert (g_value_get_uint (&xform) == 1); in test_enum_transformation()
72 g_assert (g_value_get_long (&xform) == 1); in test_enum_transformation()
77 g_assert (g_value_get_ulong (&xform) == 1); in test_enum_transformation()
82 g_assert (g_value_get_int64 (&xform) == 1); in test_enum_transformation()
87 g_assert (g_value_get_uint64 (&xform) == 1); in test_enum_transformation()
102 g_assert (type == G_TYPE_BOXED); in test_gtype_value()
107 g_assert (type == G_TYPE_BOXED); in test_gtype_value()
148 g_assert (error == NULL); in test_collection()
149 g_assert (g_value_get_char (&value) == 'c'); in test_collection()
154 g_assert (error == NULL); in test_collection()
155 g_assert (g_value_get_uchar (&value) == 129); in test_collection()
160 g_assert (error == NULL); in test_collection()
161 g_assert (g_value_get_boolean (&value) == TRUE); in test_collection()
166 g_assert (error == NULL); in test_collection()
167 g_assert (g_value_get_int (&value) == G_MAXINT); in test_collection()
172 g_assert (error == NULL); in test_collection()
173 g_assert (g_value_get_uint (&value) == G_MAXUINT); in test_collection()
178 g_assert (error == NULL); in test_collection()
179 g_assert (g_value_get_long (&value) == G_MAXLONG); in test_collection()
184 g_assert (error == NULL); in test_collection()
185 g_assert (g_value_get_ulong (&value) == G_MAXULONG); in test_collection()
190 g_assert (error == NULL); in test_collection()
191 g_assert (g_value_get_int64 (&value) == G_MAXINT64); in test_collection()
196 g_assert (error == NULL); in test_collection()
197 g_assert (g_value_get_uint64 (&value) == G_MAXUINT64); in test_collection()
202 g_assert (error == NULL); in test_collection()
203 g_assert (g_value_get_float (&value) == G_MAXFLOAT); in test_collection()
208 g_assert (error == NULL); in test_collection()
209 g_assert (g_value_get_double (&value) == G_MAXDOUBLE); in test_collection()
214 g_assert (error == NULL); in test_collection()
215 g_assert (strcmp (g_value_get_string (&value), "string ?") == 0); in test_collection()
220 g_assert (error == NULL); in test_collection()
221 g_assert (g_value_get_gtype (&value) == G_TYPE_BOXED); in test_collection()
236 g_assert (error == NULL); in test_copying()
237 g_assert (c == 'c'); in test_copying()
247 g_assert (error == NULL); in test_copying()
248 g_assert (c == 129); in test_copying()
258 g_assert (error == NULL); in test_copying()
259 g_assert (c == G_MAXINT); in test_copying()
269 g_assert (error == NULL); in test_copying()
270 g_assert (c == G_MAXUINT); in test_copying()
280 g_assert (error == NULL); in test_copying()
281 g_assert (c == G_MAXLONG); in test_copying()
291 g_assert (error == NULL); in test_copying()
292 g_assert (c == G_MAXULONG); in test_copying()
302 g_assert (error == NULL); in test_copying()
303 g_assert (c == G_MAXINT64); in test_copying()
313 g_assert (error == NULL); in test_copying()
314 g_assert (c == G_MAXUINT64); in test_copying()
324 g_assert (error == NULL); in test_copying()
325 g_assert (c == G_MAXFLOAT); in test_copying()
335 g_assert (error == NULL); in test_copying()
336 g_assert (c == G_MAXDOUBLE); in test_copying()
346 g_assert (error == NULL); in test_copying()
347 g_assert (strcmp (c, "string ?") == 0); in test_copying()
357 g_assert (error == NULL); in test_copying()
358 g_assert (c == G_TYPE_BOXED); in test_copying()