Home
last modified time | relevance | path

Searched refs:MockFile (Results 1 – 8 of 8) sorted by relevance

/external/webrtc/
Dpresubmit_test.py19 from presubmit_test_mocks import MockInputApi, MockOutputApi, MockFile, MockChange
87 self.input_api.files = [MockFile(self.proto_file_path)]
98 self.input_api.files = [MockFile(self.proto_file_path)]
188 self.input_api.files = [MockFile(self.file_path)]
190 [MockFile(self.file_path)],
227 self.input_api.files = [MockFile(self.file_path)]
229 [MockFile(self.file_path)],
257 self.input_api.files = [MockFile(self.file_path)]
259 [MockFile(self.file_path)],
Dpresubmit_test_mocks.py97 class MockFile(object): class
/external/python/cpython3/Lib/test/
Dmock_socket.py19 class MockFile: class
91 handle = MockFile(self.lines)
Dtest_xml_etree_c.py128 class MockFile: class
131 self.assertRaises(ValueError, parser._parse_whole, MockFile())
Dtest_urllib2.py264 class MockFile: class
367 return MockHTTPResponse(MockFile(), {}, 200, "OK")
489 "http", req, MockFile(), self.code, name, msg)
523 return MockResponse(self.code, name, MockFile(), "", req.get_full_url())
1174 method(req, MockFile(), code, "Blah",
1202 h.http_error_302(req, MockFile(), 302, "Blah",
1244 req, MockFile(), 302, "Security Loophole",
1249 h.http_error_302(req, MockFile(), 302, "That's fine",
1262 h.http_error_302(req, MockFile(), 302, "That's fine",
/external/bsdiff/
Dextents_file_unittest.cc24 class MockFile : public FileInterface { class
48 mock_file_ = new StrictMock<MockFile>(); in SetUp()
56 StrictMock<MockFile>* mock_file_;
/external/python/cpython2/Lib/test/
Dtest_urllib2.py248 class MockFile: class
325 return MockHTTPResponse(MockFile(), {}, 200, "OK")
431 "http", req, MockFile(), self.code, name, msg)
938 method(req, MockFile(), code, "Blah",
965 h.http_error_302(req, MockFile(), 302, "Blah",
1007 req, MockFile(), 302, "Security Loophole",
1012 h.http_error_302(req, MockFile(), 302, "That's fine",
/external/chromium-trace/catapult/devil/devil/android/
Dfastboot_utils_test.py46 class MockFile(object): class