- 3.0.1 core module.
gmock_test.cc File Reference
#include "gmock/gmock.h"
#include <string>
#include "gtest/gtest.h"
#include "gtest/internal/custom/gtest.h"

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, ParsesMultipleFlags)
 
 TEST (InitGoogleMockTest, ParsesUnrecognizedFlag)
 
 TEST (InitGoogleMockTest, ParsesGoogleMockFlagAndUnrecognizedFlag)
 
 TEST (WideInitGoogleMockTest, ParsesInvalidCommandLine)
 
 TEST (WideInitGoogleMockTest, ParsesEmptyCommandLine)
 
 TEST (WideInitGoogleMockTest, ParsesSingleFlag)
 
 TEST (WideInitGoogleMockTest, ParsesMultipleFlags)
 
 TEST (WideInitGoogleMockTest, ParsesUnrecognizedFlag)
 
 TEST (WideInitGoogleMockTest, ParsesGoogleMockFlagAndUnrecognizedFlag)
 
 TEST (FlagTest, IsAccessibleInCode)
 

Function Documentation

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   
)

References TestInitGoogleMock().

TEST ( InitGoogleMockTest  ,
ParsesMultipleFlags   
)
TEST ( InitGoogleMockTest  ,
ParsesUnrecognizedFlag   
)
TEST ( InitGoogleMockTest  ,
ParsesGoogleMockFlagAndUnrecognizedFlag   
)

References TestInitGoogleMock().

TEST ( WideInitGoogleMockTest  ,
ParsesInvalidCommandLine   
)
TEST ( WideInitGoogleMockTest  ,
ParsesEmptyCommandLine   
)
TEST ( WideInitGoogleMockTest  ,
ParsesSingleFlag   
)

References TestInitGoogleMock().

TEST ( WideInitGoogleMockTest  ,
ParsesMultipleFlags   
)
TEST ( WideInitGoogleMockTest  ,
ParsesUnrecognizedFlag   
)
TEST ( WideInitGoogleMockTest  ,
ParsesGoogleMockFlagAndUnrecognizedFlag   
)

References TestInitGoogleMock().

TEST ( FlagTest  ,
IsAccessibleInCode   
)

References GMOCK_FLAG, and verbose.