|
proxygen
|
#include "gmock/gmock.h"#include <stdio.h>#include <string>#include "gtest/gtest.h"Go to the source code of this file.
Classes | |
| class | MockFoo |
| class | GMockOutputTest |
Functions | |
| TEST_F (GMockOutputTest, ExpectedCall) | |
| TEST_F (GMockOutputTest, ExpectedCallToVoidFunction) | |
| TEST_F (GMockOutputTest, ExplicitActionsRunOut) | |
| TEST_F (GMockOutputTest, UnexpectedCall) | |
| TEST_F (GMockOutputTest, UnexpectedCallToVoidFunction) | |
| TEST_F (GMockOutputTest, ExcessiveCall) | |
| TEST_F (GMockOutputTest, ExcessiveCallToVoidFunction) | |
| TEST_F (GMockOutputTest, UninterestingCall) | |
| TEST_F (GMockOutputTest, UninterestingCallToVoidFunction) | |
| TEST_F (GMockOutputTest, RetiredExpectation) | |
| TEST_F (GMockOutputTest, UnsatisfiedPrerequisite) | |
| TEST_F (GMockOutputTest, UnsatisfiedPrerequisites) | |
| TEST_F (GMockOutputTest, UnsatisfiedWith) | |
| TEST_F (GMockOutputTest, UnsatisfiedExpectation) | |
| TEST_F (GMockOutputTest, MismatchArguments) | |
| TEST_F (GMockOutputTest, MismatchWith) | |
| TEST_F (GMockOutputTest, MismatchArgumentsAndWith) | |
| TEST_F (GMockOutputTest, UnexpectedCallWithDefaultAction) | |
| TEST_F (GMockOutputTest, ExcessiveCallWithDefaultAction) | |
| TEST_F (GMockOutputTest, UninterestingCallWithDefaultAction) | |
| TEST_F (GMockOutputTest, ExplicitActionsRunOutWithDefaultAction) | |
| TEST_F (GMockOutputTest, CatchesLeakedMocks) | |
| void | TestCatchesLeakedMocksInAdHocTests () |
| int | main (int argc, char **argv) |
| int main | ( | int | argc, |
| char ** | argv | ||
| ) |
Definition at line 281 of file gmock_output_test_.cc.
References GMOCK_FLAG, testing::InitGoogleMock(), RUN_ALL_TESTS(), and TestCatchesLeakedMocksInAdHocTests().
| TEST_F | ( | GMockOutputTest | , |
| ExpectedCall | |||
| ) |
Definition at line 68 of file gmock_output_test_.cc.
References testing::_, EXPECT_CALL, and GMOCK_FLAG.
| TEST_F | ( | GMockOutputTest | , |
| ExpectedCallToVoidFunction | |||
| ) |
Definition at line 77 of file gmock_output_test_.cc.
References testing::_, EXPECT_CALL, and GMOCK_FLAG.
| TEST_F | ( | GMockOutputTest | , |
| ExplicitActionsRunOut | |||
| ) |
Definition at line 86 of file gmock_output_test_.cc.
References testing::_, EXPECT_CALL, and testing::Return().
| TEST_F | ( | GMockOutputTest | , |
| UnexpectedCall | |||
| ) |
| TEST_F | ( | GMockOutputTest | , |
| UnexpectedCallToVoidFunction | |||
| ) |
| TEST_F | ( | GMockOutputTest | , |
| ExcessiveCall | |||
| ) |
| TEST_F | ( | GMockOutputTest | , |
| ExcessiveCallToVoidFunction | |||
| ) |
| TEST_F | ( | GMockOutputTest | , |
| UninterestingCall | |||
| ) |
Definition at line 122 of file gmock_output_test_.cc.
| TEST_F | ( | GMockOutputTest | , |
| UninterestingCallToVoidFunction | |||
| ) |
Definition at line 126 of file gmock_output_test_.cc.
| TEST_F | ( | GMockOutputTest | , |
| RetiredExpectation | |||
| ) |
| TEST_F | ( | GMockOutputTest | , |
| UnsatisfiedPrerequisite | |||
| ) |
Definition at line 140 of file gmock_output_test_.cc.
References testing::_, EXPECT_CALL, and s.
| TEST_F | ( | GMockOutputTest | , |
| UnsatisfiedPrerequisites | |||
| ) |
Definition at line 154 of file gmock_output_test_.cc.
References testing::_, and EXPECT_CALL.
| TEST_F | ( | GMockOutputTest | , |
| UnsatisfiedWith | |||
| ) |
Definition at line 170 of file gmock_output_test_.cc.
References testing::_, EXPECT_CALL, and testing::Ge().
| TEST_F | ( | GMockOutputTest | , |
| UnsatisfiedExpectation | |||
| ) |
Definition at line 174 of file gmock_output_test_.cc.
References testing::_, and EXPECT_CALL.
| TEST_F | ( | GMockOutputTest | , |
| MismatchArguments | |||
| ) |
Definition at line 182 of file gmock_output_test_.cc.
References testing::_, EXPECT_CALL, testing::Ge(), testing::Ref(), s, and string.
| TEST_F | ( | GMockOutputTest | , |
| MismatchWith | |||
| ) |
| TEST_F | ( | GMockOutputTest | , |
| MismatchArgumentsAndWith | |||
| ) |
| TEST_F | ( | GMockOutputTest | , |
| UnexpectedCallWithDefaultAction | |||
| ) |
Definition at line 206 of file gmock_output_test_.cc.
References testing::_, EXPECT_CALL, ON_CALL, and testing::Return().
| TEST_F | ( | GMockOutputTest | , |
| ExcessiveCallWithDefaultAction | |||
| ) |
Definition at line 218 of file gmock_output_test_.cc.
References testing::_, EXPECT_CALL, ON_CALL, and testing::Return().
| TEST_F | ( | GMockOutputTest | , |
| UninterestingCallWithDefaultAction | |||
| ) |
Definition at line 233 of file gmock_output_test_.cc.
References testing::_, ON_CALL, and testing::Return().
| TEST_F | ( | GMockOutputTest | , |
| ExplicitActionsRunOutWithDefaultAction | |||
| ) |
Definition at line 243 of file gmock_output_test_.cc.
References testing::_, EXPECT_CALL, ON_CALL, and testing::Return().
| TEST_F | ( | GMockOutputTest | , |
| CatchesLeakedMocks | |||
| ) |
Definition at line 254 of file gmock_output_test_.cc.
References testing::_, testing::AnyNumber(), EXPECT_CALL, foo1(), foo2(), ON_CALL, and testing::Return().
| void TestCatchesLeakedMocksInAdHocTests | ( | ) |
Definition at line 271 of file gmock_output_test_.cc.
References testing::_, and EXPECT_CALL.