Searched refs:mock_obj (Results 1 – 9 of 9) sorted by relevance
1322 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 …]
269 void UntypedFunctionMockerBase::RegisterOwner(const void* mock_obj) in RegisterOwner() argument273 mock_obj_ = mock_obj; in RegisterOwner()275 Mock::Register(mock_obj, this); in RegisterOwner()281 void UntypedFunctionMockerBase::SetOwnerAndName(const void* mock_obj, in SetOwnerAndName() argument287 mock_obj_ = mock_obj; in SetOwnerAndName()295 const void* mock_obj; in MockObject() local303 mock_obj = mock_obj_; in MockObject()305 return mock_obj; in MockObject()597 void SetReactionOnUninterestingCalls(const void* mock_obj, in SetReactionOnUninterestingCalls() argument601 g_uninteresting_call_reaction[mock_obj] = reaction; in SetReactionOnUninterestingCalls()[all …]
186 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 …]
190 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 …]
192 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()
282 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()