• Home
  • Raw
  • Download

Lines Matching refs:fixture

26 static void tear_down(OSSL_CMP_CTX_TEST_FIXTURE *fixture)  in tear_down()  argument
28 if (fixture != NULL) in tear_down()
29 OSSL_CMP_CTX_free(fixture->ctx); in tear_down()
30 OPENSSL_free(fixture); in tear_down()
35 OSSL_CMP_CTX_TEST_FIXTURE *fixture; in set_up() local
37 if (!TEST_ptr(fixture = OPENSSL_zalloc(sizeof(*fixture)))) in set_up()
39 if (!TEST_ptr(fixture->ctx = OSSL_CMP_CTX_new(NULL, NULL))) { in set_up()
40 tear_down(fixture); in set_up()
43 fixture->test_case_name = test_case_name; in set_up()
44 return fixture; in set_up()
65 static int execute_CTX_reinit_test(OSSL_CMP_CTX_TEST_FIXTURE *fixture) in execute_CTX_reinit_test() argument
67 OSSL_CMP_CTX *ctx = fixture->ctx; in execute_CTX_reinit_test()
139 static int execute_CTX_print_errors_test(OSSL_CMP_CTX_TEST_FIXTURE *fixture) in execute_CTX_print_errors_test() argument
141 OSSL_CMP_CTX *ctx = fixture->ctx; in execute_CTX_print_errors_test()
202 int execute_CTX_reqExtensions_have_SAN_test(OSSL_CMP_CTX_TEST_FIXTURE *fixture) in execute_CTX_reqExtensions_have_SAN_test() argument
204 OSSL_CMP_CTX *ctx = fixture->ctx; in execute_CTX_reqExtensions_have_SAN_test()
263 static int execute_cmp_ctx_log_cb_test(OSSL_CMP_CTX_TEST_FIXTURE *fixture) in execute_cmp_ctx_log_cb_test() argument
266 OSSL_CMP_CTX *ctx = fixture->ctx; in execute_cmp_ctx_log_cb_test()
339 execute_CTX_##SETN##_##GETN##_##FIELD(OSSL_CMP_CTX_TEST_FIXTURE *fixture) \
341 CMP_CTX *ctx = fixture->ctx; \
615 static int execute_CTX_##PUSHN##_##ELEM(OSSL_CMP_CTX_TEST_FIXTURE *fixture) \
617 CMP_CTX *ctx = fixture->ctx; \