Searched refs:test_data_dir (Results 1 - 22 of 22) sorted by relevance

/external/dbus/dbus/
H A Ddbus-test-main.c38 const char *test_data_dir; local
46 test_data_dir = argv[1];
48 test_data_dir = NULL;
55 dbus_internal_do_not_use_run_tests (test_data_dir, specific_test);
H A Ddbus-test.c75 const char *test_data_dir)
80 if (!test (test_data_dir))
96 * @param test_data_dir the directory with test data (test/data normally)
99 dbus_internal_do_not_use_run_tests (const char *test_data_dir, const char *specific_test) argument
105 if (test_data_dir == NULL)
106 test_data_dir = _dbus_getenv ("DBUS_TEST_DATA");
108 if (test_data_dir != NULL)
109 printf ("Test data in %s\n", test_data_dir);
145 run_data_test ("message", specific_test, _dbus_message_test, test_data_dir);
150 run_data_test ("spawn", specific_test, _dbus_spawn_test, test_data_dir);
72 run_data_test(const char *test_name, const char *specific_test, TestDataFunc test, const char *test_data_dir) argument
[all...]
H A 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 dbus_bool_t dbus_internal_do_not_use_foreach_message_file (const char *test_data_dir,
H A Ddbus-auth-util.c136 process_test_dirs (const char *test_data_dir) argument
143 _dbus_string_init_const (&test_directory, test_data_dir);
158 _dbus_auth_test (const char *test_data_dir) argument
161 if (test_data_dir == NULL)
164 if (!process_test_dirs (test_data_dir))
H A Ddbus-credentials-util.c84 _dbus_credentials_test (const char *test_data_dir) argument
89 if (test_data_dir == NULL)
H A Ddbus-sha.c738 process_test_data (const char *test_data_dir) argument
768 if (!_dbus_string_append (&tests_file, test_data_dir))
771 if (!_dbus_string_append (&results_file, test_data_dir))
930 _dbus_sha_test (const char *test_data_dir) argument
935 if (test_data_dir != NULL)
937 if (!process_test_data (test_data_dir))
H A Ddbus-message-util.c670 * @param test_data_dir root dir of the test suite data files (top_srcdir/test/data)
676 dbus_internal_do_not_use_foreach_message_file (const char *test_data_dir, argument
685 _dbus_string_init_const (&test_directory, test_data_dir);
1013 _dbus_message_test (const char *test_data_dir) argument
1528 /* Now load every message in test_data_dir if we have one */
1529 if (test_data_dir == NULL)
1534 if (!dbus_internal_do_not_use_foreach_message_file (test_data_dir,
H A Ddbus-userdb-util.c436 _dbus_userdb_test (const char *test_data_dir) argument
H A Ddbus-spawn-win.c1007 _dbus_spawn_test (const char *test_data_dir) argument
H A Ddbus-spawn.c1555 _dbus_spawn_test (const char *test_data_dir) argument
/external/dbus/bus/
H A 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);
H A Dtest-main.c90 DBusString test_data_dir; local
110 _dbus_string_init_const (&test_data_dir, dir);
119 if (!bus_expire_list_test (&test_data_dir))
128 if (!bus_config_parser_test (&test_data_dir))
137 if (!bus_signals_test (&test_data_dir))
146 if (!bus_dispatch_sha1_test (&test_data_dir))
155 if (!bus_dispatch_test (&test_data_dir))
164 if (!bus_activation_service_reload_test (&test_data_dir))
174 if (!bus_unix_fds_passing_test (&test_data_dir))
H A Dtest-system.c72 DBusString test_data_dir; local
87 _dbus_string_init_const (&test_data_dir, dir);
94 if (!bus_config_parser_trivial_test (&test_data_dir))
H A Dconfig-parser-trivial.c600 make_full_path (const DBusString *test_data_dir, argument
616 if (!_dbus_string_copy (test_data_dir, 0, full_path, 0))
668 bus_config_parser_trivial_test (const DBusString *test_data_dir) argument
675 if (test_data_dir == NULL ||
676 _dbus_string_get_length (test_data_dir) == 0)
684 if (!process_test_valid_subdir (test_data_dir, "valid-config-files", VALID))
690 if (!make_full_path (test_data_dir, "invalid-config-files", "not-well-formed.conf", &full_path))
697 if (!make_full_path (test_data_dir, "valid-config-files", "system.conf", &full_path))
H A Dtest.c263 bus_context_new_test (const DBusString *test_data_dir, argument
277 if (!_dbus_string_copy (test_data_dir, 0,
H A Ddispatch.c4443 setenv_TEST_LAUNCH_HELPER_CONFIG(const DBusString *test_data_dir, argument
4452 if (!_dbus_string_copy (test_data_dir, 0, &full, 0))
4477 bus_dispatch_test_conf (const DBusString *test_data_dir, argument
4488 if (!setenv_TEST_LAUNCH_HELPER_CONFIG (test_data_dir, filename))
4493 context = bus_context_new_test (test_data_dir, filename);
4629 bus_dispatch_test_conf_fail (const DBusString *test_data_dir, argument
4637 if (!setenv_TEST_LAUNCH_HELPER_CONFIG (test_data_dir, filename))
4642 context = bus_context_new_test (test_data_dir, filename);
4686 bus_dispatch_test (const DBusString *test_data_dir) argument
4690 if (!bus_dispatch_test_conf (test_data_dir,
4713 bus_dispatch_sha1_test(const DBusString *test_data_dir) argument
4763 bus_unix_fds_passing_test(const DBusString *test_data_dir) argument
[all...]
H A Dexpirelist.c321 bus_expire_list_test (const DBusString *test_data_dir) argument
H A Dconfig-parser.c3601 bus_config_parser_test (const DBusString *test_data_dir) argument
3603 if (test_data_dir == NULL ||
3604 _dbus_string_get_length (test_data_dir) == 0)
3620 if (!process_test_valid_subdir (test_data_dir, "valid-config-files", VALID))
3623 if (!process_test_valid_subdir (test_data_dir, "invalid-config-files", INVALID))
3626 if (!process_test_equiv_subdir (test_data_dir, "equiv-config-files"))
H A Dactivation.c2530 bus_activation_service_reload_test (const DBusString *test_data_dir) argument
H A Dsignals.c2794 bus_signals_test (const DBusString *test_data_dir) argument
/external/chromium-trace/catapult/third_party/vinn/vinn/
H A 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/
H A Dbreak-loader.c685 const char *test_data_dir; local
690 test_data_dir = argv[1];
736 if (!dbus_internal_do_not_use_foreach_message_file (test_data_dir,

Completed in 324 milliseconds