Home
last modified time | relevance | path

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

/external/python/cpython3/Lib/test/
Dmock_socket.py19 class MockFile: class
91 handle = MockFile(self.lines)
Dtest_urllib2.py262 class MockFile: class
365 return MockHTTPResponse(MockFile(), {}, 200, "OK")
487 "http", req, MockFile(), self.code, name, msg)
521 return MockResponse(self.code, name, MockFile(), "", req.get_full_url())
1177 method(req, MockFile(), code, "Blah",
1205 h.http_error_302(req, MockFile(), 302, "Blah",
1247 req, MockFile(), 302, "Security Loophole",
1252 h.http_error_302(req, MockFile(), 302, "That's fine",
1265 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.py44 class MockFile(object): class