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

Go to the source code of this file.

Classes

struct  Bool
 
struct  PredFunctor1
 
struct  PredFormatFunctor1
 
class  Predicate1Test
 
struct  PredFunctor2
 
struct  PredFormatFunctor2
 
class  Predicate2Test
 
struct  PredFunctor3
 
struct  PredFormatFunctor3
 
class  Predicate3Test
 
struct  PredFunctor4
 
struct  PredFormatFunctor4
 
class  Predicate4Test
 
struct  PredFunctor5
 
struct  PredFormatFunctor5
 
class  Predicate5Test
 

Typedefs

typedef Predicate1Test EXPECT_PRED_FORMAT1Test
 
typedef Predicate1Test ASSERT_PRED_FORMAT1Test
 
typedef Predicate1Test EXPECT_PRED1Test
 
typedef Predicate1Test ASSERT_PRED1Test
 
typedef Predicate2Test EXPECT_PRED_FORMAT2Test
 
typedef Predicate2Test ASSERT_PRED_FORMAT2Test
 
typedef Predicate2Test EXPECT_PRED2Test
 
typedef Predicate2Test ASSERT_PRED2Test
 
typedef Predicate3Test EXPECT_PRED_FORMAT3Test
 
typedef Predicate3Test ASSERT_PRED_FORMAT3Test
 
typedef Predicate3Test EXPECT_PRED3Test
 
typedef Predicate3Test ASSERT_PRED3Test
 
typedef Predicate4Test EXPECT_PRED_FORMAT4Test
 
typedef Predicate4Test ASSERT_PRED_FORMAT4Test
 
typedef Predicate4Test EXPECT_PRED4Test
 
typedef Predicate4Test ASSERT_PRED4Test
 
typedef Predicate5Test EXPECT_PRED_FORMAT5Test
 
typedef Predicate5Test ASSERT_PRED_FORMAT5Test
 
typedef Predicate5Test EXPECT_PRED5Test
 
typedef Predicate5Test ASSERT_PRED5Test
 

Functions

std::ostream & operator<< (std::ostream &os, const Bool &x)
 
template<typename T1 >
bool PredFunction1 (T1 v1)
 
bool PredFunction1Int (int v1)
 
bool PredFunction1Bool (Bool v1)
 
template<typename T1 >
testing::AssertionResult PredFormatFunction1 (const char *e1, const T1 &v1)
 
 TEST_F (EXPECT_PRED1Test, FunctionOnBuiltInTypeSuccess)
 
 TEST_F (EXPECT_PRED1Test, FunctionOnUserTypeSuccess)
 
 TEST_F (EXPECT_PRED1Test, FunctorOnBuiltInTypeSuccess)
 
 TEST_F (EXPECT_PRED1Test, FunctorOnUserTypeSuccess)
 
 TEST_F (EXPECT_PRED1Test, FunctionOnBuiltInTypeFailure)
 
 TEST_F (EXPECT_PRED1Test, FunctionOnUserTypeFailure)
 
 TEST_F (EXPECT_PRED1Test, FunctorOnBuiltInTypeFailure)
 
 TEST_F (EXPECT_PRED1Test, FunctorOnUserTypeFailure)
 
template<typename T1 , typename T2 >
bool PredFunction2 (T1 v1, T2 v2)
 
bool PredFunction2Int (int v1, int v2)
 
bool PredFunction2Bool (Bool v1, Bool v2)
 
template<typename T1 , typename T2 >
testing::AssertionResult PredFormatFunction2 (const char *e1, const char *e2, const T1 &v1, const T2 &v2)
 
 TEST_F (EXPECT_PRED2Test, FunctionOnBuiltInTypeSuccess)
 
 TEST_F (EXPECT_PRED2Test, FunctionOnUserTypeSuccess)
 
 TEST_F (EXPECT_PRED2Test, FunctorOnBuiltInTypeSuccess)
 
 TEST_F (EXPECT_PRED2Test, FunctorOnUserTypeSuccess)
 
 TEST_F (EXPECT_PRED2Test, FunctionOnBuiltInTypeFailure)
 
 TEST_F (EXPECT_PRED2Test, FunctionOnUserTypeFailure)
 
 TEST_F (EXPECT_PRED2Test, FunctorOnBuiltInTypeFailure)
 
 TEST_F (EXPECT_PRED2Test, FunctorOnUserTypeFailure)
 
template<typename T1 , typename T2 , typename T3 >
bool PredFunction3 (T1 v1, T2 v2, T3 v3)
 
bool PredFunction3Int (int v1, int v2, int v3)
 
bool PredFunction3Bool (Bool v1, Bool v2, Bool v3)
 
template<typename T1 , typename T2 , typename T3 >
testing::AssertionResult PredFormatFunction3 (const char *e1, const char *e2, const char *e3, const T1 &v1, const T2 &v2, const T3 &v3)
 
 TEST_F (EXPECT_PRED3Test, FunctionOnBuiltInTypeSuccess)
 
 TEST_F (EXPECT_PRED3Test, FunctionOnUserTypeSuccess)
 
 TEST_F (EXPECT_PRED3Test, FunctorOnBuiltInTypeSuccess)
 
 TEST_F (EXPECT_PRED3Test, FunctorOnUserTypeSuccess)
 
 TEST_F (EXPECT_PRED3Test, FunctionOnBuiltInTypeFailure)
 
 TEST_F (EXPECT_PRED3Test, FunctionOnUserTypeFailure)
 
 TEST_F (EXPECT_PRED3Test, FunctorOnBuiltInTypeFailure)
 
 TEST_F (EXPECT_PRED3Test, FunctorOnUserTypeFailure)
 
template<typename T1 , typename T2 , typename T3 , typename T4 >
bool PredFunction4 (T1 v1, T2 v2, T3 v3, T4 v4)
 
bool PredFunction4Int (int v1, int v2, int v3, int v4)
 
bool PredFunction4Bool (Bool v1, Bool v2, Bool v3, Bool v4)
 
template<typename T1 , typename T2 , typename T3 , typename T4 >
testing::AssertionResult PredFormatFunction4 (const char *e1, const char *e2, const char *e3, const char *e4, const T1 &v1, const T2 &v2, const T3 &v3, const T4 &v4)
 
 TEST_F (EXPECT_PRED4Test, FunctionOnBuiltInTypeSuccess)
 
 TEST_F (EXPECT_PRED4Test, FunctionOnUserTypeSuccess)
 
 TEST_F (EXPECT_PRED4Test, FunctorOnBuiltInTypeSuccess)
 
 TEST_F (EXPECT_PRED4Test, FunctorOnUserTypeSuccess)
 
 TEST_F (EXPECT_PRED4Test, FunctionOnBuiltInTypeFailure)
 
 TEST_F (EXPECT_PRED4Test, FunctionOnUserTypeFailure)
 
 TEST_F (EXPECT_PRED4Test, FunctorOnBuiltInTypeFailure)
 
 TEST_F (EXPECT_PRED4Test, FunctorOnUserTypeFailure)
 
template<typename T1 , typename T2 , typename T3 , typename T4 , typename T5 >
bool PredFunction5 (T1 v1, T2 v2, T3 v3, T4 v4, T5 v5)
 
bool PredFunction5Int (int v1, int v2, int v3, int v4, int v5)
 
bool PredFunction5Bool (Bool v1, Bool v2, Bool v3, Bool v4, Bool v5)
 
template<typename T1 , typename T2 , typename T3 , typename T4 , typename T5 >
testing::AssertionResult PredFormatFunction5 (const char *e1, const char *e2, const char *e3, const char *e4, const char *e5, const T1 &v1, const T2 &v2, const T3 &v3, const T4 &v4, const T5 &v5)
 
 TEST_F (EXPECT_PRED5Test, FunctionOnBuiltInTypeSuccess)
 
 TEST_F (EXPECT_PRED5Test, FunctionOnUserTypeSuccess)
 
 TEST_F (EXPECT_PRED5Test, FunctorOnBuiltInTypeSuccess)
 
 TEST_F (EXPECT_PRED5Test, FunctorOnUserTypeSuccess)
 
 TEST_F (EXPECT_PRED5Test, FunctionOnBuiltInTypeFailure)
 
 TEST_F (EXPECT_PRED5Test, FunctionOnUserTypeFailure)
 
 TEST_F (EXPECT_PRED5Test, FunctorOnBuiltInTypeFailure)
 
 TEST_F (EXPECT_PRED5Test, FunctorOnUserTypeFailure)
 

Typedef Documentation

Definition at line 159 of file gtest_pred_impl_unittest.cc.

Definition at line 160 of file gtest_pred_impl_unittest.cc.

Definition at line 161 of file gtest_pred_impl_unittest.cc.

Definition at line 162 of file gtest_pred_impl_unittest.cc.

Definition at line 555 of file gtest_pred_impl_unittest.cc.

Definition at line 556 of file gtest_pred_impl_unittest.cc.

Definition at line 557 of file gtest_pred_impl_unittest.cc.

Definition at line 558 of file gtest_pred_impl_unittest.cc.

Definition at line 993 of file gtest_pred_impl_unittest.cc.

Definition at line 994 of file gtest_pred_impl_unittest.cc.

Definition at line 995 of file gtest_pred_impl_unittest.cc.

Definition at line 996 of file gtest_pred_impl_unittest.cc.

Definition at line 1473 of file gtest_pred_impl_unittest.cc.

Definition at line 1474 of file gtest_pred_impl_unittest.cc.

Definition at line 1475 of file gtest_pred_impl_unittest.cc.

Definition at line 1476 of file gtest_pred_impl_unittest.cc.

Definition at line 1995 of file gtest_pred_impl_unittest.cc.

Definition at line 1996 of file gtest_pred_impl_unittest.cc.

Definition at line 1997 of file gtest_pred_impl_unittest.cc.

Definition at line 1998 of file gtest_pred_impl_unittest.cc.

Function Documentation

std::ostream& operator<< ( std::ostream &  os,
const Bool x 
)

Definition at line 69 of file gtest_pred_impl_unittest.cc.

template<typename T1 >
bool PredFunction1 ( T1  v1)

Definition at line 77 of file gtest_pred_impl_unittest.cc.

bool PredFunction1Int ( int  v1)

Definition at line 83 of file gtest_pred_impl_unittest.cc.

bool PredFunction1Bool ( Bool  v1)

Definition at line 86 of file gtest_pred_impl_unittest.cc.

template<typename T1 >
testing::AssertionResult PredFormatFunction1 ( const char *  e1,
const T1 v1 
)

Definition at line 100 of file gtest_pred_impl_unittest.cc.

TEST_F ( EXPECT_PRED1Test  ,
FunctionOnBuiltInTypeSuccess   
)

Definition at line 166 of file gtest_pred_impl_unittest.cc.

TEST_F ( EXPECT_PRED1Test  ,
FunctionOnUserTypeSuccess   
)

Definition at line 174 of file gtest_pred_impl_unittest.cc.

TEST_F ( EXPECT_PRED1Test  ,
FunctorOnBuiltInTypeSuccess   
)

Definition at line 182 of file gtest_pred_impl_unittest.cc.

TEST_F ( EXPECT_PRED1Test  ,
FunctorOnUserTypeSuccess   
)

Definition at line 190 of file gtest_pred_impl_unittest.cc.

TEST_F ( EXPECT_PRED1Test  ,
FunctionOnBuiltInTypeFailure   
)

Definition at line 198 of file gtest_pred_impl_unittest.cc.

TEST_F ( EXPECT_PRED1Test  ,
FunctionOnUserTypeFailure   
)

Definition at line 208 of file gtest_pred_impl_unittest.cc.

TEST_F ( EXPECT_PRED1Test  ,
FunctorOnBuiltInTypeFailure   
)

Definition at line 218 of file gtest_pred_impl_unittest.cc.

TEST_F ( EXPECT_PRED1Test  ,
FunctorOnUserTypeFailure   
)

Definition at line 228 of file gtest_pred_impl_unittest.cc.

template<typename T1 , typename T2 >
bool PredFunction2 ( T1  v1,
T2  v2 
)

Definition at line 463 of file gtest_pred_impl_unittest.cc.

bool PredFunction2Int ( int  v1,
int  v2 
)

Definition at line 469 of file gtest_pred_impl_unittest.cc.

bool PredFunction2Bool ( Bool  v1,
Bool  v2 
)

Definition at line 472 of file gtest_pred_impl_unittest.cc.

template<typename T1 , typename T2 >
testing::AssertionResult PredFormatFunction2 ( const char *  e1,
const char *  e2,
const T1 v1,
const T2 v2 
)

Definition at line 487 of file gtest_pred_impl_unittest.cc.

TEST_F ( EXPECT_PRED2Test  ,
FunctionOnBuiltInTypeSuccess   
)

Definition at line 562 of file gtest_pred_impl_unittest.cc.

TEST_F ( EXPECT_PRED2Test  ,
FunctionOnUserTypeSuccess   
)

Definition at line 571 of file gtest_pred_impl_unittest.cc.

TEST_F ( EXPECT_PRED2Test  ,
FunctorOnBuiltInTypeSuccess   
)

Definition at line 580 of file gtest_pred_impl_unittest.cc.

TEST_F ( EXPECT_PRED2Test  ,
FunctorOnUserTypeSuccess   
)

Definition at line 589 of file gtest_pred_impl_unittest.cc.

TEST_F ( EXPECT_PRED2Test  ,
FunctionOnBuiltInTypeFailure   
)

Definition at line 598 of file gtest_pred_impl_unittest.cc.

TEST_F ( EXPECT_PRED2Test  ,
FunctionOnUserTypeFailure   
)

Definition at line 609 of file gtest_pred_impl_unittest.cc.

TEST_F ( EXPECT_PRED2Test  ,
FunctorOnBuiltInTypeFailure   
)

Definition at line 620 of file gtest_pred_impl_unittest.cc.

TEST_F ( EXPECT_PRED2Test  ,
FunctorOnUserTypeFailure   
)

Definition at line 631 of file gtest_pred_impl_unittest.cc.

template<typename T1 , typename T2 , typename T3 >
bool PredFunction3 ( T1  v1,
T2  v2,
T3  v3 
)

Definition at line 891 of file gtest_pred_impl_unittest.cc.

bool PredFunction3Int ( int  v1,
int  v2,
int  v3 
)

Definition at line 897 of file gtest_pred_impl_unittest.cc.

bool PredFunction3Bool ( Bool  v1,
Bool  v2,
Bool  v3 
)

Definition at line 900 of file gtest_pred_impl_unittest.cc.

template<typename T1 , typename T2 , typename T3 >
testing::AssertionResult PredFormatFunction3 ( const char *  e1,
const char *  e2,
const char *  e3,
const T1 v1,
const T2 v2,
const T3 &  v3 
)

Definition at line 916 of file gtest_pred_impl_unittest.cc.

TEST_F ( EXPECT_PRED3Test  ,
FunctionOnBuiltInTypeSuccess   
)

Definition at line 1000 of file gtest_pred_impl_unittest.cc.

TEST_F ( EXPECT_PRED3Test  ,
FunctionOnUserTypeSuccess   
)

Definition at line 1010 of file gtest_pred_impl_unittest.cc.

TEST_F ( EXPECT_PRED3Test  ,
FunctorOnBuiltInTypeSuccess   
)

Definition at line 1020 of file gtest_pred_impl_unittest.cc.

TEST_F ( EXPECT_PRED3Test  ,
FunctorOnUserTypeSuccess   
)

Definition at line 1030 of file gtest_pred_impl_unittest.cc.

TEST_F ( EXPECT_PRED3Test  ,
FunctionOnBuiltInTypeFailure   
)

Definition at line 1040 of file gtest_pred_impl_unittest.cc.

TEST_F ( EXPECT_PRED3Test  ,
FunctionOnUserTypeFailure   
)

Definition at line 1052 of file gtest_pred_impl_unittest.cc.

TEST_F ( EXPECT_PRED3Test  ,
FunctorOnBuiltInTypeFailure   
)

Definition at line 1064 of file gtest_pred_impl_unittest.cc.

TEST_F ( EXPECT_PRED3Test  ,
FunctorOnUserTypeFailure   
)

Definition at line 1076 of file gtest_pred_impl_unittest.cc.

template<typename T1 , typename T2 , typename T3 , typename T4 >
bool PredFunction4 ( T1  v1,
T2  v2,
T3  v3,
T4  v4 
)

Definition at line 1361 of file gtest_pred_impl_unittest.cc.

bool PredFunction4Int ( int  v1,
int  v2,
int  v3,
int  v4 
)

Definition at line 1367 of file gtest_pred_impl_unittest.cc.

bool PredFunction4Bool ( Bool  v1,
Bool  v2,
Bool  v3,
Bool  v4 
)

Definition at line 1370 of file gtest_pred_impl_unittest.cc.

template<typename T1 , typename T2 , typename T3 , typename T4 >
testing::AssertionResult PredFormatFunction4 ( const char *  e1,
const char *  e2,
const char *  e3,
const char *  e4,
const T1 v1,
const T2 v2,
const T3 &  v3,
const T4 &  v4 
)

Definition at line 1387 of file gtest_pred_impl_unittest.cc.

TEST_F ( EXPECT_PRED4Test  ,
FunctionOnBuiltInTypeSuccess   
)

Definition at line 1480 of file gtest_pred_impl_unittest.cc.

TEST_F ( EXPECT_PRED4Test  ,
FunctionOnUserTypeSuccess   
)

Definition at line 1491 of file gtest_pred_impl_unittest.cc.

TEST_F ( EXPECT_PRED4Test  ,
FunctorOnBuiltInTypeSuccess   
)

Definition at line 1502 of file gtest_pred_impl_unittest.cc.

TEST_F ( EXPECT_PRED4Test  ,
FunctorOnUserTypeSuccess   
)

Definition at line 1513 of file gtest_pred_impl_unittest.cc.

TEST_F ( EXPECT_PRED4Test  ,
FunctionOnBuiltInTypeFailure   
)

Definition at line 1524 of file gtest_pred_impl_unittest.cc.

TEST_F ( EXPECT_PRED4Test  ,
FunctionOnUserTypeFailure   
)

Definition at line 1537 of file gtest_pred_impl_unittest.cc.

TEST_F ( EXPECT_PRED4Test  ,
FunctorOnBuiltInTypeFailure   
)

Definition at line 1550 of file gtest_pred_impl_unittest.cc.

TEST_F ( EXPECT_PRED4Test  ,
FunctorOnUserTypeFailure   
)

Definition at line 1563 of file gtest_pred_impl_unittest.cc.

template<typename T1 , typename T2 , typename T3 , typename T4 , typename T5 >
bool PredFunction5 ( T1  v1,
T2  v2,
T3  v3,
T4  v4,
T5  v5 
)

Definition at line 1873 of file gtest_pred_impl_unittest.cc.

bool PredFunction5Int ( int  v1,
int  v2,
int  v3,
int  v4,
int  v5 
)

Definition at line 1879 of file gtest_pred_impl_unittest.cc.

bool PredFunction5Bool ( Bool  v1,
Bool  v2,
Bool  v3,
Bool  v4,
Bool  v5 
)

Definition at line 1882 of file gtest_pred_impl_unittest.cc.

template<typename T1 , typename T2 , typename T3 , typename T4 , typename T5 >
testing::AssertionResult PredFormatFunction5 ( const char *  e1,
const char *  e2,
const char *  e3,
const char *  e4,
const char *  e5,
const T1 v1,
const T2 v2,
const T3 &  v3,
const T4 &  v4,
const T5 &  v5 
)

Definition at line 1900 of file gtest_pred_impl_unittest.cc.

TEST_F ( EXPECT_PRED5Test  ,
FunctionOnBuiltInTypeSuccess   
)

Definition at line 2002 of file gtest_pred_impl_unittest.cc.

TEST_F ( EXPECT_PRED5Test  ,
FunctionOnUserTypeSuccess   
)

Definition at line 2014 of file gtest_pred_impl_unittest.cc.

TEST_F ( EXPECT_PRED5Test  ,
FunctorOnBuiltInTypeSuccess   
)

Definition at line 2026 of file gtest_pred_impl_unittest.cc.

TEST_F ( EXPECT_PRED5Test  ,
FunctorOnUserTypeSuccess   
)

Definition at line 2038 of file gtest_pred_impl_unittest.cc.

TEST_F ( EXPECT_PRED5Test  ,
FunctionOnBuiltInTypeFailure   
)

Definition at line 2050 of file gtest_pred_impl_unittest.cc.

TEST_F ( EXPECT_PRED5Test  ,
FunctionOnUserTypeFailure   
)

Definition at line 2064 of file gtest_pred_impl_unittest.cc.

TEST_F ( EXPECT_PRED5Test  ,
FunctorOnBuiltInTypeFailure   
)

Definition at line 2078 of file gtest_pred_impl_unittest.cc.

TEST_F ( EXPECT_PRED5Test  ,
FunctorOnUserTypeFailure   
)

Definition at line 2092 of file gtest_pred_impl_unittest.cc.