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 50 of file gmock_test.cc.

TEST ( InitGoogleMockTest  ,
ParsesInvalidCommandLine   
)

Definition at line 66 of file gmock_test.cc.

TEST ( InitGoogleMockTest  ,
ParsesEmptyCommandLine   
)

Definition at line 74 of file gmock_test.cc.

TEST ( InitGoogleMockTest  ,
ParsesSingleFlag   
)

Definition at line 82 of file gmock_test.cc.

TEST ( InitGoogleMockTest  ,
ParsesMultipleFlags   
)

Definition at line 90 of file gmock_test.cc.

TEST ( InitGoogleMockTest  ,
ParsesUnrecognizedFlag   
)

Definition at line 103 of file gmock_test.cc.

TEST ( InitGoogleMockTest  ,
ParsesGoogleMockFlagAndUnrecognizedFlag   
)

Definition at line 111 of file gmock_test.cc.

TEST ( WideInitGoogleMockTest  ,
ParsesInvalidCommandLine   
)

Definition at line 120 of file gmock_test.cc.

TEST ( WideInitGoogleMockTest  ,
ParsesEmptyCommandLine   
)

Definition at line 128 of file gmock_test.cc.

TEST ( WideInitGoogleMockTest  ,
ParsesSingleFlag   
)

Definition at line 136 of file gmock_test.cc.

TEST ( WideInitGoogleMockTest  ,
ParsesMultipleFlags   
)

Definition at line 144 of file gmock_test.cc.

TEST ( WideInitGoogleMockTest  ,
ParsesUnrecognizedFlag   
)

Definition at line 157 of file gmock_test.cc.

TEST ( WideInitGoogleMockTest  ,
ParsesGoogleMockFlagAndUnrecognizedFlag   
)

Definition at line 165 of file gmock_test.cc.

TEST ( FlagTest  ,
IsAccessibleInCode   
)

Definition at line 177 of file gmock_test.cc.