Sacado Package Browser (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Functions
gmock_test.cc File Reference
#include "gmock/gmock.h"
#include <string>
#include "gtest/gtest.h"
#include "gtest/internal/custom/gtest.h"
Include dependency graph for gmock_test.cc:
This graph shows which files directly or indirectly include this file:

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, 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 
)

Definition at line 48 of file gmock_test.cc.

TEST ( InitGoogleMockTest  ,
ParsesInvalidCommandLine   
)

Definition at line 64 of file gmock_test.cc.

TEST ( InitGoogleMockTest  ,
ParsesEmptyCommandLine   
)

Definition at line 72 of file gmock_test.cc.

TEST ( InitGoogleMockTest  ,
ParsesSingleFlag   
)

Definition at line 80 of file gmock_test.cc.

TEST ( InitGoogleMockTest  ,
ParsesMultipleFlags   
)

Definition at line 88 of file gmock_test.cc.

TEST ( InitGoogleMockTest  ,
ParsesUnrecognizedFlag   
)

Definition at line 101 of file gmock_test.cc.

TEST ( InitGoogleMockTest  ,
ParsesGoogleMockFlagAndUnrecognizedFlag   
)

Definition at line 109 of file gmock_test.cc.

TEST ( WideInitGoogleMockTest  ,
ParsesInvalidCommandLine   
)

Definition at line 118 of file gmock_test.cc.

TEST ( WideInitGoogleMockTest  ,
ParsesEmptyCommandLine   
)

Definition at line 126 of file gmock_test.cc.

TEST ( WideInitGoogleMockTest  ,
ParsesSingleFlag   
)

Definition at line 134 of file gmock_test.cc.

TEST ( WideInitGoogleMockTest  ,
ParsesMultipleFlags   
)

Definition at line 142 of file gmock_test.cc.

TEST ( WideInitGoogleMockTest  ,
ParsesUnrecognizedFlag   
)

Definition at line 155 of file gmock_test.cc.

TEST ( WideInitGoogleMockTest  ,
ParsesGoogleMockFlagAndUnrecognizedFlag   
)

Definition at line 163 of file gmock_test.cc.

TEST ( FlagTest  ,
IsAccessibleInCode   
)

Definition at line 175 of file gmock_test.cc.