Searched refs:MockAnything (Results 1 - 2 of 2) sorted by relevance

/external/chromium_org/third_party/protobuf/python/
H A Dmox.py185 new_mock = MockAnything()
212 (method, function, etc) with a MockAnything. This can be overridden to
213 always use a MockAnything by setting use_mock_anything to True.
218 use_mock_anything: bool. True if a MockAnything should be used regardless
268 class MockAnything: class in inherits:
281 A new MockMethod is returned that is aware of the MockAnything's
290 A new MockMethod aware of MockAnything's state (record or replay).
303 A new MockMethod aware of MockAnything's state (record or replay).
317 return (isinstance(rhs, MockAnything) and
359 class MockObject(MockAnything, objec
[all...]
/external/protobuf/python/
H A Dmox.py185 new_mock = MockAnything()
212 (method, function, etc) with a MockAnything. This can be overridden to
213 always use a MockAnything by setting use_mock_anything to True.
218 use_mock_anything: bool. True if a MockAnything should be used regardless
268 class MockAnything: class in inherits:
281 A new MockMethod is returned that is aware of the MockAnything's
290 A new MockMethod aware of MockAnything's state (record or replay).
303 A new MockMethod aware of MockAnything's state (record or replay).
317 return (isinstance(rhs, MockAnything) and
359 class MockObject(MockAnything, objec
[all...]

Completed in 131 milliseconds