Home
last modified time | relevance | path

Searched refs:StrictMock (Results 1 – 6 of 6) sorted by relevance

/freebsd-13.1/contrib/googletest/googlemock/test/
H A Dgmock-nice-strict_test.cc58 using testing::StrictMock;
422 StrictMock<MockFoo> strict_foo;
430 StrictMock<MockFoo> strict_foo;
439 StrictMock<MockFoo> strict_foo;
448 StrictMock<MockFoo>* const strict_foo = new StrictMock<MockFoo>;
460 StrictMock<MockBar> strict_bar("hi");
470 StrictMock<MockBar> strict_bar('a', 'b', "c", "d", 'e', 'f',
479 StrictMock<MockFoo>* leaked = new StrictMock<MockFoo>;
488 StrictMock<MockBaz> strict_baz(MockBaz::MoveOnly());
503 StrictMock< ::Mock> strict;
/freebsd-13.1/contrib/googletest/googlemock/include/gmock/
H A Dgmock-generated-nice-strict.h312 class StrictMock : public MockClass {
314 StrictMock() : MockClass() { in StrictMock() function
334 StrictMock(A1&& arg1, A2&& arg2, An&&... args) in StrictMock() function
344 explicit StrictMock(const A1& a1) : MockClass(a1) { in StrictMock() function
420 ~StrictMock() { in ~StrictMock()
426 GTEST_DISALLOW_COPY_AND_ASSIGN_(StrictMock);
441 class NiceMock<StrictMock<MockClass> >;
448 class NaggyMock<StrictMock<MockClass> >;
451 class StrictMock<NiceMock<MockClass> >;
453 class StrictMock<NaggyMock<MockClass> >;
[all …]
H A Dgmock-generated-nice-strict.h.pump36 // Implements class templates NiceMock, NaggyMock, and StrictMock.
43 // StrictMock<MockFoo> is a subclass of MockFoo that treats all
53 // NiceMock, NaggyMock, and StrictMock "inherit" the constructors of
59 // and StrictMock<MockFoo> only works for mock methods defined using
81 $else [[StrictMock]]]]
154 // NaggyMock, and StrictMock cannot be nested.
161 class NiceMock<StrictMock<MockClass> >;
168 class NaggyMock<StrictMock<MockClass> >;
171 class StrictMock<NiceMock<MockClass> >;
173 class StrictMock<NaggyMock<MockClass> >;
[all …]
H A Dgmock-spec-builders.h416 friend class StrictMock; variable
/freebsd-13.1/contrib/googletest/googlemock/docs/
H A DCookBook.md278 The usage of `StrictMock` is similar, except that it makes all
282 using ::testing::StrictMock;
285 StrictMock<MockFoo> mock_foo;
297 …StrictMock<MockFoo>` only work for mock methods defined using the `MOCK_METHOD*` family of macros …
1314 In Google Mock, `NiceMock` and `StrictMock` can be used to make a mock class "nice" or "strict". Ho…
H A DCheatSheet.md34 StrictMock<MockFoo> strict_foo; // The type is a subclass of MockFoo.