Searched refs:filesystem (Results 51 - 75 of 275) sorted by relevance

1234567891011

/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/
H A Dbase_unittest.py55 add_unit_tests_to_mock_filesystem(host.filesystem)
159 port.host.filesystem.write_text_file(port.layout_tests_dir() + '/canvas/test', '')
160 port.host.filesystem.write_text_file(port.layout_tests_dir() + '/css2.1/test', '')
169 dirname = port.host.filesystem.join(port.perf_tests_dir(), dirname)
170 port.host.filesystem.maybe_make_directory(dirname)
171 port.host.filesystem.write_text_file(port.host.filesystem.join(dirname, filename), content)
286 filesystem = MockFileSystem()
287 self.assertTrue(Port.is_test_file(filesystem, '', 'foo.html'))
288 self.assertTrue(Port.is_test_file(filesystem, '', 'fo
[all...]
H A Dlinux.py57 config_object = config.Config(host.executive, host.filesystem)
59 finder = WebKitFinder(host.filesystem)
69 return cls._static_build_path(host.filesystem, build_directory, chromium_base, configuration, [driver_name])
72 def _determine_architecture(filesystem, executive, driver_path):
74 if filesystem.isfile(driver_path):
94 return port_name + '-' + cls._determine_architecture(host.filesystem, host.executive, cls._determine_driver_path_statically(host, options))
H A Dmac_unittest.py95 port.host.filesystem.maybe_make_directory('/mock-checkout/out/Release')
96 port.host.filesystem.maybe_make_directory('/mock-checkout/xcodebuild/Release')
98 port.host.filesystem.mtime = lambda f: 5 if '/out/' in f else 4
101 port.host.filesystem.mtime = lambda f: 5 if '/xcodebuild/' in f else 4
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/tool/commands/
H A Drebaseline_unittest.py55 self.tool.filesystem.write_text_file(self.tool.filesystem.join(self.lion_port.layout_tests_dir(), "VirtualTestSuites"),
64 if self.tool.filesystem.isabs(path):
66 return self.tool.filesystem.join(self.lion_port.layout_tests_dir(), path)
69 return self.tool.filesystem.read_text_file(self._expand(path))
72 self.tool.filesystem.write_text_file(self._expand(path), contents)
79 self.tool.filesystem.written_files = {}
130 self.assertMultiLineEqual(self._read(self.tool.filesystem.join(port.layout_tests_dir(), 'platform/test-mac-leopard/failures/expected/image-expected.txt')), 'original snowleopard result')
157 self.assertMultiLineEqual(self._read(self.tool.filesystem.join(port.layout_tests_dir(), 'platform/test-linux-x86_64/failures/expected/image-expected.txt')), 'original win7 result')
158 self.assertFalse(self.tool.filesystem
[all...]
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/controllers/
H A Dtest_result_writer_unittest.py43 host.filesystem.files = files or {}
47 write_test_result(host.filesystem, port, '/tmp', 'foo.html', actual_output, expected_output, failures)
48 return host.filesystem.written_files
H A Dmanager_unittest.py127 host.filesystem.maybe_make_directory(results_directory)
128 host.filesystem.write_binary_file(results_directory + '/results.html', 'This is a test results file')
138 self.assertTrue(port.host.filesystem.exists('/tmp/layout-test-results'))
139 timestamp = time.strftime("%Y-%m-%d-%H-%M-%S", time.localtime(port.host.filesystem.mtime('/tmp/layout-test-results/results.html')))
143 self.assertFalse(port.host.filesystem.exists('/tmp/layout-test-results'))
144 self.assertTrue(port.host.filesystem.exists(archived_file_name))
154 self.assertTrue(port.host.filesystem.exists('/tmp/layout-test-results'))
157 self.assertFalse(port.host.filesystem.exists('/tmp/layout-test-results'))
174 if not port.host.filesystem.exists(dir_name):
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/memfs/
H A Dmem_fs_node.h14 explicit MemFsNode(Filesystem* filesystem);
/external/chromium_org/third_party/WebKit/Source/modules/filesystem/
H A DDirectoryReader.cpp32 #include "modules/filesystem/DirectoryReader.h"
35 #include "modules/filesystem/EntriesCallback.h"
36 #include "modules/filesystem/Entry.h"
37 #include "modules/filesystem/ErrorCallback.h"
100 filesystem()->readDirectory(this, m_fullPath, new EntriesCallbackHelper(this), new ErrorCallbackHelper(this));
104 filesystem()->scheduleCallback(errorCallback, PassRefPtrWillBeRawPtr<FileError>(m_error.get()));
110 filesystem()->scheduleCallback(errorCallback, FileError::create(FileError::INVALID_STATE_ERR));
115 filesystem()->scheduleCallback(entriesCallback, m_entries);
H A DDirectoryReaderBase.h34 #include "modules/filesystem/DOMFileSystemBase.h"
42 DOMFileSystemBase* filesystem() const { return m_fileSystem.get(); } function in class:blink::DirectoryReaderBase
H A DEntryBase.h47 DOMFileSystemBase* filesystem() const { return m_fileSystem.get(); } function in class:blink::EntryBase
H A DEntrySync.idl39 readonly attribute DOMFileSystemSync filesystem;
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/layout_package/
H A Djson_results_generator.py49 def load_json(filesystem, file_path):
50 content = filesystem.read_text_file(file_path)
55 def write_json(filesystem, json_object, file_path, callback=None):
60 filesystem.write_text_file(file_path, json_string)
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/
H A Drun_webkit_tests_unittest.py219 failing_results_text = host.filesystem.read_text_file('/tmp/layout-test-results/failing_results.json')
223 full_results_text = host.filesystem.read_text_file('/tmp/layout-test-results/full_results.json')
443 host.filesystem.write_text_file('/tmp/overrides.txt', 'Bug(x) passes/image.html [ ImageOnlyFailure Pass ]\n')
468 self.assertEqual(host.filesystem.read_text_file('/tmp/layout-test-results/passes/error-stderr.txt'),
474 host.filesystem.write_text_file(filename, 'passes/text.html')
477 host.filesystem.remove(filename)
485 host.filesystem.write_text_file(filename, 'LayoutTests/passes/text.html')
492 host.filesystem.write_text_file(smoke_test_filename, 'passes/text.html\n')
529 file_list = host.filesystem.written_files.keys()
531 json_string = host.filesystem
[all...]
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/jsfs/
H A Djs_fs_node.h25 JsFsNode(Filesystem* filesystem, int32_t fd);
54 JsFs* filesystem() { return static_cast<JsFs*>(filesystem_); } function in class:nacl_io::JsFsNode
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/socket/
H A Dtcp_node.h22 explicit TcpNode(Filesystem* filesystem);
23 TcpNode(Filesystem* filesystem, PP_Resource socket);
H A Dudp_node.cc35 return filesystem()->ppapi()->GetUDPSocketInterface();
64 filesystem()->GetRunCompletion(this));
118 filesystem()->GetRunCompletion(this));
135 Packet* packet = new Packet(filesystem()->ppapi());
137 filesystem()->ppapi()->ReleaseResource(addr_);
151 UdpNode::UdpNode(Filesystem* filesystem) argument
152 : SocketNode(filesystem),
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/common/system/
H A Dprofiler_unittest.py50 self.assertFalse(host.filesystem.exists("/tmp/output"))
54 self.assertTrue(host.filesystem.exists("/tmp/output"))
H A Dworkspace_unittest.py40 filesystem = MockFileSystem({
45 workspace = Workspace(filesystem, None)
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/servers/
H A Dapache_http_unittest.py48 host.filesystem.write_text_file('/tmp/WebKit/httpd.pid', '42')
54 host.filesystem.write_text_file(test_port.path_to_apache_config_file(), '')
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/w3c/
H A Dtest_importer_unittest.py54 host.filesystem = MockFileSystem(files=FAKE_FILES)
68 host.filesystem = MockFileSystem(files=FAKE_FILES)
H A Dtest_importer.py162 self.filesystem = self.host.filesystem
163 self.webkit_finder = WebKitFinder(self.filesystem)
166 self.destination_directory = self.filesystem.normpath(self.filesystem.join(self.layout_tests_dir, options.destination,
167 self.filesystem.basename(self.top_of_repo)))
169 self.dir_above_repo = self.filesystem.dirname(self.top_of_repo)
189 # FIXME: use filesystem
208 path_full = self.filesystem.join(root, path_base)
213 self.filesystem
[all...]
/external/clang/test/Analysis/
H A Dcxx11-crashes.cpp25 namespace filesystem namespace in namespace:boost
32 namespace fs = boost::filesystem;
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/common/checkout/scm/
H A Dscm.py37 from webkitpy.common.system.filesystem import FileSystem
44 def __init__(self, cwd, executive=None, filesystem=None):
47 self._filesystem = filesystem or FileSystem()
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/common/
H A Dwebkit_finder.py34 def __init__(self, filesystem):
35 self._filesystem = filesystem
36 self._dirsep = filesystem.sep
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/formatter/
H A Dmain.py84 source = host.filesystem.read_text_file(name)
88 host.filesystem.write_text_file(name + '.bak', source)
89 host.filesystem.write_text_file(name, dest)

Completed in 306 milliseconds

1234567891011