Go to the source code of this file.
|
template<class TestClass > |
static void | validateInheritedClass () |
|
| TEST (ColdClassTest, publicInheritance) |
|
| TEST (ColdClassTest, protectedInheritance) |
|
| TEST (ColdClassTest, privateInheritance) |
|
TEST |
( |
ColdClassTest |
, |
|
|
publicInheritance |
|
|
) |
| |
Definition at line 43 of file ColdClassTest.cpp.
44 struct TestPublic : ColdClass {};
45 validateInheritedClass<TestPublic>();
TEST |
( |
ColdClassTest |
, |
|
|
protectedInheritance |
|
|
) |
| |
Definition at line 48 of file ColdClassTest.cpp.
50 class TestProtected :
protected ColdClass {};
51 validateInheritedClass<TestProtected>();
TEST |
( |
ColdClassTest |
, |
|
|
privateInheritance |
|
|
) |
| |
Definition at line 54 of file ColdClassTest.cpp.
56 class TestPrivate : ColdClass {};
57 validateInheritedClass<TestPrivate>();
template<class TestClass >
static void validateInheritedClass |
( |
| ) |
|
|
static |
Definition at line 25 of file ColdClassTest.cpp.
References EXPECT_TRUE, and value.
30 #if !defined(__GLIBCXX__) || __GNUC__ >= 5 static const char *const value
#define EXPECT_TRUE(condition)