Home
last modified time | relevance | path

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

123

/external/chromium_org/base/files/
Dscoped_temp_dir_unittest.cc15 FilePath test_path; in TEST() local
17 &test_path); in TEST()
20 EXPECT_TRUE(DirectoryExists(test_path)); in TEST()
23 EXPECT_TRUE(dir.Set(test_path)); in TEST()
26 EXPECT_FALSE(DirectoryExists(test_path)); in TEST()
30 EXPECT_TRUE(dir.Set(test_path)); in TEST()
32 EXPECT_TRUE(DirectoryExists(test_path)); in TEST()
35 EXPECT_EQ(path.value(), test_path.value()); in TEST()
38 EXPECT_TRUE(DirectoryExists(test_path)); in TEST()
43 EXPECT_TRUE(dir.Set(test_path)); in TEST()
[all …]
Dfile_proxy_unittest.cc75 test_path(), flags, in CreateProxy()
85 const FilePath test_path() const { return dir_.path().AppendASCII("test"); } in test_path() function in base::FileProxyTest
102 test_path(), in TEST_F()
110 EXPECT_TRUE(PathExists(test_path())); in TEST_F()
115 base::WriteFile(test_path(), NULL, 0); in TEST_F()
116 ASSERT_TRUE(PathExists(test_path())); in TEST_F()
121 test_path(), in TEST_F()
134 test_path(), in TEST_F()
141 EXPECT_FALSE(PathExists(test_path())); in TEST_F()
149 test_path(), in TEST_F()
[all …]
Dfile_util_proxy_unittest.cc48 const FilePath test_path() const { return dir_.path().AppendASCII("test"); } in test_path() function in base::FileUtilProxyTest
66 ASSERT_EQ(4, WriteFile(test_path(), "test", 4)); in TEST_F()
68 GetFileInfo(test_path(), &expected_info); in TEST_F()
73 test_path(), in TEST_F()
89 ASSERT_TRUE(base::CreateDirectory(test_path())); in TEST_F()
91 GetFileInfo(test_path(), &expected_info); in TEST_F()
96 test_path(), in TEST_F()
111 ASSERT_EQ(4, WriteFile(test_path(), "test", 4)); in TEST_F()
117 test_path(), in TEST_F()
125 GetFileInfo(test_path(), &info); in TEST_F()
/external/chromium_org/chrome/common/extensions/docs/server2/
Dinstance_servlet_test.py37 def test_path(path, status=404): function
40 test_path('extensions/storage.html')
41 test_path('apps/storage.html')
42 test_path('extensions/examples/foo.zip')
43 test_path('extensions/examples/foo.html')
44 test_path('static/foo.css')
45 test_path('beta/extensions/storage.html', status=301)
46 test_path('beta/apps/storage.html', status=301)
47 test_path('beta/extensions/examples/foo.zip', status=301)
48 test_path('beta/extensions/examples/foo.html', status=301)
[all …]
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/w3c/
Dtest_parser_unittest.py45 test_path = '/some/madeup/path/'
46 parser = TestParser(options, test_path + 'somefile.html')
52 … self.assertTrue(test_info['reference'].startswith(test_path), 'reference path is not correct')
66 test_path = '/some/madeup/path/'
67 parser = TestParser(options, test_path + 'somefile.html')
75 … self.assertTrue(test_info['reference'].startswith(test_path), 'reference path is not correct')
92 test_path = '/some/madeup/path/'
93 parser = TestParser(options, test_path + 'somefile.html')
101 … self.assertTrue(test_info['reference'].startswith(test_path), 'reference path is not correct')
126 test_path = '/some/madeup/path/'
[all …]
/external/harfbuzz_ng/test/api/
Dhb-test.h163 hb_test_add_func (const char *test_path, in hb_test_add_func() argument
166 char *normal_path = hb_test_normalize_path (test_path); in hb_test_add_func()
173 hb_test_add_func_flavor (const char *test_path, in hb_test_add_func_flavor() argument
177 char *path = g_strdup_printf ("%s/%s", test_path, flavor); in hb_test_add_func_flavor()
184 hb_test_add_data_func (const char *test_path, in hb_test_add_data_func() argument
188 char *normal_path = hb_test_normalize_path (test_path); in hb_test_add_data_func()
195 hb_test_add_data_func_flavor (const char *test_path, in hb_test_add_data_func_flavor() argument
200 char *path = g_strdup_printf ("%s/%s", test_path, flavor); in hb_test_add_data_func_flavor()
208 hb_test_add_vtable (const char *test_path, in hb_test_add_vtable() argument
215 char *normal_path = hb_test_normalize_path (test_path); in hb_test_add_vtable()
[all …]
/external/chromium_org/content/test/ppapi/
Dppapi_test.cc62 base::FilePath test_path; in GetTestFileUrl() local
63 EXPECT_TRUE(PathService::Get(base::DIR_SOURCE_ROOT, &test_path)); in GetTestFileUrl()
64 test_path = test_path.Append(FILE_PATH_LITERAL("ppapi")); in GetTestFileUrl()
65 test_path = test_path.Append(FILE_PATH_LITERAL("tests")); in GetTestFileUrl()
66 test_path = test_path.Append(FILE_PATH_LITERAL("test_case.html")); in GetTestFileUrl()
69 EXPECT_TRUE(base::PathExists(test_path)); in GetTestFileUrl()
70 GURL test_url = net::FilePathToFileURL(test_path); in GetTestFileUrl()
/external/chromium_org/chrome/browser/importer/
Dfirefox_profile_lock_unittest.cc35 base::FilePath test_path = temp_dir_.path(); in TEST_F() local
37 test_path.Append(FirefoxProfileLock::kLockFileName); in TEST_F()
42 lock.reset(new FirefoxProfileLock(test_path)); in TEST_F()
68 base::FilePath test_path = temp_dir_.path(); in TEST_F() local
70 test_path.Append(FirefoxProfileLock::kLockFileName); in TEST_F()
80 lock.reset(new FirefoxProfileLock(test_path)); in TEST_F()
91 base::FilePath test_path = temp_dir_.path(); in TEST_F() local
95 lock1.reset(new FirefoxProfileLock(test_path)); in TEST_F()
100 lock2.reset(new FirefoxProfileLock(test_path)); in TEST_F()
Dfirefox_importer_browsertest.cc254 base::FilePath test_path = temp_dir_.path().AppendASCII("ImporterTest"); in SetUp() local
255 base::DeleteFile(test_path, true); in SetUp()
256 base::CreateDirectory(test_path); in SetUp()
257 profile_path_ = test_path.AppendASCII("profile"); in SetUp()
258 app_path_ = test_path.AppendASCII("app"); in SetUp()
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/layout_package/
Dbot_test_expectations.py156 def _line_from_test_and_flaky_types_and_bug_urls(self, test_path, flaky_types, bug_urls): argument
158 line.original_string = test_path
159 line.name = test_path
160 line.filename = test_path
161 line.path = test_path # FIXME: Should this be normpath?
162 line.matching_tests = [test_path]
171 for test_path, entry in self.results_json.walk_results():
176 … flakes_by_path[test_path] = sorted(map(self.results_json.expectation_for_type, flaky_types))
193 for test_path, entry in self.results_json.walk_results():
221 unexpected_results_by_path[test_path] = sorted(map(exp_to_string, expectations))
[all …]
/external/chromium_org/content/browser/fileapi/
Dlocal_file_stream_reader_unittest.cc71 base::WriteFile(test_path(), kTestData, kTestDataSize); in SetUp()
73 ASSERT_TRUE(base::GetFileInfo(test_path(), &info)); in SetUp()
99 ASSERT_TRUE(base::TouchFile(test_path(), in TouchTestFile()
109 base::FilePath test_path() const { return dir_.path().AppendASCII("test"); } in test_path() function in content::LocalFileStreamReaderTest
161 CreateFileReader(test_path(), 0, test_file_modification_time())); in TEST_F()
175 CreateFileReader(test_path(), 0, test_file_modification_time())); in TEST_F()
183 reader.reset(CreateFileReader(test_path(), 0, base::Time())); in TEST_F()
192 CreateFileReader(test_path(), 3, base::Time())); in TEST_F()
203 CreateFileReader(test_path(), 0, test_file_modification_time())); in TEST_F()
217 CreateFileReader(test_path(), 0, test_file_modification_time())); in TEST_F()
[all …]
/external/chromium_org/chrome/browser/themes/
Dbrowser_theme_pack_unittest.cc177 base::FilePath test_path; in GetStarGazingPath() local
178 if (!PathService::Get(chrome::DIR_TEST_DATA, &test_path)) { in GetStarGazingPath()
180 return test_path; in GetStarGazingPath()
183 test_path = test_path.AppendASCII("profiles"); in GetStarGazingPath()
184 test_path = test_path.AppendASCII("profile_with_complex_theme"); in GetStarGazingPath()
185 test_path = test_path.AppendASCII("Default"); in GetStarGazingPath()
186 test_path = test_path.AppendASCII("Extensions"); in GetStarGazingPath()
187 test_path = test_path.AppendASCII("mblmlcbknbnfebdfjnolmcapmdofhmme"); in GetStarGazingPath()
188 test_path = test_path.AppendASCII("1.1"); in GetStarGazingPath()
189 return base::FilePath(test_path); in GetStarGazingPath()
[all …]
/external/chromium_org/chrome/browser/extensions/
Dchrome_component_extension_resource_manager_unittest.cc35 base::FilePath test_path; in TEST_F() local
36 ASSERT_TRUE(PathService::Get(chrome::DIR_TEST_DATA, &test_path)); in TEST_F()
37 test_path = test_path.AppendASCII("extensions").AppendASCII("file_manager"); in TEST_F()
42 test_path, FILE_PATH_LITERAL("app.json"), &error)); in TEST_F()
/external/chromium_org/chrome/browser/apps/
Dephemeral_app_browsertest.h34 base::FilePath GetTestPath(const char* test_path);
37 const char* test_path, extensions::Manifest::Location manifest_location);
38 const extensions::Extension* InstallEphemeralApp(const char* test_path);
40 const char* test_path);
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/performance_tests/
Dperftest.py89 def __init__(self, port, test_name, test_path, test_runner_count=DEFAULT_TEST_RUNNER_COUNT): argument
92 self._test_path = test_path
104 def test_path(self): member in 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): argument
207 …return driver.run_test(DriverInput(test_path, time_out_ms, image_hash=None, should_run_pixel_test=…
268 def __init__(self, port, test_name, test_path, test_runner_count=1): argument
269 super(SingleProcessPerfTest, self).__init__(port, test_name, test_path, test_runner_count)
275 def __init__(self, port, test_name, test_path, test_runner_count=DEFAULT_TEST_RUNNER_COUNT): argument
276 super(ChromiumStylePerfTest, self).__init__(port, test_name, test_path, test_runner_count)
[all …]
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/test/
Dfunctional.rb18 File.basename( test_path, '.rb' )
22 File.dirname( test_path )
159 klass.test_path = call_stack[ 0 ].file
166 def test_path method in ANTLR3.Test.Functional
167 self.class.test_path
/external/chromium_org/content/browser/indexed_db/
Dindexed_db_unittest.cc162 base::FilePath test_path; in TEST_F() local
184 test_path = idb_context->GetFilePathForTesting( in TEST_F()
223 EXPECT_FALSE(base::DirectoryExists(test_path)); in TEST_F()
234 base::FilePath test_path = idb_context->GetFilePathForTesting( in TEST_F() local
236 ASSERT_TRUE(base::CreateDirectory(test_path)); in TEST_F()
239 LevelDBDatabase::LockForTesting(test_path); in TEST_F()
248 EXPECT_TRUE(base::DirectoryExists(test_path)); in TEST_F()
/external/chromium_org/tools/flakiness/
Dfind_flakiness.py30 def FindShardingFlakiness(test_path, data_path, supervisor_args): argument
56 args.extend(supervisor_args + [test_path])
91 def FindUnaryFlakiness(test_path, output_path, num_procs, num_repeats, timeout): argument
103 proc = subprocess.Popen([test_path], stdout=subprocess.PIPE)
124 args = [test_path, '--gtest_filter=' + test_name,
/external/chromium_org/chrome/test/ppapi/
Dppapi_test.cc153 base::FilePath test_path; in GetTestFileUrl() local
154 EXPECT_TRUE(PathService::Get(base::DIR_SOURCE_ROOT, &test_path)); in GetTestFileUrl()
155 test_path = test_path.Append(FILE_PATH_LITERAL("ppapi")); in GetTestFileUrl()
156 test_path = test_path.Append(FILE_PATH_LITERAL("tests")); in GetTestFileUrl()
157 test_path = test_path.Append(FILE_PATH_LITERAL("test_case.html")); in GetTestFileUrl()
160 EXPECT_TRUE(base::PathExists(test_path)); in GetTestFileUrl()
162 GURL test_url = net::FilePathToFileURL(test_path); in GetTestFileUrl()
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/
Dlayout_tests_mover.py115 def _get_expectations_for_test(self, model, test_path): argument
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/gpu/gles2_conform_support/
Dgles2_conform_test.cc61 base::FilePath test_path; in RunGLES2ConformTest() local
62 PathService::Get(base::DIR_EXE, &test_path); in RunGLES2ConformTest()
63 base::FilePath program(test_path.Append(FILE_PATH_LITERAL( in RunGLES2ConformTest()
/external/jemalloc/
DAndroid.test.mk21 LOCAL_MODULE_PATH := $(TARGET_OUT_DATA_NATIVE_TESTS)/$(test_path)
51 test_path :=
/external/chromium_org/net/tools/tld_cleanup/
DPRESUBMIT.py15 test_path = input_api.os_path.join(input_api.PresubmitLocalPath(),
18 cmd = [input_api.python_executable, test_path]
/external/chromium_org/third_party/skia/gm/
Dpathreverse.cpp13 static void test_path(SkCanvas* canvas, const SkPath& path) { in test_path() function
24 test_path(canvas, path); in test_rev()
30 test_path(canvas, rev); in test_rev()
/external/skia/gm/
Dpathreverse.cpp13 static void test_path(SkCanvas* canvas, const SkPath& path) { in test_path() function
24 test_path(canvas, path); in test_rev()
30 test_path(canvas, rev); in test_rev()

123