Searched refs:SetArgPointee (Results 1 - 5 of 5) sorted by relevance
/gem5/ext/googletest/googlemock/test/ |
H A D | gmock-generated-actions_test.cc | 61 using testing::SetArgPointee; 423 Action<int(int*)> a = DoAll(SetArgPointee<0>(1), // NOLINT 432 Action<int(int*, int*)> a = DoAll(SetArgPointee<0>(1), // NOLINT 433 SetArgPointee<1>(2), 445 DoAll(SetArgPointee<0>(1), 446 SetArgPointee<1>(2), 447 SetArgPointee<2>('a'), 460 DoAll(SetArgPointee<0>(1), 461 SetArgPointee<1>(2), 462 SetArgPointee< [all...] |
H A D | gmock-actions_test.cc | 66 using testing::SetArgPointee; 783 // Tests that SetArgPointee<N>(v) sets the variable pointed to by 787 Action<MyFunction> a = SetArgPointee<1>(2); 795 a = SetArgPointee<2>('a'); 804 // Tests that SetArgPointee<N>() accepts a string literal. 808 Action<MyFunction> a = SetArgPointee<0>("hi"); 815 a = SetArgPointee<1>("world"); 824 Action<MyFunction> a = SetArgPointee<0>(L"world"); 832 Action<MyStringFunction> a2 = SetArgPointee<0>(L"world"); 841 // Tests that SetArgPointee< [all...] |
H A D | gmock_link_test.h | 47 // SetArgPointee 167 using testing::SetArgPointee; 284 // Tests the linkage of the SetArgPointee action. 289 EXPECT_CALL(mock, VoidFromString(_)).WillOnce(SetArgPointee<0>('y')); 384 .WillOnce(DoAll(SetArgPointee<0>('y'), Return()));
|
H A D | gmock-spec-builders_test.cc | 93 using testing::SetArgPointee; 2569 .WillRepeatedly(SetArgPointee<0>(a)); 2589 .WillByDefault(SetArgPointee<0>(a));
|
/gem5/ext/googletest/googlemock/include/gmock/ |
H A D | gmock-actions.h | 1109 SetArgPointee(const T& x) { function in namespace:testing 1115 // This overload allows SetArgPointee() to accept a string literal. 1121 SetArgPointee(const char* p) { function in namespace:testing 1129 SetArgPointee(const wchar_t* p) { function in namespace:testing
|
Completed in 26 milliseconds