Searched refs:test_path (Results 1 - 25 of 50) sorted by relevance

12

/external/chromium_org/chrome/common/extensions/docs/server2/
H A Dinstance_servlet_test.py37 def test_path(path, status=404): function in function:InstanceServletTest.testHostFileSystemNotAccessed
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('bet
[all...]
/external/chromium_org/base/files/
H A Dscoped_temp_dir_unittest.cc15 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...]
H A Dfile_util_proxy_unittest.cc48 const FilePath test_path() const { return dir_.path().AppendASCII("test"); } function in class:base::FileUtilProxyTest
66 ASSERT_EQ(4, WriteFile(test_path(), "test", 4));
68 GetFileInfo(test_path(), &expected_info);
73 test_path(),
89 ASSERT_TRUE(base::CreateDirectory(test_path()));
91 GetFileInfo(test_path(), &expected_info);
96 test_path(),
111 ASSERT_EQ(4, WriteFile(test_path(), "test", 4));
117 test_path(),
125 GetFileInfo(test_path(),
[all...]
H A Dfile_proxy_unittest.cc75 test_path(), flags,
85 const FilePath test_path() const { return dir_.path().AppendASCII("test"); } function in class:base::FileProxyTest
102 test_path(),
110 EXPECT_TRUE(PathExists(test_path()));
115 base::WriteFile(test_path(), NULL, 0);
116 ASSERT_TRUE(PathExists(test_path()));
121 test_path(),
134 test_path(),
141 EXPECT_FALSE(PathExists(test_path()));
149 test_path(),
[all...]
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/w3c/
H A 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
[all...]
/external/jemalloc/
H A DAndroid.test.mk21 LOCAL_MODULE_PATH := $(TARGET_OUT_DATA_NATIVE_TESTS)/$(test_path)
51 test_path := macro
/external/chromium_org/chrome/browser/importer/
H A Dfirefox_profile_lock_unittest.cc35 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_org/chrome/browser/extensions/
H A Dchrome_component_extension_resource_manager_unittest.cc35 base::FilePath test_path; local
36 ASSERT_TRUE(PathService::Get(chrome::DIR_TEST_DATA, &test_path));
37 test_path = test_path.AppendASCII("extensions").AppendASCII("file_manager");
42 test_path, FILE_PATH_LITERAL("app.json"), &error));
/external/chromium_org/net/tools/tld_cleanup/
H A DPRESUBMIT.py15 test_path = input_api.os_path.join(input_api.PresubmitLocalPath(),
18 cmd = [input_api.python_executable, test_path]
/external/chromium_org/chrome/browser/apps/
H A 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/content/test/ppapi/
H A Dppapi_test.cc62 base::FilePath test_path; local
63 EXPECT_TRUE(PathService::Get(base::DIR_SOURCE_ROOT, &test_path));
64 test_path = test_path.Append(FILE_PATH_LITERAL("ppapi"));
65 test_path = test_path.Append(FILE_PATH_LITERAL("tests"));
66 test_path = test_path.Append(FILE_PATH_LITERAL("test_case.html"));
69 EXPECT_TRUE(base::PathExists(test_path));
70 GURL test_url = net::FilePathToFileURL(test_path);
[all...]
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/layout_package/
H A Dbot_test_expectations.py156 def _line_from_test_and_flaky_types_and_bug_urls(self, test_path, flaky_types, bug_urls):
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]
[all...]
/external/harfbuzz_ng/test/api/
H A Dhb-test.h163 hb_test_add_func (const char *test_path, argument
166 char *normal_path = hb_test_normalize_path (test_path);
173 hb_test_add_func_flavor (const char *test_path, argument
177 char *path = g_strdup_printf ("%s/%s", test_path, flavor);
184 hb_test_add_data_func (const char *test_path, argument
188 char *normal_path = hb_test_normalize_path (test_path);
195 hb_test_add_data_func_flavor (const char *test_path, argument
200 char *path = g_strdup_printf ("%s/%s", test_path, flavor);
208 hb_test_add_vtable (const char *test_path, argument
215 char *normal_path = hb_test_normalize_path (test_path);
235 hb_test_add_vtable_flavor(const char *test_path, const char *flavor, gsize data_size, gconstpointer test_data, hb_test_fixture_func_t data_setup, hb_test_fixture_func_t data_test, hb_test_fixture_func_t data_teardown) argument
[all...]
/external/chromium_org/content/browser/fileapi/
H A Dlocal_file_stream_reader_unittest.cc71 base::WriteFile(test_path(), kTestData, kTestDataSize);
73 ASSERT_TRUE(base::GetFileInfo(test_path(), &info));
99 ASSERT_TRUE(base::TouchFile(test_path(),
109 base::FilePath test_path() const { return dir_.path().AppendASCII("test"); } function in class:content::LocalFileStreamReaderTest
161 CreateFileReader(test_path(), 0, test_file_modification_time()));
175 CreateFileReader(test_path(), 0, test_file_modification_time()));
183 reader.reset(CreateFileReader(test_path(), 0, base::Time()));
192 CreateFileReader(test_path(), 3, base::Time()));
203 CreateFileReader(test_path(), 0, test_file_modification_time()));
217 CreateFileReader(test_path(),
[all...]
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/test/
H A Dfunctional.rb15 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/
H A Dbrowser_theme_pack_unittest.cc177 base::FilePath test_path; local
178 if (!PathService::Get(chrome::DIR_TEST_DATA, &test_path)) {
180 return test_path;
183 test_path = test_path.AppendASCII("profiles");
184 test_path = test_path.AppendASCII("profile_with_complex_theme");
185 test_path = test_path.AppendASCII("Default");
186 test_path
193 base::FilePath test_path; local
[all...]
/external/chromium_org/gpu/gles2_conform_support/
H A Dgles2_conform_test.cc61 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_org/tools/flakiness/
H A Dfind_flakiness.py30 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/content/browser/indexed_db/
H A Dindexed_db_unittest.cc162 base::FilePath test_path; local
184 test_path = idb_context->GetFilePathForTesting(
223 EXPECT_FALSE(base::DirectoryExists(test_path));
234 base::FilePath test_path = idb_context->GetFilePathForTesting( local
236 ASSERT_TRUE(base::CreateDirectory(test_path));
239 LevelDBDatabase::LockForTesting(test_path);
248 EXPECT_TRUE(base::DirectoryExists(test_path));
/external/chromium_org/third_party/skia/gm/
H A Dpathreverse.cpp13 static void test_path(SkCanvas* canvas, const SkPath& path) { function
24 test_path(canvas, path);
30 test_path(canvas, rev);
/external/skia/gm/
H A Dpathreverse.cpp13 static void test_path(SkCanvas* canvas, const SkPath& path) { function
24 test_path(canvas, path);
30 test_path(canvas, rev);
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/performance_tests/
H A Dperftest.py89 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)
268 def __init__(self, port, test_name, test_path, test_runner_count=1):
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):
276 super(ChromiumStylePerfTest, self).__init__(port, test_name, test_path, test_runner_coun
[all...]
/external/chromium_org/chrome/test/ppapi/
H A Dppapi_test.cc153 base::FilePath test_path; local
154 EXPECT_TRUE(PathService::Get(base::DIR_SOURCE_ROOT, &test_path));
155 test_path = test_path.Append(FILE_PATH_LITERAL("ppapi"));
156 test_path = test_path.Append(FILE_PATH_LITERAL("tests"));
157 test_path = test_path.Append(FILE_PATH_LITERAL("test_case.html"));
160 EXPECT_TRUE(base::PathExists(test_path));
162 GURL test_url = net::FilePathToFileURL(test_path);
[all...]
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/
H A Dlayout_tests_mover.py115 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/content/shell/renderer/test_runner/
H A Dtest_interfaces.cc119 std::string test_path = spec.substr(spec.find("/inspector/") + 11); local
120 size_t slash_index = test_path.find("/");
123 test_path.substr(0, slash_index).c_str());

Completed in 706 milliseconds

12