Home
last modified time | relevance | path

Searched refs:mock_obj (Results 1 – 9 of 9) sorted by relevance

/external/chromium-trace/catapult/third_party/mox3/mox3/tests/
Dtest_mox.py1322 mock_obj = self.mox.CreateMock(TestClass)
1323 mock_obj.ValidCall()
1324 mock_obj.ValidCallWithArgs(mox.IsA(TestClass))
1326 mock_obj.ValidCall()
1327 mock_obj.ValidCallWithArgs(TestClass("some_value"))
1332 mock_obj = self.mox.CreateMock(TestClass)
1333 mock_obj.ValidCall()
1340 mock_obj = self.mox.CreateMock(TestClass)
1341 mock_obj.ValidCall().AndReturn("yes")
1344 ret_val = mock_obj.ValidCall()
[all …]
/external/chromium-trace/catapult/telemetry/third_party/mox3/mox3/tests/
Dtest_mox.py1322 mock_obj = self.mox.CreateMock(TestClass)
1323 mock_obj.ValidCall()
1324 mock_obj.ValidCallWithArgs(mox.IsA(TestClass))
1326 mock_obj.ValidCall()
1327 mock_obj.ValidCallWithArgs(TestClass("some_value"))
1332 mock_obj = self.mox.CreateMock(TestClass)
1333 mock_obj.ValidCall()
1340 mock_obj = self.mox.CreateMock(TestClass)
1341 mock_obj.ValidCall().AndReturn("yes")
1344 ret_val = mock_obj.ValidCall()
[all …]
/external/google-breakpad/src/testing/src/
Dgmock-spec-builders.cc269 void UntypedFunctionMockerBase::RegisterOwner(const void* mock_obj) in RegisterOwner() argument
273 mock_obj_ = mock_obj; in RegisterOwner()
275 Mock::Register(mock_obj, this); in RegisterOwner()
281 void UntypedFunctionMockerBase::SetOwnerAndName(const void* mock_obj, in SetOwnerAndName() argument
287 mock_obj_ = mock_obj; in SetOwnerAndName()
295 const void* mock_obj; in MockObject() local
303 mock_obj = mock_obj_; in MockObject()
305 return mock_obj; in MockObject()
597 void SetReactionOnUninterestingCalls(const void* mock_obj, in SetReactionOnUninterestingCalls() argument
601 g_uninteresting_call_reaction[mock_obj] = reaction; in SetReactionOnUninterestingCalls()
[all …]
/external/gmock/src/
Dgmock-spec-builders.cc269 void UntypedFunctionMockerBase::RegisterOwner(const void* mock_obj) in RegisterOwner() argument
273 mock_obj_ = mock_obj; in RegisterOwner()
275 Mock::Register(mock_obj, this); in RegisterOwner()
281 void UntypedFunctionMockerBase::SetOwnerAndName(const void* mock_obj, in SetOwnerAndName() argument
287 mock_obj_ = mock_obj; in SetOwnerAndName()
295 const void* mock_obj; in MockObject() local
303 mock_obj = mock_obj_; in MockObject()
305 return mock_obj; in MockObject()
597 void SetReactionOnUninterestingCalls(const void* mock_obj, in SetReactionOnUninterestingCalls() argument
601 g_uninteresting_call_reaction[mock_obj] = reaction; in SetReactionOnUninterestingCalls()
[all …]
/external/google-breakpad/src/testing/include/gmock/
Dgmock-spec-builders.h186 void RegisterOwner(const void* mock_obj)
192 void SetOwnerAndName(const void* mock_obj, const char* name)
372 static void AllowLeak(const void* mock_obj)
378 static bool VerifyAndClearExpectations(void* mock_obj)
384 static bool VerifyAndClear(void* mock_obj)
403 static void AllowUninterestingCalls(const void* mock_obj)
408 static void WarnUninterestingCalls(const void* mock_obj)
413 static void FailUninterestingCalls(const void* mock_obj)
418 static void UnregisterCallReaction(const void* mock_obj)
424 const void* mock_obj)
[all …]
/external/gmock/include/gmock/
Dgmock-spec-builders.h190 void RegisterOwner(const void* mock_obj)
196 void SetOwnerAndName(const void* mock_obj, const char* name)
377 static void AllowLeak(const void* mock_obj)
383 static bool VerifyAndClearExpectations(void* mock_obj)
389 static bool VerifyAndClear(void* mock_obj)
411 static void AllowUninterestingCalls(const void* mock_obj)
416 static void WarnUninterestingCalls(const void* mock_obj)
421 static void FailUninterestingCalls(const void* mock_obj)
426 static void UnregisterCallReaction(const void* mock_obj)
432 const void* mock_obj)
[all …]
/external/protobuf/python/
Dmox.py192 for mock_obj in self._mock_objects:
193 mock_obj._Replay()
199 for mock_obj in self._mock_objects:
200 mock_obj._Verify()
205 for mock_obj in self._mock_objects:
206 mock_obj._Reset()
/external/chromium-trace/catapult/telemetry/third_party/mox3/mox3/
Dmox.py282 for mock_obj in self._mock_objects:
283 mock_obj._Replay()
288 for mock_obj in self._mock_objects:
289 mock_obj._Verify()
294 for mock_obj in self._mock_objects:
295 mock_obj._Reset()
/external/chromium-trace/catapult/third_party/mox3/mox3/
Dmox.py282 for mock_obj in self._mock_objects:
283 mock_obj._Replay()
288 for mock_obj in self._mock_objects:
289 mock_obj._Verify()
294 for mock_obj in self._mock_objects:
295 mock_obj._Reset()