proxygen
|
#include "gmock/gmock.h"
#include <string>
#include "gtest/gtest.h"
Go to the source code of this file.
Functions | |
template<typename Char , int M, int N> | |
void | TestInitGoogleMock (const Char *(&argv)[M], const Char *(&new_argv)[N], const ::std::string &expected_gmock_verbose) |
TEST (InitGoogleMockTest, ParsesInvalidCommandLine) | |
TEST (InitGoogleMockTest, ParsesEmptyCommandLine) | |
TEST (InitGoogleMockTest, ParsesSingleFlag) | |
TEST (InitGoogleMockTest, ParsesUnrecognizedFlag) | |
TEST (InitGoogleMockTest, ParsesGoogleMockFlagAndUnrecognizedFlag) | |
TEST (WideInitGoogleMockTest, ParsesInvalidCommandLine) | |
TEST (WideInitGoogleMockTest, ParsesEmptyCommandLine) | |
TEST (WideInitGoogleMockTest, ParsesSingleFlag) | |
TEST (WideInitGoogleMockTest, ParsesUnrecognizedFlag) | |
TEST (WideInitGoogleMockTest, ParsesGoogleMockFlagAndUnrecognizedFlag) | |
TEST (FlagTest, IsAccessibleInCode) | |
TEST | ( | InitGoogleMockTest | , |
ParsesInvalidCommandLine | |||
) |
Definition at line 65 of file gmock_test.cc.
References argv, GMOCK_FLAG, and TestInitGoogleMock().
TEST | ( | InitGoogleMockTest | , |
ParsesEmptyCommandLine | |||
) |
Definition at line 77 of file gmock_test.cc.
References argv, GMOCK_FLAG, and TestInitGoogleMock().
TEST | ( | InitGoogleMockTest | , |
ParsesSingleFlag | |||
) |
Definition at line 91 of file gmock_test.cc.
References argv, and TestInitGoogleMock().
TEST | ( | InitGoogleMockTest | , |
ParsesUnrecognizedFlag | |||
) |
Definition at line 106 of file gmock_test.cc.
References argv, GMOCK_FLAG, and TestInitGoogleMock().
TEST | ( | InitGoogleMockTest | , |
ParsesGoogleMockFlagAndUnrecognizedFlag | |||
) |
Definition at line 122 of file gmock_test.cc.
References argv, and TestInitGoogleMock().
TEST | ( | WideInitGoogleMockTest | , |
ParsesInvalidCommandLine | |||
) |
Definition at line 139 of file gmock_test.cc.
References argv, GMOCK_FLAG, and TestInitGoogleMock().
TEST | ( | WideInitGoogleMockTest | , |
ParsesEmptyCommandLine | |||
) |
Definition at line 151 of file gmock_test.cc.
References argv, GMOCK_FLAG, and TestInitGoogleMock().
TEST | ( | WideInitGoogleMockTest | , |
ParsesSingleFlag | |||
) |
Definition at line 165 of file gmock_test.cc.
References argv, and TestInitGoogleMock().
TEST | ( | WideInitGoogleMockTest | , |
ParsesUnrecognizedFlag | |||
) |
Definition at line 180 of file gmock_test.cc.
References argv, GMOCK_FLAG, and TestInitGoogleMock().
TEST | ( | WideInitGoogleMockTest | , |
ParsesGoogleMockFlagAndUnrecognizedFlag | |||
) |
Definition at line 196 of file gmock_test.cc.
References argv, and TestInitGoogleMock().
TEST | ( | FlagTest | , |
IsAccessibleInCode | |||
) |
void TestInitGoogleMock | ( | const Char *(&) | argv[M], |
const Char *(&) | new_argv[N], | ||
const ::std::string & | expected_gmock_verbose | ||
) |
Definition at line 49 of file gmock_test.cc.
References argv, ASSERT_EQ, EXPECT_EQ, EXPECT_STREQ, GMOCK_FLAG, i, testing::InitGoogleMock(), M, and string.