Home
last modified time | relevance | path

Searched refs:CuAssertStrEquals (Results 1 – 4 of 4) sorted by relevance

/external/selinux/libsepol/cil/test/unit/
Dtest_cil_lexer.c67 CuAssertStrEquals(tc, "(", test_tok.value); in test_cil_lexer_next()
74 CuAssertStrEquals(tc, "test", test_tok.value); in test_cil_lexer_next()
81 CuAssertStrEquals(tc, "\"qstring\"", test_tok.value); in test_cil_lexer_next()
88 CuAssertStrEquals(tc, ")", test_tok.value); in test_cil_lexer_next()
95 CuAssertStrEquals(tc, ";comment", test_tok.value); in test_cil_lexer_next()
Dtest_cil_copy_ast.c72 CuAssertStrEquals(tc, copy_list->head->data, cil_l->head->data); in test_cil_copy_list()
73 CuAssertStrEquals(tc, copy_list->head->next->data, cil_l->head->next->data); in test_cil_copy_list()
94 CuAssertStrEquals(tc, copy_list->head->data, cil_l->head->data); in test_cil_copy_list_sublist()
95 CuAssertStrEquals(tc, copy_list->head->next->data, cil_l->head->next->data); in test_cil_copy_list_sublist()
96CuAssertStrEquals(tc, ((struct cil_list *)copy_list->head->next->next->data)->head->data, ((struct… in test_cil_copy_list_sublist()
118 CuAssertStrEquals(tc, copy_list->head->data, cil_l->head->data); in test_cil_copy_list_sublist_extra()
119 CuAssertStrEquals(tc, copy_list->head->next->data, cil_l->head->next->data); in test_cil_copy_list_sublist_extra()
120CuAssertStrEquals(tc, ((struct cil_list *)copy_list->head->next->next->data)->head->data, ((struct… in test_cil_copy_list_sublist_extra()
121CuAssertStrEquals(tc, copy_list->head->next->next->next->data, cil_l->head->next->next->next->data… in test_cil_copy_list_sublist_extra()
300CuAssertStrEquals(tc, ((struct cil_classcommon *)test_ast_node->data)->class_str, test_copy->class… in test_cil_copy_classcommon()
[all …]
DCuTest.h103 #define CuAssertStrEquals(tc,ex,ac) CuAssertStrEquals_LineMsg((tc),__FILE__,__LINE__,NULL… macro
Dtest_cil_build_ast.c168 CuAssertStrEquals(tc, "foo1", (char*)cil_l->head->data); in test_cil_set_to_list()
169 CuAssertStrEquals(tc, "foo2", (char*)cil_l->head->next->data); in test_cil_set_to_list()
170 CuAssertStrEquals(tc, "foo3", (char*)sub_list->head->data); in test_cil_set_to_list()
4764CuAssertStrEquals(tc, ((struct cil_typealias*)test_ast_node->data)->type_str, test_tree->root->cl_… in test_cil_gen_typealias()
7873CuAssertStrEquals(tc, ((struct cil_roleallow*)test_ast_node->data)->src_str, test_current->next->d… in test_cil_gen_roleallow()
7874CuAssertStrEquals(tc, ((struct cil_roleallow*)test_ast_node->data)->tgt_str, test_current->next->n… in test_cil_gen_roleallow()
8156CuAssertStrEquals(tc, ((struct cil_avrule*)test_ast_node->data)->src_str, test_current->next->data… in test_cil_gen_avrule()
8157CuAssertStrEquals(tc, ((struct cil_avrule*)test_ast_node->data)->tgt_str, test_current->next->next… in test_cil_gen_avrule()
8158CuAssertStrEquals(tc, ((struct cil_avrule*)test_ast_node->data)->classpermset->class_str, test_cur… in test_cil_gen_avrule()
8167 CuAssertStrEquals(tc, test_list->data, test_current->data ); in test_cil_gen_avrule()
[all …]