Home
last modified time | relevance | path

Searched refs:fixture (Results 1 – 25 of 4743) sorted by relevance

12345678910>>...190

/dports/sysutils/tracker/tracker-2.3.4/tests/libtracker-miner/
H A Dtracker-indexing-tree-test.c61 #define ASSERT_INDEXABLE(fixture, id) \ argument
110 if (fixture->test_dir[i]) in test_common_context_teardown()
111 g_object_unref (fixture->test_dir[i]); in test_common_context_teardown()
114 if (fixture->tree) in test_common_context_teardown()
115 g_object_unref (fixture->tree); in test_common_context_teardown()
125 tracker_indexing_tree_add (fixture->tree, in test_indexing_tree_001()
148 tracker_indexing_tree_add (fixture->tree, in test_indexing_tree_002()
170 tracker_indexing_tree_add (fixture->tree, in test_indexing_tree_003()
192 tracker_indexing_tree_add (fixture->tree, in test_indexing_tree_004()
195 tracker_indexing_tree_add (fixture->tree, in test_indexing_tree_004()
[all …]
H A Dtracker-miner-fs-test.c245 #define CREATE_FOLDER(fixture,p) perform_file_operation((fixture),"mkdir",(p),NULL) argument
247 #define DELETE_FILE(fixture,p) perform_file_operation((fixture),"rm",(p),NULL) argument
248 #define DELETE_FOLDER(fixture,p) perform_file_operation((fixture),"rm -rf",(p),NULL) argument
249 #define MOVE_FILE(fixture,p1,p2) perform_file_operation((fixture),"mv",(p1),(p2)) argument
266 fixture->test_root = g_file_new_for_path (fixture->test_root_path); in fixture_setup()
275 fixture->miner = test_miner_new (fixture->connection, &error); in fixture_setup()
432 fixture_iterate (fixture); in test_recursive_indexing()
464 fixture_iterate (fixture); in test_non_recursive_indexing()
500 fixture_iterate (fixture); in test_separate_recursive_and_non_recursive()
538 fixture_iterate (fixture); in test_recursive_in_non_recursive()
[all …]
H A Dtracker-file-notifier-test.c134 fixture->ops = g_list_prepend (fixture->ops, op); in file_notifier_file_created_cb()
137 fixture->expect_n_results == g_list_length (fixture->ops)) { in file_notifier_file_created_cb()
155 fixture->ops = g_list_prepend (fixture->ops, op); in file_notifier_file_updated_cb()
158 fixture->expect_n_results == g_list_length (fixture->ops)) { in file_notifier_file_updated_cb()
188 fixture->ops = g_list_prepend (fixture->ops, op); in file_notifier_file_deleted_cb()
191 fixture->expect_n_results == g_list_length (fixture->ops)) { in file_notifier_file_deleted_cb()
211 fixture->ops = g_list_prepend (fixture->ops, op); in file_notifier_file_moved_cb()
214 fixture->expect_n_results == g_list_length (fixture->ops)) { in file_notifier_file_moved_cb()
271 fixture->test_path = g_mkdtemp (fixture->test_path); in test_common_context_setup()
272 fixture->test_file = g_file_new_for_path (fixture->test_path); in test_common_context_setup()
[all …]
/dports/mail/evolution/evolution-3.42.1/src/e-util/
H A Dtest-web-view-jsc.c121 fixture->window = NULL; in window_delete_event_cb()
122 fixture->web_view = NULL; in window_delete_event_cb()
170 if (fixture->window) { in test_utils_fixture_tear_down()
254 TestFixture *fixture; member
326 jcd.fixture = fixture; in test_utils_jsc_call_sync()
1131 expects.fixture = fixture; in test_element_clicked()
1268 nid.fixture = fixture; in test_need_input_changed()
1396 gcd.fixture = fixture; in test_selection_verify()
1525 gcd.fixture = fixture; in test_get_document_content_verify()
1577 gcd.fixture = fixture; in test_get_element_content_verify()
[all …]
H A Dtest-html-editor-units.c31 test_create_editor (TestFixture *fixture) in test_create_editor() argument
33 g_assert (fixture->editor != NULL); in test_create_editor()
44 if (!test_utils_run_simple_test (fixture, in test_style_bold_selection()
57 if (!test_utils_run_simple_test (fixture, in test_style_bold_typed()
72 if (!test_utils_run_simple_test (fixture, in test_style_italic_selection()
85 if (!test_utils_run_simple_test (fixture, in test_style_italic_typed()
264 test_indent_typed (TestFixture *fixture) in test_indent_typed() argument
361 g_return_if_fail (fixture != NULL); in test_font_color_selection()
421 g_return_if_fail (fixture != NULL); in test_font_color_typed()
4659 test_utils_insert_content (fixture, in test_cite_html2plain()
[all …]
H A Dtest-html-editor-units-bugs.c26 test_bug_750657 (TestFixture *fixture) in test_bug_750657() argument
34 test_utils_insert_content (fixture, in test_bug_750657()
71 test_bug_760989 (TestFixture *fixture) in test_bug_760989() argument
80 test_utils_insert_content (fixture, in test_bug_760989()
115 test_bug_767903 (TestFixture *fixture) in test_bug_767903() argument
148 test_bug_769708 (TestFixture *fixture) in test_bug_769708() argument
156 test_utils_insert_content (fixture, in test_bug_769708()
453 test_utils_insert_content (fixture, in test_bug_770073()
481 test_utils_insert_content (fixture, in test_bug_770073()
512 test_utils_insert_content (fixture, in test_bug_770074()
[all …]
/dports/net-im/telepathy-logger/telepathy-logger-0.8.2/tests/dbus/
H A Dtest-tpl-log-walker.c90 fixture->factory = tp_simple_client_factory_new (fixture->bus); in setup()
93 fixture->account = tp_simple_client_factory_ensure_account (fixture->factory, in setup()
101 fixture->account); in setup()
106 fixture); in setup()
134 tp_dbus_daemon_unregister_object (fixture->bus, fixture->account_service); in teardown()
190 &fixture->events, in get_events_cb()
219 events = fixture->events; in test_get_events_call()
269 fixture->account, in test_get_events()
305 fixture->account, in test_get_events()
346 fixture->account, in test_rewind()
[all …]
/dports/x11-toolkits/gtk20/gtk+-2.24.33/gtk/tests/
H A Dfiltermodel.c378 if (fixture->block_signals) in filter_test_store_signal()
758 if (fixture->monitor) in check_filter_model()
770 if (fixture->monitor) in check_filter_model_with_root()
849 check_filter_model (fixture); in verify_test_suite()
866 check_filter_model (fixture); in filled_hide_root_level()
2095 FilterTest fixture; in specific_root_mixed_visibility() local
2112 fixture.monitor = NULL; in specific_root_mixed_visibility()
2142 FilterTest fixture; in specific_has_child_filter() local
2147 fixture.monitor = NULL; in specific_has_child_filter()
2235 FilterTest fixture; in specific_root_has_child_filter() local
[all …]
/dports/security/vaultwarden/vaultwarden-1.23.1/cargo-crates/openssl-src-300.0.2+3.0.0/openssl/test/
H A Dcmp_protect_test.c48 OPENSSL_free(fixture); in tear_down()
55 if (!TEST_ptr(fixture = OPENSSL_zalloc(sizeof(*fixture)))) in set_up()
62 return fixture; in set_up()
77 ossl_cmp_calc_protection(fixture->cmp_ctx, fixture->msg); in execute_calc_protection_fails_test()
87 ossl_cmp_calc_protection(fixture->cmp_ctx, fixture->msg); in execute_calc_protection_pbmac_test()
131 ossl_cmp_calc_protection(fixture->cmp_ctx, fixture->msg); in execute_calc_protection_signature_test()
150 fixture = NULL; in test_cmp_calc_protection_no_key_no_secret()
164 fixture = NULL; in test_cmp_calc_protection_pkey()
179 fixture = NULL; in test_cmp_calc_protection_pbmac()
337 X509_build_chain(fixture->cert, fixture->certs, NULL, in execute_cmp_build_cert_chain_test()
[all …]
H A Dcmp_msg_test.c43 OPENSSL_free(fixture); in tear_down()
52 if (!TEST_ptr(fixture = OPENSSL_zalloc(sizeof(*fixture)))) in set_up()
63 return fixture; in set_up()
97 EXECUTE_MSG_CREATION_TEST(ossl_cmp_error_new(fixture->cmp_ctx, fixture->si, in execute_errormsg_create_test()
110 (fixture->cmp_ctx, fixture->fail_info, NULL)); in execute_certconf_create_test()
126 (fixture->cmp_ctx, fixture->bodytype)); in execute_pkimessage_create_test()
158 fixture = NULL; in test_cmp_create_ir_protection_set()
175 fixture = NULL; in test_cmp_create_ir_protection_fails()
199 fixture = NULL; in test_cmp_create_cr()
213 fixture = NULL; in test_cmp_create_certreq_with_invalid_bodytype()
[all …]
/dports/security/arti/arti-9d0ede26801cdb182daa85c3eb5f0058dc178eb6/cargo-crates/openssl-src-300.0.2+3.0.0/openssl/test/
H A Dcmp_protect_test.c48 OPENSSL_free(fixture); in tear_down()
55 if (!TEST_ptr(fixture = OPENSSL_zalloc(sizeof(*fixture)))) in set_up()
62 return fixture; in set_up()
77 ossl_cmp_calc_protection(fixture->cmp_ctx, fixture->msg); in execute_calc_protection_fails_test()
87 ossl_cmp_calc_protection(fixture->cmp_ctx, fixture->msg); in execute_calc_protection_pbmac_test()
131 ossl_cmp_calc_protection(fixture->cmp_ctx, fixture->msg); in execute_calc_protection_signature_test()
150 fixture = NULL; in test_cmp_calc_protection_no_key_no_secret()
164 fixture = NULL; in test_cmp_calc_protection_pkey()
179 fixture = NULL; in test_cmp_calc_protection_pbmac()
337 X509_build_chain(fixture->cert, fixture->certs, NULL, in execute_cmp_build_cert_chain_test()
[all …]
H A Dcmp_msg_test.c43 OPENSSL_free(fixture); in tear_down()
52 if (!TEST_ptr(fixture = OPENSSL_zalloc(sizeof(*fixture)))) in set_up()
63 return fixture; in set_up()
97 EXECUTE_MSG_CREATION_TEST(ossl_cmp_error_new(fixture->cmp_ctx, fixture->si, in execute_errormsg_create_test()
110 (fixture->cmp_ctx, fixture->fail_info, NULL)); in execute_certconf_create_test()
126 (fixture->cmp_ctx, fixture->bodytype)); in execute_pkimessage_create_test()
158 fixture = NULL; in test_cmp_create_ir_protection_set()
175 fixture = NULL; in test_cmp_create_ir_protection_fails()
199 fixture = NULL; in test_cmp_create_cr()
213 fixture = NULL; in test_cmp_create_certreq_with_invalid_bodytype()
[all …]
/dports/security/acmed/acmed-0.18.0/cargo-crates/openssl-src-300.0.2+3.0.0/openssl/test/
H A Dcmp_protect_test.c48 OPENSSL_free(fixture); in tear_down()
55 if (!TEST_ptr(fixture = OPENSSL_zalloc(sizeof(*fixture)))) in set_up()
62 return fixture; in set_up()
77 ossl_cmp_calc_protection(fixture->cmp_ctx, fixture->msg); in execute_calc_protection_fails_test()
87 ossl_cmp_calc_protection(fixture->cmp_ctx, fixture->msg); in execute_calc_protection_pbmac_test()
131 ossl_cmp_calc_protection(fixture->cmp_ctx, fixture->msg); in execute_calc_protection_signature_test()
150 fixture = NULL; in test_cmp_calc_protection_no_key_no_secret()
164 fixture = NULL; in test_cmp_calc_protection_pkey()
179 fixture = NULL; in test_cmp_calc_protection_pbmac()
337 X509_build_chain(fixture->cert, fixture->certs, NULL, in execute_cmp_build_cert_chain_test()
[all …]
H A Dcmp_msg_test.c43 OPENSSL_free(fixture); in tear_down()
52 if (!TEST_ptr(fixture = OPENSSL_zalloc(sizeof(*fixture)))) in set_up()
63 return fixture; in set_up()
97 EXECUTE_MSG_CREATION_TEST(ossl_cmp_error_new(fixture->cmp_ctx, fixture->si, in execute_errormsg_create_test()
110 (fixture->cmp_ctx, fixture->fail_info, NULL)); in execute_certconf_create_test()
126 (fixture->cmp_ctx, fixture->bodytype)); in execute_pkimessage_create_test()
158 fixture = NULL; in test_cmp_create_ir_protection_set()
175 fixture = NULL; in test_cmp_create_ir_protection_fails()
199 fixture = NULL; in test_cmp_create_cr()
213 fixture = NULL; in test_cmp_create_certreq_with_invalid_bodytype()
[all …]
/dports/textproc/mdbook-linkcheck/mdbook-linkcheck-0.7.6/cargo-crates/openssl-src-300.0.2+3.0.0/openssl/test/
H A Dcmp_protect_test.c48 OPENSSL_free(fixture); in tear_down()
55 if (!TEST_ptr(fixture = OPENSSL_zalloc(sizeof(*fixture)))) in set_up()
62 return fixture; in set_up()
77 ossl_cmp_calc_protection(fixture->cmp_ctx, fixture->msg); in execute_calc_protection_fails_test()
87 ossl_cmp_calc_protection(fixture->cmp_ctx, fixture->msg); in execute_calc_protection_pbmac_test()
131 ossl_cmp_calc_protection(fixture->cmp_ctx, fixture->msg); in execute_calc_protection_signature_test()
150 fixture = NULL; in test_cmp_calc_protection_no_key_no_secret()
164 fixture = NULL; in test_cmp_calc_protection_pkey()
179 fixture = NULL; in test_cmp_calc_protection_pbmac()
337 X509_build_chain(fixture->cert, fixture->certs, NULL, in execute_cmp_build_cert_chain_test()
[all …]
H A Dcmp_msg_test.c43 OPENSSL_free(fixture); in tear_down()
52 if (!TEST_ptr(fixture = OPENSSL_zalloc(sizeof(*fixture)))) in set_up()
63 return fixture; in set_up()
97 EXECUTE_MSG_CREATION_TEST(ossl_cmp_error_new(fixture->cmp_ctx, fixture->si, in execute_errormsg_create_test()
110 (fixture->cmp_ctx, fixture->fail_info, NULL)); in execute_certconf_create_test()
126 (fixture->cmp_ctx, fixture->bodytype)); in execute_pkimessage_create_test()
158 fixture = NULL; in test_cmp_create_ir_protection_set()
175 fixture = NULL; in test_cmp_create_ir_protection_fails()
199 fixture = NULL; in test_cmp_create_cr()
213 fixture = NULL; in test_cmp_create_certreq_with_invalid_bodytype()
[all …]
/dports/security/openssl-devel/openssl-3.0.2/test/
H A Dcmp_protect_test.c48 OPENSSL_free(fixture); in tear_down()
55 if (!TEST_ptr(fixture = OPENSSL_zalloc(sizeof(*fixture)))) in set_up()
62 return fixture; in set_up()
77 ossl_cmp_calc_protection(fixture->cmp_ctx, fixture->msg); in execute_calc_protection_fails_test()
87 ossl_cmp_calc_protection(fixture->cmp_ctx, fixture->msg); in execute_calc_protection_pbmac_test()
131 ossl_cmp_calc_protection(fixture->cmp_ctx, fixture->msg); in execute_calc_protection_signature_test()
150 fixture = NULL; in test_cmp_calc_protection_no_key_no_secret()
164 fixture = NULL; in test_cmp_calc_protection_pkey()
179 fixture = NULL; in test_cmp_calc_protection_pbmac()
337 X509_build_chain(fixture->cert, fixture->certs, NULL, in execute_cmp_build_cert_chain_test()
[all …]
H A Dcmp_msg_test.c43 OPENSSL_free(fixture); in tear_down()
52 if (!TEST_ptr(fixture = OPENSSL_zalloc(sizeof(*fixture)))) in set_up()
63 return fixture; in set_up()
97 EXECUTE_MSG_CREATION_TEST(ossl_cmp_error_new(fixture->cmp_ctx, fixture->si, in execute_errormsg_create_test()
110 (fixture->cmp_ctx, fixture->fail_info, NULL)); in execute_certconf_create_test()
126 (fixture->cmp_ctx, fixture->bodytype)); in execute_pkimessage_create_test()
158 fixture = NULL; in test_cmp_create_ir_protection_set()
175 fixture = NULL; in test_cmp_create_ir_protection_fails()
199 fixture = NULL; in test_cmp_create_cr()
213 fixture = NULL; in test_cmp_create_certreq_with_invalid_bodytype()
[all …]
/dports/security/openssl-quictls/openssl-7f2ab56a2b842b8e6fefc7b9d20eb5ff9c6ef151/test/
H A Dcmp_protect_test.c48 OPENSSL_free(fixture); in tear_down()
55 if (!TEST_ptr(fixture = OPENSSL_zalloc(sizeof(*fixture)))) in set_up()
62 return fixture; in set_up()
77 ossl_cmp_calc_protection(fixture->cmp_ctx, fixture->msg); in execute_calc_protection_fails_test()
87 ossl_cmp_calc_protection(fixture->cmp_ctx, fixture->msg); in execute_calc_protection_pbmac_test()
131 ossl_cmp_calc_protection(fixture->cmp_ctx, fixture->msg); in execute_calc_protection_signature_test()
150 fixture = NULL; in test_cmp_calc_protection_no_key_no_secret()
164 fixture = NULL; in test_cmp_calc_protection_pkey()
179 fixture = NULL; in test_cmp_calc_protection_pbmac()
337 X509_build_chain(fixture->cert, fixture->certs, NULL, in execute_cmp_build_cert_chain_test()
[all …]
/dports/devel/cpputest/cpputest-4.0/tests/CppUTest/
H A DTestHarness_cTest.cpp83 delete fixture; in TEST_GROUP()
98 fixture->runAllTests(); in TEST()
115 fixture->runAllTests(); in TEST()
132 fixture->runAllTests(); in TEST()
148 fixture->runAllTests(); in TEST()
165 fixture->runAllTests(); in TEST()
181 fixture->runAllTests(); in TEST()
198 fixture->runAllTests(); in TEST()
214 fixture->runAllTests(); in TEST()
231 fixture->runAllTests(); in TEST()
[all …]
/dports/security/openssl-legacy-static/openssl-1.0.2u/ssl/
H A Dheartbeat_test.c77 memset(&fixture, 0, sizeof(fixture)); in set_up()
81 if (!fixture.ctx) { in set_up()
88 fixture.s = SSL_new(fixture.ctx); in set_up()
89 if (!fixture.s) { in set_up()
115 memset(fixture.s->s3->wbuf.buf, 0, fixture.s->s3->wbuf.len); in set_up()
122 return fixture; in set_up()
139 return fixture; in set_up_dtls()
163 return fixture; in set_up_tls()
220 fixture.test_case_name, fixture.expected_return_value, in execute_heartbeat()
235 fixture.test_case_name, fixture.expected_payload_len, in execute_heartbeat()
[all …]
/dports/security/openssl-unsafe/openssl-c9ba19c/ssl/
H A Dheartbeat_test.c77 memset(&fixture, 0, sizeof(fixture)); in set_up()
81 if (!fixture.ctx) { in set_up()
88 fixture.s = SSL_new(fixture.ctx); in set_up()
89 if (!fixture.s) { in set_up()
115 memset(fixture.s->s3->wbuf.buf, 0, fixture.s->s3->wbuf.len); in set_up()
122 return fixture; in set_up()
139 return fixture; in set_up_dtls()
163 return fixture; in set_up_tls()
220 fixture.test_case_name, fixture.expected_return_value, in execute_heartbeat()
235 fixture.test_case_name, fixture.expected_payload_len, in execute_heartbeat()
[all …]
/dports/devel/aws-c-http/aws-c-http-0.6.8/tests/
H A Dtest_h2_decoder.c40 struct fixture *fixture = ctx; in s_fixture_test_setup() local
51 struct fixture *fixture = ctx; in s_fixture_test_teardown() local
93 struct fixture *fixture = ctx; in TEST_CASE() local
126 struct fixture *fixture = ctx; in H2_DECODER_ON_CLIENT_TEST() local
153 struct fixture *fixture = ctx; in H2_DECODER_ON_CLIENT_TEST() local
182 struct fixture *fixture = ctx; in H2_DECODER_ON_CLIENT_TEST() local
211 struct fixture *fixture = ctx; in H2_DECODER_ON_CLIENT_TEST() local
239 struct fixture *fixture = ctx; in H2_DECODER_ON_CLIENT_TEST() local
269 struct fixture *fixture = ctx; in H2_DECODER_ON_CLIENT_TEST() local
297 struct fixture *fixture = ctx; in H2_DECODER_ON_CLIENT_TEST() local
[all …]
/dports/finance/gnucash/gnucash-4.9/libgnucash/engine/test/
H A Dutest-Invoice.c61 fixture->account = xaccMallocAccount(fixture->book); in setup()
62 fixture->account2 = xaccMallocAccount(fixture->book); in setup()
69 fixture->customer = gncCustomerCreate(fixture->book); in setup()
70 gncOwnerInitCustomer(&fixture->owner, fixture->customer); in setup()
74 fixture->vendor = gncVendorCreate(fixture->book); in setup()
75 gncOwnerInitVendor(&fixture->owner, fixture->vendor); in setup()
78 fixture->invoice = gncInvoiceCreate(fixture->book); in setup()
121 fixture->invoice = gncInvoiceCreate(fixture->book); in setup_with_invoice()
122 gncInvoiceSetCurrency(fixture->invoice, fixture->commodity); in setup_with_invoice()
123 gncInvoiceSetOwner(fixture->invoice, &fixture->owner); in setup_with_invoice()
[all …]
/dports/finance/gnucash/gnucash-4.9/gnucash/register/ledger-core/test/
H A Dutest-split-register-copy-ops.c75 fixture->acc1 = xaccMallocAccount(fixture->book); in setup()
76 fixture->acc2 = xaccMallocAccount(fixture->book); in setup()
78 xaccAccountSetCommodity(fixture->acc1, fixture->curr); in setup()
79 xaccAccountSetCommodity(fixture->acc2, fixture->curr); in setup()
81 fixture->txn = xaccMallocTransaction (fixture->book); in setup()
131 fixture->acc1 = xaccMallocAccount(fixture->book); in flsetup()
132 fixture->acc2 = xaccMallocAccount(fixture->book); in flsetup()
138 fixture->ft.m_currency = fixture->curr; in flsetup()
147 fixture->fs1.m_account = fixture->acc1; in flsetup()
157 fixture->fs2.m_account = fixture->acc2; in flsetup()
[all …]

12345678910>>...190