AlexaClientSDK  3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
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:

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

◆ ASSERT_PRED1Test

◆ ASSERT_PRED2Test

◆ ASSERT_PRED3Test

◆ ASSERT_PRED4Test

◆ ASSERT_PRED5Test

◆ ASSERT_PRED_FORMAT1Test

◆ ASSERT_PRED_FORMAT2Test

◆ ASSERT_PRED_FORMAT3Test

◆ ASSERT_PRED_FORMAT4Test

◆ ASSERT_PRED_FORMAT5Test

◆ EXPECT_PRED1Test

◆ EXPECT_PRED2Test

◆ EXPECT_PRED3Test

◆ EXPECT_PRED4Test

◆ EXPECT_PRED5Test

◆ EXPECT_PRED_FORMAT1Test

◆ EXPECT_PRED_FORMAT2Test

◆ EXPECT_PRED_FORMAT3Test

◆ EXPECT_PRED_FORMAT4Test

◆ EXPECT_PRED_FORMAT5Test

Function Documentation

◆ operator<<()

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

◆ PredFormatFunction1()

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

◆ PredFormatFunction2()

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

◆ PredFormatFunction3()

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 
)

◆ PredFormatFunction4()

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 
)

◆ PredFormatFunction5()

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 
)

◆ PredFunction1()

template<typename T1 >
bool PredFunction1 ( T1  v1)

◆ PredFunction1Bool()

bool PredFunction1Bool ( Bool  v1)

◆ PredFunction1Int()

bool PredFunction1Int ( int  v1)

◆ PredFunction2()

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

◆ PredFunction2Bool()

bool PredFunction2Bool ( Bool  v1,
Bool  v2 
)

◆ PredFunction2Int()

bool PredFunction2Int ( int  v1,
int  v2 
)

◆ PredFunction3()

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

◆ PredFunction3Bool()

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

◆ PredFunction3Int()

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

◆ PredFunction4()

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

◆ PredFunction4Bool()

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

◆ PredFunction4Int()

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

◆ PredFunction5()

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

◆ PredFunction5Bool()

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

◆ PredFunction5Int()

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

◆ TEST_F() [1/40]

TEST_F ( EXPECT_PRED1Test  ,
FunctionOnBuiltInTypeSuccess   
)

◆ TEST_F() [2/40]

TEST_F ( EXPECT_PRED1Test  ,
FunctionOnUserTypeSuccess   
)

◆ TEST_F() [3/40]

TEST_F ( EXPECT_PRED1Test  ,
FunctorOnBuiltInTypeSuccess   
)

◆ TEST_F() [4/40]

TEST_F ( EXPECT_PRED1Test  ,
FunctorOnUserTypeSuccess   
)

◆ TEST_F() [5/40]

TEST_F ( EXPECT_PRED1Test  ,
FunctionOnBuiltInTypeFailure   
)

◆ TEST_F() [6/40]

TEST_F ( EXPECT_PRED1Test  ,
FunctionOnUserTypeFailure   
)

◆ TEST_F() [7/40]

TEST_F ( EXPECT_PRED1Test  ,
FunctorOnBuiltInTypeFailure   
)

◆ TEST_F() [8/40]

TEST_F ( EXPECT_PRED1Test  ,
FunctorOnUserTypeFailure   
)

◆ TEST_F() [9/40]

TEST_F ( EXPECT_PRED2Test  ,
FunctionOnBuiltInTypeSuccess   
)

◆ TEST_F() [10/40]

TEST_F ( EXPECT_PRED2Test  ,
FunctionOnUserTypeSuccess   
)

◆ TEST_F() [11/40]

TEST_F ( EXPECT_PRED2Test  ,
FunctorOnBuiltInTypeSuccess   
)

◆ TEST_F() [12/40]

TEST_F ( EXPECT_PRED2Test  ,
FunctorOnUserTypeSuccess   
)

◆ TEST_F() [13/40]

TEST_F ( EXPECT_PRED2Test  ,
FunctionOnBuiltInTypeFailure   
)

◆ TEST_F() [14/40]

TEST_F ( EXPECT_PRED2Test  ,
FunctionOnUserTypeFailure   
)

◆ TEST_F() [15/40]

TEST_F ( EXPECT_PRED2Test  ,
FunctorOnBuiltInTypeFailure   
)

◆ TEST_F() [16/40]

TEST_F ( EXPECT_PRED2Test  ,
FunctorOnUserTypeFailure   
)

◆ TEST_F() [17/40]

TEST_F ( EXPECT_PRED3Test  ,
FunctionOnBuiltInTypeSuccess   
)

◆ TEST_F() [18/40]

TEST_F ( EXPECT_PRED3Test  ,
FunctionOnUserTypeSuccess   
)

◆ TEST_F() [19/40]

TEST_F ( EXPECT_PRED3Test  ,
FunctorOnBuiltInTypeSuccess   
)

◆ TEST_F() [20/40]

TEST_F ( EXPECT_PRED3Test  ,
FunctorOnUserTypeSuccess   
)

◆ TEST_F() [21/40]

TEST_F ( EXPECT_PRED3Test  ,
FunctionOnBuiltInTypeFailure   
)

◆ TEST_F() [22/40]

TEST_F ( EXPECT_PRED3Test  ,
FunctionOnUserTypeFailure   
)

◆ TEST_F() [23/40]

TEST_F ( EXPECT_PRED3Test  ,
FunctorOnBuiltInTypeFailure   
)

◆ TEST_F() [24/40]

TEST_F ( EXPECT_PRED3Test  ,
FunctorOnUserTypeFailure   
)

◆ TEST_F() [25/40]

TEST_F ( EXPECT_PRED4Test  ,
FunctionOnBuiltInTypeSuccess   
)

◆ TEST_F() [26/40]

TEST_F ( EXPECT_PRED4Test  ,
FunctionOnUserTypeSuccess   
)

◆ TEST_F() [27/40]

TEST_F ( EXPECT_PRED4Test  ,
FunctorOnBuiltInTypeSuccess   
)

◆ TEST_F() [28/40]

TEST_F ( EXPECT_PRED4Test  ,
FunctorOnUserTypeSuccess   
)

◆ TEST_F() [29/40]

TEST_F ( EXPECT_PRED4Test  ,
FunctionOnBuiltInTypeFailure   
)

◆ TEST_F() [30/40]

TEST_F ( EXPECT_PRED4Test  ,
FunctionOnUserTypeFailure   
)

◆ TEST_F() [31/40]

TEST_F ( EXPECT_PRED4Test  ,
FunctorOnBuiltInTypeFailure   
)

◆ TEST_F() [32/40]

TEST_F ( EXPECT_PRED4Test  ,
FunctorOnUserTypeFailure   
)

◆ TEST_F() [33/40]

TEST_F ( EXPECT_PRED5Test  ,
FunctionOnBuiltInTypeSuccess   
)

◆ TEST_F() [34/40]

TEST_F ( EXPECT_PRED5Test  ,
FunctionOnUserTypeSuccess   
)

◆ TEST_F() [35/40]

TEST_F ( EXPECT_PRED5Test  ,
FunctorOnBuiltInTypeSuccess   
)

◆ TEST_F() [36/40]

TEST_F ( EXPECT_PRED5Test  ,
FunctorOnUserTypeSuccess   
)

◆ TEST_F() [37/40]

TEST_F ( EXPECT_PRED5Test  ,
FunctionOnBuiltInTypeFailure   
)

◆ TEST_F() [38/40]

TEST_F ( EXPECT_PRED5Test  ,
FunctionOnUserTypeFailure   
)

◆ TEST_F() [39/40]

TEST_F ( EXPECT_PRED5Test  ,
FunctorOnBuiltInTypeFailure   
)

◆ TEST_F() [40/40]

TEST_F ( EXPECT_PRED5Test  ,
FunctorOnUserTypeFailure   
)

AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0