Lines Matching refs:expectation
29 assert_true(current().expectation == UINT8_EQ); in uint8_callback()
40 assert_true(current().expectation == UINT16_EQ); in uint16_callback()
51 assert_true(current().expectation == UINT32_EQ); in uint32_callback()
62 assert_true(current().expectation == UINT64_EQ); in uint64_callback()
73 assert_true(current().expectation == NEGINT8_EQ); in negint8_callback()
84 assert_true(current().expectation == NEGINT16_EQ); in negint16_callback()
95 assert_true(current().expectation == NEGINT32_EQ); in negint32_callback()
106 assert_true(current().expectation == NEGINT64_EQ); in negint64_callback()
119 assert_true(current().expectation == BSTRING_MEM_EQ); in byte_string_callback()
127 (struct test_assertion){.expectation = BSTRING_INDEF_START}; in assert_bstring_indef_start()
131 assert_true(current().expectation == BSTRING_INDEF_START); in byte_string_start_callback()
143 assert_true(current().expectation == STRING_MEM_EQ); in string_callback()
151 (struct test_assertion){.expectation = STRING_INDEF_START}; in assert_string_indef_start()
155 assert_true(current().expectation == STRING_INDEF_START); in string_start_callback()
161 (struct test_assertion){.expectation = INDEF_BREAK}; in assert_indef_break()
165 assert_true(current().expectation == INDEF_BREAK); in indef_break_callback()
175 assert_true(current().expectation == ARRAY_START); in array_start_callback()
182 (struct test_assertion){.expectation = ARRAY_INDEF_START}; in assert_indef_array_start()
186 assert_true(current().expectation == ARRAY_INDEF_START); in indef_array_start_callback()
196 assert_true(current().expectation == MAP_START); in map_start_callback()
203 (struct test_assertion){.expectation = MAP_INDEF_START}; in assert_indef_map_start()
207 assert_true(current().expectation == MAP_INDEF_START); in indef_map_start_callback()
217 assert_true(current().expectation == TAG_EQ); in tag_callback()
228 assert_true(current().expectation == HALF_EQ); in half_callback()
239 assert_true(current().expectation == FLOAT_EQ); in float_callback()
250 assert_true(current().expectation == DOUBLE_EQ); in double_callback()
261 assertions_queue[queue_size++] = (struct test_assertion){.expectation = NIL}; in assert_nil()
266 (struct test_assertion){.expectation = UNDEF}; in assert_undef()
270 assert_true(current().expectation == BOOL_EQ); in bool_callback()
276 assert_true(current().expectation == NIL); in null_callback()
281 assert_true(current().expectation == UNDEF); in undef_callback()