Home
last modified time | relevance | path

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

/external/dbus/dbus/
Ddbus-test.c75 const char *test_data_dir) in run_data_test() argument
80 if (!test (test_data_dir)) in run_data_test()
99 dbus_internal_do_not_use_run_tests (const char *test_data_dir, const char *specific_test) in dbus_internal_do_not_use_run_tests() argument
105 if (test_data_dir == NULL) in dbus_internal_do_not_use_run_tests()
106 test_data_dir = _dbus_getenv ("DBUS_TEST_DATA"); in dbus_internal_do_not_use_run_tests()
108 if (test_data_dir != NULL) in dbus_internal_do_not_use_run_tests()
109 printf ("Test data in %s\n", test_data_dir); in dbus_internal_do_not_use_run_tests()
155 run_data_test ("message", specific_test, _dbus_message_test, test_data_dir); in dbus_internal_do_not_use_run_tests()
160 run_data_test ("spawn", specific_test, _dbus_spawn_test, test_data_dir); in dbus_internal_do_not_use_run_tests()
163 run_data_test ("credentials", specific_test, _dbus_credentials_test, test_data_dir); in dbus_internal_do_not_use_run_tests()
[all …]
Ddbus-test.h45 dbus_bool_t _dbus_message_test (const char *test_data_dir);
46 dbus_bool_t _dbus_auth_test (const char *test_data_dir);
48 dbus_bool_t _dbus_sha_test (const char *test_data_dir);
52 dbus_bool_t _dbus_spawn_test (const char *test_data_dir);
53 dbus_bool_t _dbus_userdb_test (const char *test_data_dir);
56 dbus_bool_t _dbus_pending_call_test (const char *test_data_dir);
57 dbus_bool_t _dbus_credentials_test (const char *test_data_dir);
59 void dbus_internal_do_not_use_run_tests (const char *test_data_dir,
74 …us_bool_t dbus_internal_do_not_use_foreach_message_file (const char *test_data_dir,
Ddbus-test-main.c38 const char *test_data_dir; in main() local
46 test_data_dir = argv[1]; in main()
48 test_data_dir = NULL; in main()
55 dbus_internal_do_not_use_run_tests (test_data_dir, specific_test); in main()
Ddbus-auth-util.c136 process_test_dirs (const char *test_data_dir) in process_test_dirs() argument
143 _dbus_string_init_const (&test_directory, test_data_dir); in process_test_dirs()
158 _dbus_auth_test (const char *test_data_dir) in _dbus_auth_test() argument
161 if (test_data_dir == NULL) in _dbus_auth_test()
164 if (!process_test_dirs (test_data_dir)) in _dbus_auth_test()
Ddbus-credentials-util.c84 _dbus_credentials_test (const char *test_data_dir) in _dbus_credentials_test() argument
89 if (test_data_dir == NULL) in _dbus_credentials_test()
Ddbus-sha.c738 process_test_data (const char *test_data_dir) in process_test_data() argument
768 if (!_dbus_string_append (&tests_file, test_data_dir)) in process_test_data()
771 if (!_dbus_string_append (&results_file, test_data_dir)) in process_test_data()
930 _dbus_sha_test (const char *test_data_dir) in _dbus_sha_test() argument
935 if (test_data_dir != NULL) in _dbus_sha_test()
937 if (!process_test_data (test_data_dir)) in _dbus_sha_test()
Ddbus-message-util.c615 dbus_internal_do_not_use_foreach_message_file (const char *test_data_dir, in dbus_internal_do_not_use_foreach_message_file() argument
624 _dbus_string_init_const (&test_directory, test_data_dir); in dbus_internal_do_not_use_foreach_message_file()
952 _dbus_message_test (const char *test_data_dir) in _dbus_message_test() argument
1464 if (test_data_dir == NULL) in _dbus_message_test()
1467 return dbus_internal_do_not_use_foreach_message_file (test_data_dir, in _dbus_message_test()
Ddbus-userdb-util.c410 _dbus_userdb_test (const char *test_data_dir) in _dbus_userdb_test() argument
Ddbus-pending-call.c797 _dbus_pending_call_test (const char *test_data_dir) in _dbus_pending_call_test() argument
Ddbus-spawn-win.c913 _dbus_spawn_test (const char *test_data_dir) in _dbus_spawn_test() argument
Ddbus-spawn.c1455 _dbus_spawn_test (const char *test_data_dir) in _dbus_spawn_test() argument
/external/dbus/bus/
Dtest.h33 dbus_bool_t bus_dispatch_test (const DBusString *test_data_dir);
34 dbus_bool_t bus_dispatch_sha1_test (const DBusString *test_data_dir);
35 dbus_bool_t bus_policy_test (const DBusString *test_data_dir);
36 dbus_bool_t bus_config_parser_test (const DBusString *test_data_dir);
37 dbus_bool_t bus_config_parser_trivial_test (const DBusString *test_data_dir);
38 dbus_bool_t bus_signals_test (const DBusString *test_data_dir);
39 dbus_bool_t bus_expire_list_test (const DBusString *test_data_dir);
40 dbus_bool_t bus_activation_service_reload_test (const DBusString *test_data_dir);
49 BusContext* bus_context_new_test (const DBusString *test_data_dir,
53 dbus_bool_t bus_unix_fds_passing_test (const DBusString *test_data_dir);
Dtest-main.c82 DBusString test_data_dir; in main() local
97 _dbus_string_init_const (&test_data_dir, dir); in main()
104 if (!bus_expire_list_test (&test_data_dir)) in main()
110 if (!bus_config_parser_test (&test_data_dir)) in main()
116 if (!bus_policy_test (&test_data_dir)) in main()
122 if (!bus_signals_test (&test_data_dir)) in main()
128 if (!bus_dispatch_sha1_test (&test_data_dir)) in main()
134 if (!bus_dispatch_test (&test_data_dir)) in main()
140 if (!bus_activation_service_reload_test (&test_data_dir)) in main()
147 if (!bus_unix_fds_passing_test (&test_data_dir)) in main()
Dtest-system.c72 DBusString test_data_dir; in main() local
87 _dbus_string_init_const (&test_data_dir, dir); in main()
94 if (!bus_config_parser_trivial_test (&test_data_dir)) in main()
Dconfig-parser-trivial.c600 make_full_path (const DBusString *test_data_dir, in make_full_path() argument
616 if (!_dbus_string_copy (test_data_dir, 0, full_path, 0)) in make_full_path()
668 bus_config_parser_trivial_test (const DBusString *test_data_dir) in bus_config_parser_trivial_test() argument
675 if (test_data_dir == NULL || in bus_config_parser_trivial_test()
676 _dbus_string_get_length (test_data_dir) == 0) in bus_config_parser_trivial_test()
684 if (!process_test_valid_subdir (test_data_dir, "valid-config-files", VALID)) in bus_config_parser_trivial_test()
690 if (!make_full_path (test_data_dir, "invalid-config-files", "not-well-formed.conf", &full_path)) in bus_config_parser_trivial_test()
697 if (!make_full_path (test_data_dir, "valid-config-files", "system.conf", &full_path)) in bus_config_parser_trivial_test()
Dtest.c294 bus_context_new_test (const DBusString *test_data_dir, in bus_context_new_test() argument
308 if (!_dbus_string_copy (test_data_dir, 0, in bus_context_new_test()
Ddispatch.c4450 setenv_TEST_LAUNCH_HELPER_CONFIG(const DBusString *test_data_dir, in setenv_TEST_LAUNCH_HELPER_CONFIG() argument
4459 if (!_dbus_string_copy (test_data_dir, 0, &full, 0)) in setenv_TEST_LAUNCH_HELPER_CONFIG()
4484 bus_dispatch_test_conf (const DBusString *test_data_dir, in bus_dispatch_test_conf() argument
4495 if (!setenv_TEST_LAUNCH_HELPER_CONFIG (test_data_dir, filename)) in bus_dispatch_test_conf()
4500 context = bus_context_new_test (test_data_dir, filename); in bus_dispatch_test_conf()
4636 bus_dispatch_test_conf_fail (const DBusString *test_data_dir, in bus_dispatch_test_conf_fail() argument
4644 if (!setenv_TEST_LAUNCH_HELPER_CONFIG (test_data_dir, filename)) in bus_dispatch_test_conf_fail()
4649 context = bus_context_new_test (test_data_dir, filename); in bus_dispatch_test_conf_fail()
4693 bus_dispatch_test (const DBusString *test_data_dir) in bus_dispatch_test() argument
4697 if (!bus_dispatch_test_conf (test_data_dir, in bus_dispatch_test()
[all …]
Dexpirelist.c332 bus_expire_list_test (const DBusString *test_data_dir) in bus_expire_list_test() argument
Dconfig-parser.c3497 bus_config_parser_test (const DBusString *test_data_dir) in bus_config_parser_test() argument
3499 if (test_data_dir == NULL || in bus_config_parser_test()
3500 _dbus_string_get_length (test_data_dir) == 0) in bus_config_parser_test()
3516 if (!process_test_valid_subdir (test_data_dir, "valid-config-files", VALID)) in bus_config_parser_test()
3519 if (!process_test_valid_subdir (test_data_dir, "invalid-config-files", INVALID)) in bus_config_parser_test()
3522 if (!process_test_equiv_subdir (test_data_dir, "equiv-config-files")) in bus_config_parser_test()
Dpolicy.c1287 bus_policy_test (const DBusString *test_data_dir) in bus_policy_test() argument
Dactivation.c2493 bus_activation_service_reload_test (const DBusString *test_data_dir) in bus_activation_service_reload_test() argument
Dsignals.c2276 bus_signals_test (const DBusString *test_data_dir) in bus_signals_test() argument
/external/dbus/test/
Dbreak-loader.c685 const char *test_data_dir; in main() local
690 test_data_dir = argv[1]; in main()
736 if (!dbus_internal_do_not_use_foreach_message_file (test_data_dir, in main()
/external/chromium/chrome/browser/extensions/
Dextension_service_unittest.cc384 FilePath test_data_dir; in ExtensionServiceTestBase() local
385 if (!PathService::Get(chrome::DIR_TEST_DATA, &test_data_dir)) { in ExtensionServiceTestBase()
389 data_dir_ = test_data_dir.AppendASCII("extensions"); in ExtensionServiceTestBase()
/external/dbus/
DChangeLog.pre-1-013947 * dbus/dbus-message.c (_dbus_message_test): pass a test_data_dir