Home
last modified time | relevance | path

Searched refs:test_context (Results 1 – 25 of 530) sorted by relevance

12345678910>>...22

/dports/net/samba412/samba-4.12.15/source4/torture/krb5/
H A Dkdc-canon-heimdal.c312 torture_assert_int_equal(test_context->tctx, test_context->as_req.pvno, in torture_krb5_pre_send_as_req_test()
414 if (test_context->test_data->netbios_realm && test_context->test_data->upn) { in torture_krb5_post_recv_as_req_test()
424 if (test_context->test_data->netbios_realm && test_context->test_data->upn) { in torture_krb5_post_recv_as_req_test()
439 if (test_context->test_data->netbios_realm && test_context->test_data->upn) { in torture_krb5_post_recv_as_req_test()
699 test_context->tgs_req.req_body.realm, test_context->test_data->realm, in torture_krb5_pre_send_tgs_req_canon_test()
959 torture_assert_int_equal(test_context->tctx, test_context->tgs_req.pvno, 5, in torture_krb5_pre_send_tgs_req_test()
988 …} else if (test_context->test_data->spn_is_upn && test_context->test_data->upn && test_context->te… in torture_krb5_pre_send_tgs_req_test()
1164 strupper_talloc(test_context, test_context->test_data->krb5_service), in torture_krb5_pre_send_tgs_req_host_test()
1182 strupper_talloc(test_context, test_context->test_data->krb5_hostname), in torture_krb5_pre_send_tgs_req_host_test()
1571 test_context); in torture_krb5_init_context_canon()
[all …]
H A Dkdc-heimdal.c80 switch (test_context->test) in torture_krb5_pre_send_test()
215 &test_context->as_rep, in torture_check_krb5_as_rep_enctype()
256 switch (test_context->test) in torture_krb5_post_recv_test()
302 torture_assert(test_context->tctx, test_context->packet_count < 3, "too many packets"); in torture_krb5_post_recv_test()
341 torture_assert(test_context->tctx, test_context->packet_count < 3, "too many packets"); in torture_krb5_post_recv_test()
366 torture_assert(test_context->tctx, test_context->packet_count < 2, "too many packets"); in torture_krb5_post_recv_test()
391 torture_assert(test_context->tctx, test_context->packet_count < 2, "too many packets"); in torture_krb5_post_recv_test()
542 torture_assert(test_context->tctx, test_context->packet_count < 3, "too many packets"); in torture_krb5_post_recv_test()
619 test_context->test = test; in torture_krb5_init_context()
620 test_context->tctx = tctx; in torture_krb5_init_context()
[all …]
H A Dkdc-mit.c84 test_context->as_req->msg_type, in torture_check_krb5_as_req()
107 switch (test_context->test) in torture_krb5_pre_send_test()
174 torture_assert(test_context->tctx, in torture_check_krb5_error()
199 torture_assert(test_context->tctx, in torture_check_krb5_as_rep()
274 switch (test_context->test) in torture_krb5_post_recv_test()
506 krb5_free_kdc_req(test_context->krb5_context, test_context->as_req); in torture_krb5_post_recv_test()
507 krb5_free_kdc_rep(test_context->krb5_context, test_context->as_rep); in torture_krb5_post_recv_test()
524 test_context->test = test; in torture_krb5_init_context()
525 test_context->tctx = tctx; in torture_krb5_init_context()
534 test_context); in torture_krb5_init_context()
[all …]
/dports/devel/cutter/cutter-1.2.6/cutter/
H A Dcut-test-runner.c128 test, test_context, result); in cb_notification_test()
393 iterated_test, test_context); in cb_start_iterated_test()
405 CutTestContext *test_context, in cb_success_iterated_test() argument
413 CutTestContext *test_context, in cb_failure_iterated_test() argument
421 CutTestContext *test_context, in cb_error_iterated_test() argument
429 CutTestContext *test_context, in cb_pending_iterated_test() argument
453 CutTestContext *test_context, in cb_crash_iterated_test() argument
527 CutTestContext *test_context, in cb_success_test_iterator() argument
549 CutTestContext *test_context, in cb_error_test_iterator() argument
593 CutTestContext *test_context, in cb_crash_test_iterator() argument
[all …]
H A Dcut-test-iterator.c80 CutTestContext *test_context,
257 CutTestContext *test_context; member
279 test_context = info->test_context; in run_test_without_thread()
285 cut_test_context_current_push(test_context); in run_test_without_thread()
322 test_context); in run_test_without_thread()
340 cut_test_context_set_test(test_context, NULL); in run_test_without_thread()
348 g_object_unref(test_context); in run_test_without_thread()
387 cut_test_context_set_test(test_context, test); in run_test_with_thread_support()
395 info->test_context = local_test_context; in run_test_with_thread_support()
475 cut_test_context_shift_data(test_context); in run_iterated_tests()
[all …]
H A Dcut-helper.c37 CutTestContext *test_context; in cut_get_test_directory() local
40 test_context = cut_get_current_test_context(); in cut_get_test_directory()
41 if (!test_context) in cut_get_test_directory()
44 test_case = cut_test_context_get_test_case(test_context); in cut_get_test_directory()
48 run_context = cut_test_context_get_run_context(test_context); in cut_get_test_directory()
59 CutTestContext *test_context; in cut_get_source_directory() local
61 test_context = cut_get_current_test_context(); in cut_get_source_directory()
62 if (!test_context) in cut_get_source_directory()
65 run_context = cut_test_context_get_run_context(test_context); in cut_get_source_directory()
H A Dcut-test-case.c407 test, test_context); in run_test()
413 if (cut_test_context_is_failed(test_context)) { in run_test()
434 CutTestContext *test_context; in run() local
449 cut_test_context_current_push(test_context); in run()
450 cut_test_context_set_test(test_context, test); in run()
452 cut_test_context_set_test(test_context, NULL); in run()
454 g_object_unref(test_context); in run()
587 CutTestContext *test_context; in cut_test_case_run_tests() local
602 cut_test_context_current_push(test_context); in cut_test_case_run_tests()
646 test_context); in cut_test_case_run_tests()
[all …]
H A Dcut-test-case.h55 CutTestContext *test_context);
58 CutTestContext *test_context);
62 CutTestContext *test_context);
66 CutTestContext *test_context,
70 CutTestContext *test_context,
73 CutTestContext *test_context,
76 CutTestContext *test_context,
80 CutTestContext *test_context,
83 CutTestContext *test_context,
86 CutTestContext *test_context,
[all …]
H A Dcut-sub-process-group.c36 CutTestContext *test_context; member
87 priv->test_context = NULL; in cut_sub_process_group_init()
105 if (priv->test_context) { in dispose()
106 g_object_unref(priv->test_context); in dispose()
107 priv->test_context = NULL; in dispose()
155 "test-context", test_context, in cut_sub_process_group_new()
172 if (priv->test_context) in cut_sub_process_group_set_test_context()
173 g_object_unref(priv->test_context); in cut_sub_process_group_set_test_context()
174 if (test_context) in cut_sub_process_group_set_test_context()
175 g_object_ref(test_context); in cut_sub_process_group_set_test_context()
[all …]
/dports/devel/cutter/cutter-1.2.6/test/lib/
H A Dcuttest-event-receiver.c107 info->test_context = test_context; in start_test_info_new()
108 if (info->test_context) in start_test_info_new()
119 if (info->test_context) in start_test_info_free()
134 info->test_context = test_context; in start_iterated_test_info_new()
135 if (info->test_context) in start_iterated_test_info_new()
146 if (info->test_context) in start_iterated_test_info_free()
160 info->test_context = test_context; in pass_assertion_info_new()
161 if (info->test_context) in pass_assertion_info_new()
187 info->test_context = test_context; in failure_test_info_new()
220 info->test_context = test_context; in complete_iterated_test_info_new()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/crashpad/crashpad/snapshot/linux/
H A Dexception_snapshot_linux_test.cc153 auto test_context = in InitializeContext() local
157 test_context->crunch.head.size = sizeof(test_context->crunch); in InitializeContext()
159 &test_context->crunch.context, 'c', sizeof(test_context->crunch.context)); in InitializeContext()
162 test_context->iwmmxt.head.size = sizeof(test_context->iwmmxt); in InitializeContext()
167 test_context->dummy.head.size = sizeof(test_context->dummy); in InitializeContext()
169 &test_context->dummy.context, 'd', sizeof(test_context->dummy.context)); in InitializeContext()
172 test_context->vfp.head.size = sizeof(test_context->vfp); in InitializeContext()
173 memset(&test_context->vfp.context, 'v', sizeof(test_context->vfp.context)); in InitializeContext()
234 test_context->esr.head.size = sizeof(test_context->esr); in InitializeContext()
235 memset(&test_context->esr.esr, 'e', sizeof(test_context->esr.esr)); in InitializeContext()
[all …]
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/crashpad/crashpad/snapshot/linux/
H A Dexception_snapshot_linux_test.cc153 auto test_context = in InitializeContext() local
157 test_context->crunch.head.size = sizeof(test_context->crunch); in InitializeContext()
159 &test_context->crunch.context, 'c', sizeof(test_context->crunch.context)); in InitializeContext()
162 test_context->iwmmxt.head.size = sizeof(test_context->iwmmxt); in InitializeContext()
167 test_context->dummy.head.size = sizeof(test_context->dummy); in InitializeContext()
169 &test_context->dummy.context, 'd', sizeof(test_context->dummy.context)); in InitializeContext()
172 test_context->vfp.head.size = sizeof(test_context->vfp); in InitializeContext()
173 memset(&test_context->vfp.context, 'v', sizeof(test_context->vfp.context)); in InitializeContext()
234 test_context->esr.head.size = sizeof(test_context->esr); in InitializeContext()
235 memset(&test_context->esr.esr, 'e', sizeof(test_context->esr.esr)); in InitializeContext()
[all …]
/dports/www/py-turbogears2/TurboGears2-2.3.12/tests/
H A Dtest_controllers.py8 from tg.util.webtest import test_context
33 with test_context(None, '/'):
45 with test_context(None, '/'):
55 with test_context(None, '/'):
62 with test_context(None, '/'):
68 with test_context(None, '/'):
75 with test_context(None, '/'):
81 with test_context(None, '/'):
88 with test_context(None, '/'):
95 with test_context(None, '/'):
[all …]
/dports/security/aws-c-auth/aws-c-auth-0.6.5/tests/
H A Dsigv4_signing_tests.c893 AWS_ZERO_STRUCT(test_context); in s_do_sigv4_test_piecewise()
940 if (test_context->payload_stream) { in s_write_signed_request_to_file()
1146 test_context->allocator, in s_check_header_authorization()
1147 test_context->verification_key, in s_check_header_authorization()
1157 test_context->allocator, in s_check_header_authorization()
1158 test_context->verification_key, in s_check_header_authorization()
1236 AWS_ZERO_STRUCT(test_context); in s_do_sigv4_test_end_to_end()
1242 …allocator, test_context.signable, (void *)test_context.config, s_on_signing_complete, &test_contex… in s_do_sigv4_test_end_to_end()
1287 AWS_ZERO_STRUCT(test_context); in s_do_sigv4_test_canonical_only()
1303 …allocator, test_context.signable, (void *)test_context.config, s_on_signing_complete, &test_contex… in s_do_sigv4_test_canonical_only()
[all …]
/dports/devel/onetbb/oneTBB-2021.4.0/test/tbb/
H A Dtest_task.cpp97 tbb::task_group_context test_context; in test_cancellation_on_exception() local
106 tbb::detail::d1::execute_and_wait(task, test_context, wait, test_context); in test_cancellation_on_exception()
111 test_context.reset(); in test_cancellation_on_exception()
143 tbb::task_group_context test_context; variable
148 tbb::detail::d1::execute_and_wait(test_task, test_context, wait, test_context);
287 …:detail::d1::execute_and_wait(vector_test_task[threads_num - 1], test_context, wait, test_context);
331 tbb::task_group_context test_context; variable
341 tbb::detail::d1::execute_and_wait(first_task, test_context, wait, test_context);
383 tbb::task_group_context test_context; variable
467 tbb::task_group_context test_context; variable
[all …]
/dports/devel/cutter/cutter-1.2.6/test/cppcutter/
H A Dtest-cppcut-assertions.cpp43 CutTestContext *test_context; variable
69 test_context = NULL; in cut_setup()
82 if (test_context) in cut_teardown()
496 test_context = NULL; in cut_setup()
509 if (test_context) in cut_teardown()
895 test_context = NULL; in cut_setup()
908 if (test_context) in cut_teardown()
1003 test_context = NULL; in cut_setup()
1016 if (test_context) in cut_teardown()
1095 if (test_context) in cut_teardown()
[all …]
/dports/devel/cutter/cutter-1.2.6/test/cutter/
H A Dtest-cut-iterated-test.c106 cb_start_signal (CutTest *test, CutTestContext *test_context, gpointer data) in cb_start_signal() argument
118 cb_success_signal (CutTest *test, CutTestContext *test_context, gpointer data) in cb_success_signal() argument
124 cb_failure_signal (CutTest *test, CutTestContext *test_context, gpointer data) in cb_failure_signal() argument
130 cb_error_signal (CutTest *test, CutTestContext *test_context, gpointer data) in cb_error_signal() argument
148 cb_pass_assertion_signal (CutTest *test, CutTestContext *test_context, in cb_pass_assertion_signal() argument
204 CutTestContext *test_context; in run() local
209 test_context = cut_test_context_new(run_context, NULL, NULL, NULL, test); in run()
210 cut_test_context_set_data(test_context, test_data); in run()
211 cut_test_context_current_push(test_context); in run()
213 test, test_context); in run()
[all …]
/dports/devel/cutter/cutter-1.2.6/test/gcutter/
H A Dtest-gcut-assertions-helper.c44 static CutTestContext *test_context; variable
59 test_context = cut_test_context_new(run_context, NULL, NULL, NULL, test); in run()
60 cut_test_context_current_push(test_context); in run()
61 success = cut_test_run(test, test_context, run_context); in run()
72 test_context = NULL; in cut_setup()
88 if (test_context) in cut_teardown()
89 g_object_unref(test_context); in cut_teardown()
125 g_object_unref(test_context); in test_take_g_object()
126 test_context = NULL; in test_take_g_object()
154 g_object_unref(test_context); in test_take_g_list()
[all …]
/dports/sysutils/vector/vector-0.10.0/cargo-crates/krb5-src-0.2.4+1.18.2/krb5/src/tests/create/
H A Dkdb5_mkdums.c75 krb5_context test_context; variable
103 krb5_init_context(&test_context);
186 add_princ(test_context, str_newprinc);
194 add_princ(test_context, str_newprinc);
198 retval = krb5_db_fini(test_context);
206 krb5_free_principal(test_context, master_princ);
207 krb5_free_context(test_context);
345 if ((retval = krb5_c_string_to_key(test_context,
387 (void) krb5_db_fini(test_context);
393 (void) krb5_db_fini(test_context);
[all …]
/dports/security/krb5/krb5-1.19.2/src/tests/create/
H A Dkdb5_mkdums.c75 krb5_context test_context; variable
103 krb5_init_context(&test_context);
186 add_princ(test_context, str_newprinc);
194 add_princ(test_context, str_newprinc);
198 retval = krb5_db_fini(test_context);
206 krb5_free_principal(test_context, master_princ);
207 krb5_free_context(test_context);
345 if ((retval = krb5_c_string_to_key(test_context,
387 (void) krb5_db_fini(test_context);
393 (void) krb5_db_fini(test_context);
[all …]
/dports/graphics/weston/weston-1.9.0/tests/
H A Divi_layout-internal-test.c39 struct test_context { struct
150 test_layer_create(struct test_context *ctx) in test_layer_create()
201 test_layer_opacity(struct test_context *ctx) in test_layer_opacity()
293 test_layer_position(struct test_context *ctx) in test_layer_position()
705 test_screen_id(struct test_context *ctx) in test_screen_id()
868 struct test_context *ctx) in test_commit_changes_after_render_order_set_layer_destroy()
908 struct test_context *ctx = userdata; in test_layer_properties_changed_notification_callback()
965 struct test_context *ctx = userdata; in test_layer_create_notification_callback()
1010 struct test_context *ctx = userdata; in test_layer_remove_notification_callback()
1118 struct test_context *ctx = data; in run_internal_tests()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/weston/src/tests/
H A Divi-layout-internal-test.c42 struct test_context { struct
109 test_layer_create(struct test_context *ctx) in test_layer_create()
159 test_layer_opacity(struct test_context *ctx) in test_layer_opacity()
184 test_layer_dimension(struct test_context *ctx) in test_layer_dimension()
212 test_layer_position(struct test_context *ctx) in test_layer_position()
695 struct test_context *ctx) in test_commit_changes_after_render_order_set_layer_destroy()
725 struct test_context *ctx = in test_layer_properties_changed_notification_callback()
788 struct test_context *ctx = in test_layer_create_notification_callback()
836 struct test_context *ctx = in test_layer_remove_notification_callback()
947 struct test_context *ctx = data; in run_internal_tests()
[all …]
/dports/www/netsurf/netsurf-3.10/test/
H A Dllcache.c162 typedef struct test_context { struct
168 struct test_context *r_prev; argument
169 struct test_context *r_next; argument
170 } test_context; typedef
172 static test_context *ring;
196 test_context *ctx = calloc(1, sizeof(test_context)); in test_setup_fetch()
216 test_context *ctx = handle; in test_abort_fetch()
223 test_context *ctx = handle; in test_free_fetch()
230 void test_process(test_context *ctx) in test_process()
237 test_context *ctx, *next; in test_poll()
/dports/security/openvpn-devel/openvpn-0033811e0215af76f469d78912c95a2f59813454/tests/unit_tests/openvpn/
H A Dtest_auth_token.c44 struct test_context { struct
91 struct test_context *ctx = calloc(1, sizeof(*ctx)); in setup()
120 struct test_context *ctx = (struct test_context *) *state; in teardown()
134 struct test_context *ctx = (struct test_context *) *state; in auth_token_basic_test()
145 struct test_context *ctx = (struct test_context *) *state; in auth_token_fail_invalid_key()
172 struct test_context *ctx = (struct test_context *) *state; in auth_token_test_timeout()
242 struct test_context *ctx = (struct test_context *) *state; in auth_token_test_known_keys()
273 struct test_context *ctx = (struct test_context *) *state; in auth_token_test_empty_user()
305 struct test_context *ctx = (struct test_context *) *state; in auth_token_test_env()
337 struct test_context *ctx = (struct test_context *) *state; in auth_token_test_random_keys()
[all …]
/dports/security/openvpn/openvpn-2.5.6/tests/unit_tests/openvpn/
H A Dtest_auth_token.c44 struct test_context { struct
91 struct test_context *ctx = calloc(1, sizeof(*ctx)); in setup()
121 struct test_context *ctx = (struct test_context *) *state; in teardown()
135 struct test_context *ctx = (struct test_context *) *state; in auth_token_basic_test()
146 struct test_context *ctx = (struct test_context *) *state; in auth_token_fail_invalid_key()
173 struct test_context *ctx = (struct test_context *) *state; in auth_token_test_timeout()
243 struct test_context *ctx = (struct test_context *) *state; in auth_token_test_known_keys()
274 struct test_context *ctx = (struct test_context *) *state; in auth_token_test_empty_user()
306 struct test_context *ctx = (struct test_context *) *state; in auth_token_test_env()
340 struct test_context *ctx = (struct test_context *) *state; in auth_token_test_random_keys()
[all …]

12345678910>>...22