/external/dbus/dbus/ |
dbus-test-main.c | 38 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);
|
dbus-test.c | 75 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) 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); [all...] |
dbus-test.h | 43 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,
|
dbus-auth-util.c | 136 process_test_dirs (const char *test_data_dir) 143 _dbus_string_init_const (&test_directory, test_data_dir); 158 _dbus_auth_test (const char *test_data_dir) 161 if (test_data_dir == NULL) 164 if (!process_test_dirs (test_data_dir))
|
dbus-credentials-util.c | 84 _dbus_credentials_test (const char *test_data_dir) 89 if (test_data_dir == NULL)
|
dbus-sha.c | 738 process_test_data (const char *test_data_dir) 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) 935 if (test_data_dir != NULL) 937 if (!process_test_data (test_data_dir))
|
dbus-message-util.c | 670 * @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, 685 _dbus_string_init_const (&test_directory, test_data_dir); 1013 _dbus_message_test (const char *test_data_dir) [all...] |
dbus-userdb-util.c | 436 _dbus_userdb_test (const char *test_data_dir)
|
dbus-spawn-win.c | 1007 _dbus_spawn_test (const char *test_data_dir)
|
dbus-spawn.c | [all...] |
/external/dbus/bus/ |
test.h | 33 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);
|
test-main.c | 90 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))
|
test-system.c | 72 DBusString test_data_dir; local 87 _dbus_string_init_const (&test_data_dir, dir); 94 if (!bus_config_parser_trivial_test (&test_data_dir))
|
config-parser-trivial.c | 600 make_full_path (const DBusString *test_data_dir, 616 if (!_dbus_string_copy (test_data_dir, 0, full_path, 0)) 668 bus_config_parser_trivial_test (const DBusString *test_data_dir) 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))
|
test.c | 263 bus_context_new_test (const DBusString *test_data_dir, 277 if (!_dbus_string_copy (test_data_dir, 0,
|
dispatch.c | [all...] |
expirelist.c | 321 bus_expire_list_test (const DBusString *test_data_dir)
|
config-parser.c | [all...] |
activation.c | [all...] |
signals.c | [all...] |
/external/chromium-trace/catapult/third_party/vinn/vinn/ |
vinn_unittest.py | 27 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...] |
/system/core/libziparchive/ |
zip_archive_test.cc | 33 static std::string test_data_dir; variable 65 const std::string abs_path = test_data_dir + "/" + name; 96 int fd = open((test_data_dir + "/" + kValidZip).c_str(), O_RDONLY | O_BINARY); 106 int fd = open((test_data_dir + "/" + kValidZip).c_str(), O_RDONLY | O_BINARY); 610 { "test_data_dir", required_argument, nullptr, 't' }, 622 test_data_dir = optarg; 626 if (test_data_dir.size() == 0) { 627 printf("Test data flag (--test_data_dir) required\n\n"); 631 if (test_data_dir[0] != '/') { 636 test_data_dir.c_str()) [all...] |
/external/dbus/test/ |
break-loader.c | 685 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,
|