Lines Matching refs:MOCK_METHOD
143 MOCK_METHOD(void, VoidReturning, (int n)); // NOLINT
145 MOCK_METHOD(int, Nullary, ()); // NOLINT
148 MOCK_METHOD(bool, Unary, (int)); // NOLINT
149 MOCK_METHOD(long, Binary, (short, int)); // NOLINT
150 MOCK_METHOD(int, Decimal,
155 MOCK_METHOD(bool, TakesNonConstReference, (int&)); // NOLINT
156 MOCK_METHOD(std::string, TakesConstReference, (const int&));
157 MOCK_METHOD(bool, TakesConst, (const int)); // NOLINT
160 MOCK_METHOD((std::map<int, std::string>), ReturnTypeWithComma, (), ());
161 MOCK_METHOD((std::map<int, std::string>), ReturnTypeWithComma, (int),
164 MOCK_METHOD(int, OverloadedOnArgumentNumber, ()); // NOLINT
165 MOCK_METHOD(int, OverloadedOnArgumentNumber, (int)); // NOLINT
167 MOCK_METHOD(int, OverloadedOnArgumentType, (int)); // NOLINT
168 MOCK_METHOD(char, OverloadedOnArgumentType, (char)); // NOLINT
170 MOCK_METHOD(int, OverloadedOnConstness, (), (override)); // NOLINT
171 MOCK_METHOD(char, OverloadedOnConstness, (), (override, const)); // NOLINT
173 MOCK_METHOD(int, TypeWithHole, (int (*)()), ()); // NOLINT
174 MOCK_METHOD(int, TypeWithComma, ((const std::map<int, std::string>&)));
175 MOCK_METHOD(int, TypeWithTemplatedCopyCtor,
178 MOCK_METHOD(int (*)(bool), ReturnsFunctionPointer1, (int), ());
179 MOCK_METHOD(fn_ptr, ReturnsFunctionPointer2, (int), ());
182 MOCK_METHOD(int, CTNullary, (), (Calltype(STDMETHODCALLTYPE)));
183 MOCK_METHOD(bool, CTUnary, (int), (Calltype(STDMETHODCALLTYPE)));
184 MOCK_METHOD(int, CTDecimal,
188 MOCK_METHOD(char, CTConst, (int), (const, Calltype(STDMETHODCALLTYPE)));
189 MOCK_METHOD((std::map<int, std::string>), CTReturnTypeWithComma, (),
194 MOCK_METHOD(int, RefQualifiedConstRef, (), (const, ref(&), override));
195 MOCK_METHOD(int, RefQualifiedConstRefRef, (), (const, ref(&&), override));
196 MOCK_METHOD(int, RefQualifiedRef, (), (ref(&), override));
197 MOCK_METHOD(int, RefQualifiedRefRef, (), (ref(&&), override));
199 MOCK_METHOD(int, RefQualifiedOverloaded, (), (const, ref(&), override));
200 MOCK_METHOD(int, RefQualifiedOverloaded, (), (const, ref(&&), override));
201 MOCK_METHOD(int, RefQualifiedOverloaded, (), (ref(&), override));
202 MOCK_METHOD(int, RefQualifiedOverloaded, (), (ref(&&), override));
492 MOCK_METHOD(void, DoB, ());
552 MOCK_METHOD(void, Push, (const T& elem), ());
553 MOCK_METHOD(void, Pop, (), (final));
554 MOCK_METHOD(int, GetSize, (), (const, override));
555 MOCK_METHOD(const T&, GetTop, (), (const));
558 MOCK_METHOD((std::map<int, int>), ReturnTypeWithComma, (), ());
559 MOCK_METHOD((std::map<int, int>), ReturnTypeWithComma, (int), (const));
644 MOCK_METHOD(void, Push, (const T& elem),
646 MOCK_METHOD(void, Pop, (), (Calltype(STDMETHODCALLTYPE), override));
647 MOCK_METHOD(int, GetSize, (), (Calltype(STDMETHODCALLTYPE), override, const));
648 MOCK_METHOD(const T&, GetTop, (),
703 MOCK_METHOD(void, Overloaded, ()); \
704 MOCK_METHOD(int, Overloaded, (int), (const)); \
705 MOCK_METHOD(bool, Overloaded, (bool f, int n))
908 MOCK_METHOD(void, func, ());
911 MOCK_METHOD(void, func, (int));
914 MOCK_METHOD(void, func, (int, int));
917 MOCK_METHOD(void, func, (int, int, int));
920 MOCK_METHOD(void, func, (int, int, int, int));
960 MOCK_METHOD(void, foo, ()); in TEST()
972 MOCK_METHOD(void, func1, (), (noexcept));
973 MOCK_METHOD(void, func2, (), (noexcept(true)));
974 MOCK_METHOD(void, func3, (), (noexcept(false)));
975 MOCK_METHOD(void, func4, (), (noexcept(noexcept(MaybeThrows()))));
976 MOCK_METHOD(void, func5, (), (noexcept(noexcept(DoesntThrow()))));
977 MOCK_METHOD(void, func6, (), (noexcept(noexcept(DoesntThrow())), const));
978 MOCK_METHOD(void, func7, (), (const, noexcept(noexcept(DoesntThrow()))));
980 MOCK_METHOD(void, func8, (), (noexcept(noexcept(hasTwoParams(1, 2))), const));