Home
last modified time | relevance | path

Searched refs:test_data_dir (Results 1 – 23 of 23) 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()
145 run_data_test ("message", specific_test, _dbus_message_test, test_data_dir); in dbus_internal_do_not_use_run_tests()
150 run_data_test ("spawn", specific_test, _dbus_spawn_test, test_data_dir); in dbus_internal_do_not_use_run_tests()
153 run_data_test ("credentials", specific_test, _dbus_credentials_test, test_data_dir); in dbus_internal_do_not_use_run_tests()
[all …]
Ddbus-test.h43 dbus_bool_t _dbus_message_test (const char *test_data_dir);
44 dbus_bool_t _dbus_auth_test (const char *test_data_dir);
45 dbus_bool_t _dbus_sha_test (const char *test_data_dir);
49 dbus_bool_t _dbus_spawn_test (const char *test_data_dir);
50 dbus_bool_t _dbus_userdb_test (const char *test_data_dir);
54 dbus_bool_t _dbus_credentials_test (const char *test_data_dir);
56 void dbus_internal_do_not_use_run_tests (const char *test_data_dir,
71 …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.c676 dbus_internal_do_not_use_foreach_message_file (const char *test_data_dir, in dbus_internal_do_not_use_foreach_message_file() argument
685 _dbus_string_init_const (&test_directory, test_data_dir); in dbus_internal_do_not_use_foreach_message_file()
1013 _dbus_message_test (const char *test_data_dir) in _dbus_message_test() argument
1529 if (test_data_dir == NULL) in _dbus_message_test()
1534 if (!dbus_internal_do_not_use_foreach_message_file (test_data_dir, in _dbus_message_test()
Ddbus-userdb-util.c436 _dbus_userdb_test (const char *test_data_dir) in _dbus_userdb_test() argument
Ddbus-spawn-win.c1007 _dbus_spawn_test (const char *test_data_dir) in _dbus_spawn_test() argument
Ddbus-spawn.c1555 _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_config_parser_test (const DBusString *test_data_dir);
36 dbus_bool_t bus_config_parser_trivial_test (const DBusString *test_data_dir);
37 dbus_bool_t bus_signals_test (const DBusString *test_data_dir);
38 dbus_bool_t bus_expire_list_test (const DBusString *test_data_dir);
39 dbus_bool_t bus_activation_service_reload_test (const DBusString *test_data_dir);
48 BusContext* bus_context_new_test (const DBusString *test_data_dir,
52 dbus_bool_t bus_unix_fds_passing_test (const DBusString *test_data_dir);
Dtest-main.c90 DBusString test_data_dir; in main() local
110 _dbus_string_init_const (&test_data_dir, dir); in main()
119 if (!bus_expire_list_test (&test_data_dir)) in main()
128 if (!bus_config_parser_test (&test_data_dir)) in main()
137 if (!bus_signals_test (&test_data_dir)) in main()
146 if (!bus_dispatch_sha1_test (&test_data_dir)) in main()
155 if (!bus_dispatch_test (&test_data_dir)) in main()
164 if (!bus_activation_service_reload_test (&test_data_dir)) in main()
174 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.c263 bus_context_new_test (const DBusString *test_data_dir, in bus_context_new_test() argument
277 if (!_dbus_string_copy (test_data_dir, 0, in bus_context_new_test()
Ddispatch.c4443 setenv_TEST_LAUNCH_HELPER_CONFIG(const DBusString *test_data_dir, in setenv_TEST_LAUNCH_HELPER_CONFIG() argument
4452 if (!_dbus_string_copy (test_data_dir, 0, &full, 0)) in setenv_TEST_LAUNCH_HELPER_CONFIG()
4477 bus_dispatch_test_conf (const DBusString *test_data_dir, in bus_dispatch_test_conf() argument
4488 if (!setenv_TEST_LAUNCH_HELPER_CONFIG (test_data_dir, filename)) in bus_dispatch_test_conf()
4493 context = bus_context_new_test (test_data_dir, filename); in bus_dispatch_test_conf()
4629 bus_dispatch_test_conf_fail (const DBusString *test_data_dir, in bus_dispatch_test_conf_fail() argument
4637 if (!setenv_TEST_LAUNCH_HELPER_CONFIG (test_data_dir, filename)) in bus_dispatch_test_conf_fail()
4642 context = bus_context_new_test (test_data_dir, filename); in bus_dispatch_test_conf_fail()
4686 bus_dispatch_test (const DBusString *test_data_dir) in bus_dispatch_test() argument
4690 if (!bus_dispatch_test_conf (test_data_dir, in bus_dispatch_test()
[all …]
Dexpirelist.c321 bus_expire_list_test (const DBusString *test_data_dir) in bus_expire_list_test() argument
Dconfig-parser.c3601 bus_config_parser_test (const DBusString *test_data_dir) in bus_config_parser_test() argument
3603 if (test_data_dir == NULL || in bus_config_parser_test()
3604 _dbus_string_get_length (test_data_dir) == 0) in bus_config_parser_test()
3620 if (!process_test_valid_subdir (test_data_dir, "valid-config-files", VALID)) in bus_config_parser_test()
3623 if (!process_test_valid_subdir (test_data_dir, "invalid-config-files", INVALID)) in bus_config_parser_test()
3626 if (!process_test_equiv_subdir (test_data_dir, "equiv-config-files")) in bus_config_parser_test()
Dactivation.c2530 bus_activation_service_reload_test (const DBusString *test_data_dir) in bus_activation_service_reload_test() argument
Dsignals.c2794 bus_signals_test (const DBusString *test_data_dir) in bus_signals_test() argument
/external/chromium-trace/catapult/third_party/vinn/vinn/
Dvinn_unittest.py27 cls.test_data_dir = os.path.abspath(
31 return os.path.join(self.test_data_dir, file_name)
107 output = vinn.ExecuteFile(file_path, source_paths=[self.test_data_dir],
115 source_paths=[self.test_data_dir]*100)
121 output = vinn.ExecuteFile(file_path, source_paths=[self.test_data_dir])
131 output = vinn.ExecuteFile(file_path, source_paths=[self.test_data_dir])
139 file_path, source_paths=[self.test_data_dir])
150 res = vinn.RunFile(file_path, source_paths=[self.test_data_dir])
155 res = vinn.RunFile(file_path, source_paths=[self.test_data_dir])
160 res = vinn.RunFile(file_path, source_paths=[self.test_data_dir])
[all …]
/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/dbus/
DChangeLog.pre-1-013947 * dbus/dbus-message.c (_dbus_message_test): pass a test_data_dir