Lines Matching refs:fixture
21 static void tear_down(OSSL_CMP_CTX_TEST_FIXTURE *fixture) in tear_down() argument
23 if (fixture != NULL) in tear_down()
24 OSSL_CMP_CTX_free(fixture->ctx); in tear_down()
25 OPENSSL_free(fixture); in tear_down()
30 OSSL_CMP_CTX_TEST_FIXTURE *fixture; in set_up() local
32 if (!TEST_ptr(fixture = OPENSSL_zalloc(sizeof(*fixture)))) in set_up()
34 if (!TEST_ptr(fixture->ctx = OSSL_CMP_CTX_new(NULL, NULL))) { in set_up()
35 tear_down(fixture); in set_up()
38 fixture->test_case_name = test_case_name; in set_up()
39 return fixture; in set_up()
60 static int execute_CTX_reinit_test(OSSL_CMP_CTX_TEST_FIXTURE *fixture) in execute_CTX_reinit_test() argument
62 OSSL_CMP_CTX *ctx = fixture->ctx; in execute_CTX_reinit_test()
151 static int execute_CTX_print_errors_test(OSSL_CMP_CTX_TEST_FIXTURE *fixture) in execute_CTX_print_errors_test() argument
153 OSSL_CMP_CTX *ctx = fixture->ctx; in execute_CTX_print_errors_test()
214 int execute_CTX_reqExtensions_have_SAN_test(OSSL_CMP_CTX_TEST_FIXTURE *fixture) in execute_CTX_reqExtensions_have_SAN_test() argument
216 OSSL_CMP_CTX *ctx = fixture->ctx; in execute_CTX_reqExtensions_have_SAN_test()
275 static int execute_cmp_ctx_log_cb_test(OSSL_CMP_CTX_TEST_FIXTURE *fixture) in execute_cmp_ctx_log_cb_test() argument
278 OSSL_CMP_CTX *ctx = fixture->ctx; in execute_cmp_ctx_log_cb_test()
353 execute_CTX_##SETN##_##GETN##_##FIELD(OSSL_CMP_CTX_TEST_FIXTURE *fixture) \
355 CMP_CTX *ctx = fixture->ctx; \
635 static int execute_CTX_##PUSHN##_##ELEM(OSSL_CMP_CTX_TEST_FIXTURE *fixture) \
637 CMP_CTX *ctx = fixture->ctx; \