/external/chromium/base/memory/ |
scoped_temp_dir_unittest.cc | 11 FilePath test_path; local 13 &test_path); 16 EXPECT_TRUE(file_util::DirectoryExists(test_path)); 19 EXPECT_TRUE(dir.Set(test_path)); 22 EXPECT_FALSE(file_util::DirectoryExists(test_path)); 26 EXPECT_TRUE(dir.Set(test_path)); 28 EXPECT_TRUE(file_util::DirectoryExists(test_path)); 31 EXPECT_EQ(path.value(), test_path.value()); 34 EXPECT_TRUE(file_util::DirectoryExists(test_path)); 39 EXPECT_TRUE(dir.Set(test_path)); 47 FilePath test_path; local 66 FilePath test_path; local [all...] |
/external/chromium_org/base/files/ |
scoped_temp_dir_unittest.cc | 15 FilePath test_path; local 17 &test_path); 20 EXPECT_TRUE(DirectoryExists(test_path)); 23 EXPECT_TRUE(dir.Set(test_path)); 26 EXPECT_FALSE(DirectoryExists(test_path)); 30 EXPECT_TRUE(dir.Set(test_path)); 32 EXPECT_TRUE(DirectoryExists(test_path)); 35 EXPECT_EQ(path.value(), test_path.value()); 38 EXPECT_TRUE(DirectoryExists(test_path)); 43 EXPECT_TRUE(dir.Set(test_path)); 51 FilePath test_path; local 70 FilePath test_path; local [all...] |
file_util_proxy_unittest.cc | 94 file_ = CreatePlatformFile(test_path(), flags, &created, &error); 104 const FilePath test_path() const { return dir_.path().AppendASCII("test"); } function in class:base::FileUtilProxyTest 123 test_path(), 131 EXPECT_TRUE(PathExists(test_path())); 136 file_util::WriteFile(test_path(), NULL, 0); 137 ASSERT_TRUE(PathExists(test_path())); 142 test_path(), 155 test_path(), 162 EXPECT_FALSE(PathExists(test_path())); 172 EXPECT_FALSE(base::Move(test_path(), [all...] |
/external/chromium/chrome/browser/importer/ |
firefox_profile_lock_unittest.cc | 37 FilePath test_path; local 39 FILE_PATH_LITERAL("firefox_profile"), &test_path)); 40 FilePath lock_file_path = test_path; 47 lock.reset(new FirefoxProfileLock(test_path)); 73 FilePath test_path; local 75 FILE_PATH_LITERAL("firefox_profile"), &test_path)); 76 FilePath lock_file_path = test_path; 88 lock.reset(new FirefoxProfileLock(test_path)); 99 FilePath test_path; local 101 FILE_PATH_LITERAL("firefox_profile"), &test_path)); [all...] |
/external/chromium_org/chrome/browser/importer/ |
firefox_profile_lock_unittest.cc | 35 base::FilePath test_path = temp_dir_.path(); local 37 test_path.Append(FirefoxProfileLock::kLockFileName); 42 lock.reset(new FirefoxProfileLock(test_path)); 68 base::FilePath test_path = temp_dir_.path(); local 70 test_path.Append(FirefoxProfileLock::kLockFileName); 80 lock.reset(new FirefoxProfileLock(test_path)); 91 base::FilePath test_path = temp_dir_.path(); local 95 lock1.reset(new FirefoxProfileLock(test_path)); 100 lock2.reset(new FirefoxProfileLock(test_path));
|
/external/chromium/chrome/browser/web_applications/ |
web_app_unittest.cc | 62 FilePath test_path(FILE_PATH_LITERAL("/path/to/test")); 63 FilePath result = web_app::GetDataDir(test_path); 64 test_path = test_path.AppendASCII("Web Applications"); 65 EXPECT_EQ(test_path.value(), result.value());
|
/external/chromium_org/chrome/test/perf/frame_rate/ |
frame_rate_tests.cc | 77 base::FilePath test_path; local 78 PathService::Get(chrome::DIR_TEST_DATA, &test_path); 79 test_path = test_path.Append(FILE_PATH_LITERAL("perf")); 80 test_path = test_path.Append(FILE_PATH_LITERAL("frame_rate")); 82 test_path = test_path.Append(FILE_PATH_LITERAL("private")); 84 test_path = test_path.Append(FILE_PATH_LITERAL("content")) 165 base::FilePath test_path = GetDataPath(name); local [all...] |
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/w3c/ |
test_parser_unittest.py | 47 test_path = '/some/madeup/path/' 48 parser = TestParser(options, test_path + 'somefile.html') 54 self.assertTrue(test_info['reference'].startswith(test_path), 'reference path is not correct') 68 test_path = '/some/madeup/path/' 69 parser = TestParser(options, test_path + 'somefile.html') 77 self.assertTrue(test_info['reference'].startswith(test_path), 'reference path is not correct') 94 test_path = '/some/madeup/path/' 95 parser = TestParser(options, test_path + 'somefile.html') 103 self.assertTrue(test_info['reference'].startswith(test_path), 'reference path is not correct') 128 test_path = '/some/madeup/path/ [all...] |
/external/chromium_org/chrome/test/perf/ |
indexeddb_uitest.cc | 35 base::FilePath test_path = GetIndexedDBTestDir(); local 36 test_path = test_path.Append(start_file); 37 GURL test_url(net::FilePathToFileURL(test_path));
|
/external/harfbuzz_ng/test/api/ |
hb-test.h | 166 hb_test_add_func (const char *test_path, 169 char *normal_path = hb_test_normalize_path (test_path); 176 hb_test_add_func_flavor (const char *test_path, 180 char *path = g_strdup_printf ("%s/%s", test_path, flavor); 187 hb_test_add_data_func (const char *test_path, 191 char *normal_path = hb_test_normalize_path (test_path); 198 hb_test_add_data_func_flavor (const char *test_path, 203 char *path = g_strdup_printf ("%s/%s", test_path, flavor); 211 hb_test_add_vtable (const char *test_path, 218 char *normal_path = hb_test_normalize_path (test_path); [all...] |
/external/chromium_org/chrome/test/perf/rendering/ |
throughput_tests.cc | 265 base::FilePath test_path; local 266 ASSERT_TRUE(PathService::Get(chrome::DIR_TEST_DATA, &test_path)); 267 test_path = test_path.Append(FILE_PATH_LITERAL("perf")); 269 test_path = test_path.Append(FILE_PATH_LITERAL("private")); 270 test_path = test_path.Append(FILE_PATH_LITERAL("rendering")); 271 test_path = test_path.Append(FILE_PATH_LITERAL("throughput")) 284 base::FilePath test_path; local [all...] |
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/layout_package/ |
bot_test_expectations.py | 141 def _line_from_test_and_flaky_types_and_bug_urls(self, test_path, flaky_types, bug_urls): 143 line.original_string = test_path 144 line.name = test_path 145 line.filename = test_path 153 for test_path, entry in self.results_json.walk_results(): 158 flakes_by_path[test_path] = sorted(map(self.results_json.expectation_for_type, flaky_types)) 175 for test_path, entry in self.results_json.walk_results(): 203 unexpected_results_by_path[test_path] = sorted(map(exp_to_string, expectations)) 208 for test_path, entry in self.results_json.walk_results(): 213 line = self._line_from_test_and_flaky_types_and_bug_urls(test_path, flaky_types, bug_urls [all...] |
/external/chromium_org/webkit/browser/blob/ |
local_file_stream_reader_unittest.cc | 69 file_util::WriteFile(test_path(), kTestData, kTestDataSize); 71 ASSERT_TRUE(base::GetFileInfo(test_path(), &info)); 97 ASSERT_TRUE(base::TouchFile(test_path(), 107 base::FilePath test_path() const { return dir_.path().AppendASCII("test"); } function in class:webkit_blob::LocalFileStreamReaderTest 164 CreateFileReader(test_path(), 0, test_file_modification_time())); 178 CreateFileReader(test_path(), 0, test_file_modification_time())); 186 reader.reset(CreateFileReader(test_path(), 0, base::Time())); 195 CreateFileReader(test_path(), 3, base::Time())); 206 CreateFileReader(test_path(), 0, test_file_modification_time())); 220 CreateFileReader(test_path(), 0, test_file_modification_time())) [all...] |
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/test/ |
functional.rb | 15 attr_accessor :test_path 18 File.basename( test_path, '.rb' ) 22 File.dirname( test_path ) 159 klass.test_path = call_stack[ 0 ].file 166 def test_path method in class:ANTLR3.Test.Functional 167 self.class.test_path
|
/external/chromium_org/chrome/browser/themes/ |
browser_theme_pack_unittest.cc | 175 base::FilePath test_path; local 176 if (!PathService::Get(chrome::DIR_TEST_DATA, &test_path)) { 178 return test_path; 181 test_path = test_path.AppendASCII("profiles"); 182 test_path = test_path.AppendASCII("profile_with_complex_theme"); 183 test_path = test_path.AppendASCII("Default"); 184 test_path = test_path.AppendASCII("Extensions") 191 base::FilePath test_path; local [all...] |
/external/chromium_org/gpu/gles2_conform_support/ |
gles2_conform_test.cc | 61 base::FilePath test_path; local 62 PathService::Get(base::DIR_EXE, &test_path); 63 base::FilePath program(test_path.Append(FILE_PATH_LITERAL(
|
/external/chromium/chrome/browser/themes/ |
browser_theme_pack_unittest.cc | 130 FilePath test_path; local 131 if (!PathService::Get(chrome::DIR_TEST_DATA, &test_path)) { 133 return test_path; 136 test_path = test_path.AppendASCII("profiles"); 137 test_path = test_path.AppendASCII("complex_theme"); 138 test_path = test_path.AppendASCII("Default"); 139 test_path = test_path.AppendASCII("Extensions") [all...] |
/external/chromium_org/chrome_frame/tools/ |
smoke_test.py | 94 test_path = os.path.abspath(os.path.join(_SRC_DIR, 'chrome/Debug', test)) 95 exit_status = os.system(test_path)
|
/external/chromium_org/content/browser/indexed_db/ |
indexed_db_unittest.cc | 148 base::FilePath test_path; local 159 test_path = idb_context->GetFilePathForTesting( 161 ASSERT_TRUE(base::CreateDirectory(test_path)); 198 EXPECT_FALSE(base::DirectoryExists(test_path)); 209 base::FilePath test_path = idb_context->GetFilePathForTesting( local 211 ASSERT_TRUE(base::CreateDirectory(test_path)); 214 LevelDBDatabase::LockForTesting(test_path); 223 EXPECT_TRUE(base::DirectoryExists(test_path));
|
/external/chromium_org/tools/flakiness/ |
find_flakiness.py | 30 def FindShardingFlakiness(test_path, data_path, supervisor_args): 56 args.extend(supervisor_args + [test_path]) 91 def FindUnaryFlakiness(test_path, output_path, num_procs, num_repeats, timeout): 103 proc = subprocess.Popen([test_path], stdout=subprocess.PIPE) 124 args = [test_path, '--gtest_filter=' + test_name,
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/ |
layout_tests_mover.py | 115 def _get_expectations_for_test(self, model, test_path): 121 if model.has_test(test_path): 122 expectations.add(model.get_expectation_line(test_path)) 123 test_path = self._filesystem.dirname(test_path) 124 while not test_path == '': 126 test_path_for_model = test_path + '/' 129 test_path = self._filesystem.dirname(test_path)
|
/external/chromium_org/tools/vim/ |
chromium.ycm_extra_conf.py | 88 def is_release_15s_newer(test_path): 90 debug_mtime = os.path.getmtime(os.path.join(debug_path, test_path)) 94 rel_mtime = os.path.getmtime(os.path.join(release_path, test_path))
|
/external/skia/gm/ |
pathreverse.cpp | 13 static void test_path(SkCanvas* canvas, const SkPath& path) { function 24 test_path(canvas, path); 30 test_path(canvas, rev);
|
/external/chromium_org/chrome_frame/test/ |
html_util_unittests.cc | 42 base::FilePath test_path; local 43 if (!PathService::Get(base::DIR_SOURCE_ROOT, &test_path)) { 48 test_path = test_path.AppendASCII("chrome_frame"); 49 test_path = test_path.AppendASCII("test"); 50 test_path = test_path.AppendASCII("html_util_test_data"); 51 test_path = test_path.AppendASCII(test_case) [all...] |
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/performance_tests/ |
perftest.py | 89 def __init__(self, port, test_name, test_path, test_runner_count=DEFAULT_TEST_RUNNER_COUNT): 92 self._test_path = test_path 104 def test_path(self): member in class:PerfTest 169 output = self.run_single(driver, self.test_path(), time_out_ms) 206 def run_single(self, driver, test_path, time_out_ms, should_run_pixel_test=False): 207 return driver.run_test(DriverInput(test_path, time_out_ms, image_hash=None, should_run_pixel_test=should_run_pixel_test, args=[]), stop_when_done=False) 267 def __init__(self, port, test_name, test_path, test_runner_count=1): 268 super(SingleProcessPerfTest, self).__init__(port, test_name, test_path, test_runner_count) 274 def __init__(self, port, test_name, test_path, test_runner_count=DEFAULT_TEST_RUNNER_COUNT): 275 super(ChromiumStylePerfTest, self).__init__(port, test_name, test_path, test_runner_count [all...] |