Searched refs:CuAssertStrEquals (Results 1 – 4 of 4) sorted by relevance
/third_party/selinux/libsepol/cil/test/unit/ |
D | test_cil_lexer.c | 67 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()
|
D | test_cil_copy_ast.c | 72 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() 96 …CuAssertStrEquals(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() 120 …CuAssertStrEquals(tc, ((struct cil_list *)copy_list->head->next->next->data)->head->data, ((struct… in test_cil_copy_list_sublist_extra() 121 …CuAssertStrEquals(tc, copy_list->head->next->next->next->data, cil_l->head->next->next->next->data… in test_cil_copy_list_sublist_extra() 300 …CuAssertStrEquals(tc, ((struct cil_classcommon *)test_ast_node->data)->class_str, test_copy->class… in test_cil_copy_classcommon() [all …]
|
D | CuTest.h | 103 #define CuAssertStrEquals(tc,ex,ac) CuAssertStrEquals_LineMsg((tc),__FILE__,__LINE__,NULL… macro
|
D | test_cil_build_ast.c | 168 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() 4764 …CuAssertStrEquals(tc, ((struct cil_typealias*)test_ast_node->data)->type_str, test_tree->root->cl_… in test_cil_gen_typealias() 7873 …CuAssertStrEquals(tc, ((struct cil_roleallow*)test_ast_node->data)->src_str, test_current->next->d… in test_cil_gen_roleallow() 7874 …CuAssertStrEquals(tc, ((struct cil_roleallow*)test_ast_node->data)->tgt_str, test_current->next->n… in test_cil_gen_roleallow() 8156 …CuAssertStrEquals(tc, ((struct cil_avrule*)test_ast_node->data)->src_str, test_current->next->data… in test_cil_gen_avrule() 8157 …CuAssertStrEquals(tc, ((struct cil_avrule*)test_ast_node->data)->tgt_str, test_current->next->next… in test_cil_gen_avrule() 8158 …CuAssertStrEquals(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 …]
|