Home
last modified time | relevance | path

Searched refs:test_file (Results 1 – 25 of 28) sorted by relevance

12

/external/chromium/chrome/browser/ui/tests/
Dbrowser_uitest.cc49 FilePath test_file(test_data_directory_); in TEST_F() local
50 test_file = test_file.AppendASCII("title1.html"); in TEST_F()
52 NavigateToURL(net::FilePathToFileURL(test_file)); in TEST_F()
94 FilePath test_file(test_data_directory_); in TEST_F() local
101 test_file = test_file.AppendASCII("title2.html"); in TEST_F()
102 tab->NavigateToURL(net::FilePathToFileURL(test_file)); in TEST_F()
148 FilePath test_file(test_data_directory_); in TEST_F() local
155 test_file = test_file.AppendASCII("title2.html"); in TEST_F()
157 tab->NavigateToURL(net::FilePathToFileURL(test_file))); in TEST_F()
197 FilePath test_file(test_data_directory_); in TEST_F() local
[all …]
/external/chromium/chrome/browser/extensions/
Dconvert_user_script_unittest.cc18 FilePath test_file; in TEST() local
19 ASSERT_TRUE(PathService::Get(chrome::DIR_TEST_DATA, &test_file)); in TEST()
20 test_file = test_file.AppendASCII("extensions") in TEST()
25 test_file, GURL("http://www.google.com/foo"), &error)); in TEST()
58 FilePath test_file; in TEST() local
59 ASSERT_TRUE(PathService::Get(chrome::DIR_TEST_DATA, &test_file)); in TEST()
60 test_file = test_file.AppendASCII("extensions") in TEST()
65 test_file, GURL("http://www.google.com/foo/bar.user.js?monkey"), &error)); in TEST()
97 FilePath test_file; in TEST() local
99 ASSERT_TRUE(PathService::Get(chrome::DIR_TEST_DATA, &test_file)); in TEST()
[all …]
Dimage_loading_tracker_unittest.cc56 FilePath test_file; in CreateExtension() local
57 if (!PathService::Get(chrome::DIR_TEST_DATA, &test_file)) { in CreateExtension()
61 test_file = test_file.AppendASCII("extensions") in CreateExtension()
65 JSONFileValueSerializer serializer(test_file.AppendASCII("app.json")); in CreateExtension()
77 return Extension::Create(test_file, Extension::INVALID, *valid_value, in CreateExtension()
Dextension_startup_browsertest.cc103 FilePath test_file; in TestInjection() local
104 PathService::Get(chrome::DIR_TEST_DATA, &test_file); in TestInjection()
105 test_file = test_file.AppendASCII("extensions") in TestInjection()
108 ui_test_utils::NavigateToURL(browser(), net::FilePathToFileURL(test_file)); in TestInjection()
Dextension_info_map_unittest.cc53 const std::string& test_file) { in LoadManifest() argument
58 .AppendASCII(test_file); in LoadManifest()
/external/chromium/base/files/
Dfile_path_watcher_browsertest.cc164 FilePath test_file() { in test_file() function in base::files::__anon9ecd36e60111::FilePathWatcherTest
208 ASSERT_TRUE(SetupWatch(test_file(), &watcher, delegate.get())); in TEST_F()
210 ASSERT_TRUE(WriteFile(test_file(), "content")); in TEST_F()
216 ASSERT_TRUE(WriteFile(test_file(), "content")); in TEST_F()
220 ASSERT_TRUE(SetupWatch(test_file(), &watcher, delegate.get())); in TEST_F()
223 ASSERT_TRUE(WriteFile(test_file(), "new content")); in TEST_F()
234 ASSERT_TRUE(SetupWatch(test_file(), &watcher, delegate.get())); in TEST_F()
237 ASSERT_TRUE(file_util::Move(source_file, test_file())); in TEST_F()
242 ASSERT_TRUE(WriteFile(test_file(), "content")); in TEST_F()
246 ASSERT_TRUE(SetupWatch(test_file(), &watcher, delegate.get())); in TEST_F()
[all …]
/external/chromium/chrome/browser/
Dimages_uitest.cc15 FilePath test_file(test_data_directory_); in TEST_F() local
16 test_file = test_file.AppendASCII("animated-gifs.html"); in TEST_F()
17 NavigateToURL(net::FilePathToFileURL(test_file)); in TEST_F()
Diframe_uitest.cc14 FilePath test_file(test_data_directory_); in NavigateAndVerifyTitle() local
15 test_file = test_file.AppendASCII(url); in NavigateAndVerifyTitle()
17 NavigateToURL(net::FilePathToFileURL(test_file)); in NavigateAndVerifyTitle()
Ddefault_plugin_uitest.cc26 FilePath test_file(test_data_directory_); in TEST_F() local
27 test_file = test_file.AppendASCII("default_plugin.html"); in TEST_F()
28 NavigateToURL(net::FilePathToFileURL(test_file)); in TEST_F()
Dsanity_uitest.cc18 FilePath test_file = in GoogleTest() local
20 set_homepage(GURL(net::FilePathToFileURL(test_file)).spec()); in GoogleTest()
36 FilePath test_file = test_data_directory_.AppendASCII("columns.html"); in ColumnLayout() local
37 set_homepage(GURL(net::FilePathToFileURL(test_file)).spec()); in ColumnLayout()
Dmedia_uitest.cc34 FilePath test_file(test_data_directory_); in PlayMedia() local
35 test_file = test_file.AppendASCII("media/player.html"); in PlayMedia()
37 GURL player_gurl = net::FilePathToFileURL(test_file); in PlayMedia()
/external/webkit/Tools/Scripts/webkitpy/tool/commands/
Drebaselineserver.py230 def _get_actual_result_files(test_file, test_config): argument
231 test_name, _ = os.path.splitext(test_file)
232 test_directory = os.path.dirname(test_file)
245 def _rebaseline_test(test_file, baseline_target, baseline_move_to, test_config, log): argument
246 test_name, _ = os.path.splitext(test_file)
251 actual_result_files = _get_actual_result_files(test_file, test_config)
262 current_baselines = _get_test_baselines(test_file, test_config)
285 test_file,
314 def _move_test_baselines(test_file, extensions_to_move, source_platform, destination_platform, test… argument
315 test_file_name = os.path.splitext(os.path.basename(test_file))[0]
[all …]
/external/chromium/chrome/browser/policy/
Duser_policy_cache_unittest.cc98 EXPECT_EQ(size, file_util::WriteFile(test_file(), data.c_str(), size)); in WritePolicy()
116 FilePath test_file() { in test_file() function in policy::UserPolicyCacheTest
195 UserPolicyCache cache(test_file()); in TEST_F()
203 UserPolicyCache cache(test_file()); in TEST_F()
216 UserPolicyCache cache(test_file()); in TEST_F()
228 UserPolicyCache cache(test_file()); in TEST_F()
242 UserPolicyCache cache(test_file()); in TEST_F()
251 UserPolicyCache cache(test_file()); in TEST_F()
277 UserPolicyCache cache(test_file()); in TEST_F()
299 UserPolicyCache cache(test_file()); in TEST_F()
[all …]
/external/webkit/Tools/Scripts/webkitpy/layout_tests/layout_package/
Dtest_runner.py440 def _get_dir_for_test_file(self, test_file): argument
443 index = test_file.rfind(self._fs.sep + self.LAYOUT_TESTS_DIRECTORY)
445 test_file = test_file[index + len(self.LAYOUT_TESTS_DIRECTORY):]
446 test_file_parts = test_file.split(self._fs.sep, 1)
448 test_file = test_file_parts[1]
456 and test_file.find(self._fs.sep) >= 0):
457 test_file_parts = test_file.split(self._fs.sep, 1)
460 test_file = test_file_parts[1]
464 def _get_test_input_for_file(self, test_file): argument
468 if self._test_is_slow(test_file):
[all …]
Dtest_runner_unittest.py42 def _get_test_input_for_file(self, test_file): argument
43 return test_file
/external/webkit/Tools/Scripts/webkitpy/layout_tests/port/
Dbase_unittest.py196 test_file = port._filesystem.join(layout_test_dir, "foo", "bar.html")
205 path = test_file.replace("\\", "/")
208 path = test_file
210 self.assertEqual(port.filename_to_uri(test_file),
211 abspath_to_uri(test_file))
241 test_file = filesystem.join(layout_test_dir, 'fast', 'test.html')
245 port.expected_baselines(test_file, '.txt'),
254 port.expected_baselines(test_file, '.txt'),
260 port.expected_baselines(test_file, '.txt'),
/external/chromium/chrome/browser/history/
Dredirect_uitest.cc250 FilePath test_file(test_data_directory_); in TEST_F() local
251 test_file = test_file.AppendASCII("http_to_file.html"); in TEST_F()
252 GURL file_url = net::FilePathToFileURL(test_file); in TEST_F()
272 FilePath test_file(test_data_directory_); in TEST_F() local
273 test_file = test_file.AppendASCII("ref_redirect.html"); in TEST_F()
274 GURL first_url = net::FilePathToFileURL(test_file); in TEST_F()
/external/compiler-rt/lib/tsan/lit_tests/
Dtest_output.sh18 test_file() { function
43 test_file $c $COMPILER &
49 test_file $ROOTDIR/lit_tests/$1 $CXX "DUMP"
/external/chromium/chrome/browser/printing/
Dprint_dialog_cloud_unittest.cc47 FilePath test_file = test_data_directory.AppendASCII(kPDFTestFile); in GetTestDataFileName() local
48 return test_file; in GetTestDataFileName()
54 FilePath test_file = test_data_directory.AppendASCII(kEmptyPDFTestFile); in GetEmptyDataFileName() local
55 return test_file; in GetEmptyDataFileName()
61 FilePath test_file = GetTestDataFileName(); in GetTestData() local
62 file_util::ReadFileToString(test_file, &sTestFileData); in GetTestData()
Dprint_dialog_cloud_uitest.cc47 FilePath test_file = in GetTestData() local
49 file_util::ReadFileToString(test_file, &test_data_); in GetTestData()
/external/chromium-trace/trace-viewer/third_party/closure_linter/closure_linter/
Dnot_strict_test.py66 for test_file in test_files:
67 resource_path = os.path.join(_RESOURCE_PREFIX, test_file)
Dfull_test.py107 for test_file in test_files:
108 resource_path = os.path.join(_RESOURCE_PREFIX, test_file)
/external/webkit/Tools/Scripts/
Dtest-webkitpy149 test_file = open(test_path, "w")
151 test_file.write("Test .pyc file generated by test-webkitpy.")
153 test_file.close()
/external/clang/bindings/python/tests/cindex/
Dtest_file.py3 def test_file(): function
/external/webkit/Tools/Scripts/webkitpy/common/checkout/
Dscm_unittest.py868 test_file = os.path.join(self.git_checkout_path, 'test_file')
869 write_into_file_at_path(test_file, 'foo')
875 test_file = os.path.join(self.git_checkout_path, 'test_file')
876 write_into_file_at_path(test_file, 'foo')
897 test_file = os.path.join(self.git_checkout_path, 'test_file')
898 write_into_file_at_path(test_file, 'foo')

12