HomeSort by relevance Sort by last modified time
    Searched refs:_filesystem (Results 1 - 25 of 51) sorted by null

1 2 3

  /external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/common/system/
zipfileset_unittest.py 35 self._filesystem = filesystem
42 return FileSetFileHandle(self, filename, self._filesystem)
51 self._filesystem.write_text_file(self._filesystem.join(path, filename), self.read(filename))
59 self._filesystem = MockFileSystem()
60 self._zip = ZipFileSet('blah', self._filesystem, self.make_fake_zip)
63 result = FakeZip(self._filesystem)
74 zipfileset = ZipFileSet('blah', self._filesystem, self.make_fake_zip)
81 self._filesystem.maybe_make_directory('/some-dir')
83 self.assertTrue(self._filesystem.isfile('/some-dir/some-file')
    [all...]
urlfetcher_mock.py 35 self._filesystem = filesystem
41 f, fn = self._filesystem.open_binary_tempfile('mockfetcher')
fileset.py 33 self._filesystem = filesystem or FileSystem()
50 with self._filesystem.mkdtemp() as temp_dir:
53 src = self._filesystem.join(temp_dir, self._filename)
54 dest = self._filesystem.join(path, filename)
55 self._filesystem.copyfile(src, dest)
64 return self._filesystem.splitext(self.name())
urlfetcher.py 37 self._filesystem = filesystem
51 file_object, filename = self._filesystem.open_binary_tempfile('-fetched')
workspace.py 43 self._filesystem = filesystem
52 target_path = self._filesystem.join(directory, target_name)
53 if not self._filesystem.exists(target_path):
zip_mock.py 31 self._filesystem = filesystem or MockFileSystem()
50 full_path = self._filesystem.join(path, filename)
52 self._filesystem.write_text_file(full_path, contents)
zipfileset.py 38 self._filesystem = filesystem or FileSystem()
51 return FileSetFileHandle(self, filename, self._filesystem)
55 self._filesystem.remove(self._temp_file)
  /external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/servers/
apache_http_server.py 58 self._filesystem.maybe_make_directory(output_dir)
60 self._pid_file = self._filesystem.join(self._runtime_path, '%s.pid' % self._name)
63 js_test_resources_dir = self._filesystem.join(test_dir, "fast", "js", "resources")
64 media_resources_dir = self._filesystem.join(test_dir, "media")
65 mime_types_path = self._filesystem.join(test_dir, "http", "conf", "mime.types")
66 cert_file = self._filesystem.join(test_dir, "http", "conf", "webkit-httpd.pem")
67 access_log = self._filesystem.join(output_dir, "access_log.txt")
68 error_log = self._filesystem.join(output_dir, "error_log.txt")
69 document_root = self._filesystem.join(test_dir, "http", "tests")
144 httpd_conf = self._filesystem.read_text_file(httpd_config
    [all...]
websocket_server.py 89 self._pid_file = self._filesystem.join(self._runtime_path, '%s.pid' % self._name)
95 self._layout_tests = self._filesystem.abspath(self._root)
96 self._web_socket_tests = self._filesystem.abspath(self._filesystem.join(self._root, 'http', 'tests', 'websocket', 'tests'))
100 self._web_socket_tests = self._filesystem.join(self._layout_tests, 'http', 'tests', 'websocket', 'tests')
115 error_log = self._filesystem.join(self._output_dir, log_file_name + "-err.txt")
116 output_log = self._filesystem.join(self._output_dir, log_file_name + "-out.txt")
117 self._wsout = self._filesystem.open_text_file_for_writing(output_log)
121 # FIXME: Use self._filesystem.path_to_module(self.__module__) instead of __file__
123 pywebsocket_base = self._filesystem.join(self._filesystem.dirname(self._filesystem.dirname(self._filesystem.dirname(self._filesystem.a (…)
    [all...]
http_server_base.py 51 self._filesystem = port_obj._filesystem
67 self._runtime_path = self._filesystem.join(tmpdir, "WebKit")
68 self._filesystem.maybe_make_directory(self._runtime_path)
77 if self._filesystem.exists(self._pid_file):
79 self._pid = int(self._filesystem.read_text_file(self._pid_file))
102 if self._filesystem.exists(self._pid_file):
104 actual_pid = int(self._filesystem.read_text_file(self._pid_file))
159 if self._filesystem.exists(self._pid_file):
160 self._filesystem.remove(self._pid_file
    [all...]
http_server.py 59 self._pid_file = self._filesystem.join(self._runtime_path, '%s.pid' % self._name)
98 base_conf = self._filesystem.read_text_file(base_conf_file)
102 f = self._filesystem.open_text_file_for_writing(out_conf_file)
180 if not self._filesystem.exists(tmp_module_path):
181 self._filesystem.maybe_make_directory(tmp_module_path)
183 self._filesystem.copyfile(self._filesystem.join(module_path, lib_file),
184 self._filesystem.join(tmp_module_path, lib_file))
202 self._filesystem.write_text_file(self._pid_file, str(pid))
212 if self._filesystem.exists(self._pid_file)
    [all...]
  /external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/
layout_tests_mover.py 76 self._filesystem = self._port.host.filesystem
81 return self._filesystem.join('LayoutTests', *paths)
84 normalized_parent = self._filesystem.normpath(parent)
85 normalized_child = self._filesystem.normpath(possible_child)
88 return normalized_parent == normalized_child or normalized_child.startswith(normalized_parent + self._filesystem.sep)
93 return self._filesystem.normpath(self._filesystem.join(destination, self._filesystem.relpath(path, origin)))
96 if not self._filesystem.isdir(self._absolute_origin):
100 if self._filesystem.isfile(self._absolute_destination)
    [all...]
layout_tests_mover_unittest.py 92 self._filesystem = self._port.host.filesystem
109 self.assertFalse(self._filesystem.exists(self._port._absolute_path('origin/path')))
110 self.assertTrue(self._filesystem.isfile(self._port._absolute_path('destination/test.html')))
114 self.assertFalse(self._filesystem.exists(self._port._absolute_path('origin', 'path')))
115 self.assertTrue(self._filesystem.isfile(self._port._absolute_path('existing_directory', 'test.html')))
122 self.assertFalse(self._filesystem.exists(self._port._absolute_path('origin', 'path')))
123 self.assertTrue(self._filesystem.isfile(self._port._absolute_path('test.html')))
127 self.assertTrue('src="local_script.js"' in self._filesystem.read_text_file(self._port._absolute_path('destination', 'test.html')))
131 self.assertTrue('src="local_script.js"' in self._filesystem.read_text_file(self._port._absolute_path('unmoved', 'test.html')))
135 self.assertTrue('src="../destination/remote_script.js"' in self._filesystem.read_text_file(self._port._absolute_path('unmoved', 'test.html'))
    [all...]
  /external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/common/checkout/scm/
detection.py 43 self._filesystem = filesystem
54 cwd = self._filesystem.getcwd()
57 script_directory = self._filesystem.dirname(self._filesystem.path_to_module(self.__module__))
66 absolute_path = self._filesystem.abspath(path)
72 return SVN(cwd=absolute_path, patch_directories=patch_directories, filesystem=self._filesystem, executive=self._executive)
75 return Git(cwd=absolute_path, filesystem=self._filesystem, executive=self._executive)
scm_mock.py 40 self._filesystem = filesystem or MockFileSystem()
90 return self._filesystem.join(self.checkout_root, *comps)
159 if not self._filesystem:
162 if self._filesystem.exists(path):
163 self._filesystem.remove(path)
166 if self._filesystem:
167 self._filesystem.move(self.absolute_path(origin), self.absolute_path(destination))
  /external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/common/
webkit_finder.py 35 self._filesystem = filesystem
53 module_path = self._filesystem.abspath(self._filesystem.path_to_module(self.__module__))
56 self._webkit_base = self._filesystem.normpath(module_path[0:tools_index - 1])
60 return self._filesystem.join(self.webkit_base(), *comps)
66 return self._filesystem.join("Tools", "Scripts", script_name)
90 fs = self._filesystem
100 return self._filesystem.join(self.depot_tools_base(), *comps)
  /external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/common/checkout/
checkout_mock.py 41 self._filesystem = MockFileSystem()
44 return self._filesystem.basename(path) == "ChangeLog"
baselineoptimizer.py 52 self._filesystem = host.filesystem
62 return self._filesystem.join(self.ROOT_LAYOUT_TESTS_DIRECTORY, virtual_suite.name)
74 relative_paths = [self._filesystem.relpath(path, port.webkit_base()) for path in self._baseline_search_path(port, baseline_name)]
88 return self._filesystem.join(self._scm.checkout_root, directory, baseline_name_without_virtual)
96 if self._filesystem.exists(path):
97 results_by_directory[directory] = self._filesystem.sha1(path)
114 directory = self._filesystem.relpath(self._baseline_search_path(port, baseline_name)[-1], port.webkit_base())
197 platform_dir = self.ROOT_LAYOUT_TESTS_DIRECTORY + self._filesystem.sep + 'platform' + self._filesystem.sep
199 return filename.replace(platform_dir, '').split(self._filesystem.sep)[0
    [all...]
checkout.py 45 self._filesystem = filesystem or self._scm._filesystem
  /external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/
base.py 116 self._filesystem = host.filesystem
118 self._config = port_config.Config(self._executive, self._filesystem, self.port_name)
213 return self._filesystem.join(self.layout_tests_dir(), 'platform', self.port_name)
224 return [self._filesystem.join(path, suite.name) for path in self.default_baseline_search_path()]
262 if not self._filesystem.exists(driver_path):
284 if not self._filesystem.exists(image_diff_path):
300 if not self._filesystem.exists(self._pretty_patch_path):
336 server_name = self._filesystem.basename(httpd_path)
365 tempdir = self._filesystem.mkdtemp()
367 expected_filename = self._filesystem.join(str(tempdir), "expected.png"
    [all...]
config.py 47 self._filesystem = filesystem
48 self._webkit_finder = webkit_finder.WebKitFinder(self._filesystem)
chromium.py 152 if not self._filesystem.exists(path_to_file):
212 self._chromium_base_dir_path = self._chromium_base_dir(self._filesystem)
213 return self._filesystem.join(self._chromium_base_dir_path, *comps)
232 cachedir = self._filesystem.dirname(dump_render_tree_binary_path)
233 cachedir = self._filesystem.join(cachedir, "cache")
234 if self._filesystem.exists(cachedir):
235 self._filesystem.rmtree(cachedir)
291 paths.append(self._filesystem.join(self.layout_tests_dir(), 'NeverFixTests'))
292 paths.append(self._filesystem.join(self.layout_tests_dir(), 'SlowTests'))
311 if self._filesystem.exists(asan_filter_path)
    [all...]
  /external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/controllers/
manager.py 76 self._filesystem = port.host.filesystem
250 results_path = self._filesystem.join(self._results_directory, "results.html")
329 writer = TestResultWriter(self._port._filesystem, self._port, self._port.results_directory(), test)
335 writer = TestResultWriter(self._port._filesystem, self._port, self._port.results_directory(), test)
347 if self._filesystem.isdir(self._filesystem.join(layout_tests_dir, dirname)):
348 self._filesystem.rmtree(self._filesystem.join(self._results_directory, dirname))
358 times_json_path = self._filesystem.join(self._results_directory, "times_ms.json")
359 json_results_generator.write_json(self._filesystem, times_trie, times_json_path
    [all...]
test_result_writer.py 101 self._filesystem = filesystem
108 fs = self._filesystem
124 fs = self._filesystem
131 self._filesystem.write_binary_file(path, contents)
136 self._filesystem.write_text_file(path, contents)
139 fs = self._filesystem
171 self._filesystem.copyfile(sample_file, filename)
267 self._filesystem.write_text_file(diffs_html_filename, html)
270 fs = self._filesystem
  /external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/w3c/
test_converter.py 45 self._filesystem = self._host.filesystem
46 self._webkit_root = WebKitFinder(self._filesystem).webkit_base()
58 return self._filesystem.abspath(self._filesystem.join(self._webkit_root, *comps))
64 contents = self._filesystem.read_text_file(self._css_property_file)
85 contents = self._filesystem.read_binary_file(filename)
114 resources_relpath = self._filesystem.relpath(resources_path, new_path)

Completed in 436 milliseconds

1 2 3