Home | History | Annotate | Download | only in unit

Lines Matching refs:tc

36 void test_cil_list_init(CuTest *tc) {
43 CuAssertPtrNotNull(tc, test_avrule->classpermset->permset->perms_list_str);
48 void test_cil_list_append_item(CuTest *tc) {
73 CuAssertIntEquals(tc, SEPOL_OK, rc);
76 void test_cil_list_append_item_append(CuTest *tc) {
108 CuAssertIntEquals(tc, SEPOL_OK, rc);
109 CuAssertIntEquals(tc, SEPOL_OK, rc2);
112 void test_cil_list_append_item_append_extra(CuTest *tc) {
149 CuAssertIntEquals(tc, SEPOL_OK, rc);
150 CuAssertIntEquals(tc, SEPOL_OK, rc2);
151 CuAssertIntEquals(tc, SEPOL_OK, rc3);
154 void test_cil_list_append_item_listnull_neg(CuTest *tc) {
178 CuAssertIntEquals(tc, SEPOL_ERR, rc);
181 void test_cil_list_append_item_itemnull_neg(CuTest *tc) {
202 CuAssertIntEquals(tc, SEPOL_ERR, rc);
205 void test_cil_list_prepend_item(CuTest *tc) {
230 CuAssertIntEquals(tc, SEPOL_OK, rc);
233 void test_cil_list_prepend_item_prepend(CuTest *tc) {
259 CuAssertIntEquals(tc, SEPOL_OK, rc);
262 void test_cil_list_prepend_item_prepend_neg(CuTest *tc) {
293 CuAssertIntEquals(tc, SEPOL_ERR, rc);
296 void test_cil_list_prepend_item_listnull_neg(CuTest *tc) {
320 CuAssertIntEquals(tc, SEPOL_ERR, rc);
323 void test_cil_list_prepend_item_itemnull_neg(CuTest *tc) {
344 CuAssertIntEquals(tc, SEPOL_ERR, rc);