Lines Matching refs:NiceMock
436 ### NiceMock {#NiceMock}
438 `::testing::NiceMock<T>`
442 template parameter `T` is any mock class, except for another `NiceMock`,
445 Usage of `NiceMock<T>` is analogous to usage of `T`. `NiceMock<T>` is a subclass
447 addition, `NiceMock<T>` can be constructed with any arguments that a constructor
454 using ::testing::NiceMock;
456 NiceMock<MockClass> my_mock("some", "args");
461 `NiceMock<T>` only works for mock methods defined using the `MOCK_METHOD` macro
465 `NiceMock<T>` might not work correctly if the destructor of `T` is not virtual.
473 template parameter `T` is any mock class, except for another `NiceMock`,
500 template parameter `T` is any mock class, except for another `NiceMock`,