Home | History | Annotate | Download | only in unit

Lines Matching refs:tc

37 void test_cil_tree_node_init(CuTest *tc) {
42 CuAssertPtrNotNull(tc, test_node);
43 CuAssertPtrEquals(tc, NULL, test_node->cl_head);
44 CuAssertPtrEquals(tc, NULL, test_node->cl_tail);
45 CuAssertPtrEquals(tc, NULL, test_node->parent);
46 CuAssertPtrEquals(tc, NULL, test_node->data);
47 CuAssertPtrEquals(tc, NULL, test_node->next);
48 CuAssertIntEquals(tc, 0, test_node->flavor);
49 CuAssertIntEquals(tc, 0, test_node->line);
54 void test_cil_tree_init(CuTest *tc) {
59 CuAssertIntEquals(tc, SEPOL_OK, rc);
60 CuAssertPtrNotNull(tc, test_tree);
61 CuAssertPtrEquals(tc, NULL, test_tree->root->cl_head);
62 CuAssertPtrEquals(tc, NULL, test_tree->root->cl_tail);
63 CuAssertPtrEquals(tc, NULL, test_tree->root->parent);
64 CuAssertPtrEquals(tc, NULL, test_tree->root->data);
65 CuAssertPtrEquals(tc, NULL, test_tree->root->next);
66 CuAssertIntEquals(tc, 0, test_tree->root->flavor);
67 CuAssertIntEquals(tc, 0, test_tree->root->line);