• Home
  • Raw
  • Download

Lines Matching refs:g_assert

53   g_assert (hb_blob_is_immutable (hb_blob_get_empty ()));  in test_blob_empty()
54 g_assert (hb_blob_get_empty () != NULL); in test_blob_empty()
55 g_assert (hb_blob_get_empty () == hb_blob_create (NULL, 0, HB_MEMORY_MODE_READONLY, NULL, NULL)); in test_blob_empty()
58 g_assert (blob == hb_blob_get_empty ()); in test_blob_empty()
64 g_assert (data == NULL); in test_blob_empty()
67 g_assert (data == NULL); in test_blob_empty()
71 g_assert (data_writable == NULL); in test_blob_empty()
74 g_assert (data_writable == NULL); in test_blob_empty()
126 g_assert (pagesize != (uintptr_t) -1); in get_pagesize()
175 g_assert (data != (char *) -1); in fixture_init()
212 g_assert (b); in test_blob()
220 g_assert (data != fixture->data); in test_blob()
224 g_assert (data == fixture->data); in test_blob()
230 g_assert (data_writable); in test_blob()
231 g_assert (0 == memcmp (data_writable, fixture->data, fixture->len)); in test_blob()
233 g_assert (data_writable != data); in test_blob()
236 g_assert (data_writable == data); in test_blob()
241 g_assert (data == data_writable); in test_blob()
247 g_assert (!hb_blob_is_immutable (b)); in test_blob()
249 g_assert (hb_blob_is_immutable (b)); in test_blob()
252 g_assert (!data_writable); in test_blob()
258 g_assert ('\0' == data[i]); in test_blob()
283 g_assert (b); in test_blob_subblob()
290 g_assert (data == fixture->data + 1); in test_blob_subblob()
294 g_assert (data_writable); in test_blob_subblob()
296 g_assert (0 == memcmp (data_writable, fixture->data + 1, fixture->len - 2)); in test_blob_subblob()
297 g_assert (data_writable != data); in test_blob_subblob()
302 g_assert (data == data_writable); in test_blob_subblob()
308 g_assert (!hb_blob_is_immutable (b)); in test_blob_subblob()
310 g_assert (hb_blob_is_immutable (b)); in test_blob_subblob()
313 g_assert (!data_writable); in test_blob_subblob()
319 g_assert ('\0' == data[i]); in test_blob_subblob()