summaryrefslogtreecommitdiff
path: root/test/core/common
diff options
context:
space:
mode:
authorAndreas Stöckel <astoecke@techfak.uni-bielefeld.de>2015-01-11 13:23:26 +0100
committerAndreas Stöckel <astoecke@techfak.uni-bielefeld.de>2015-01-11 13:23:26 +0100
commit7df5f30494b7da283164717dea9098c8d9dca77a (patch)
tree8d967f3c47fc905b08ee7039b7549253f969703f /test/core/common
parent3d6d42333a49e0a33a8cc4e1b8f890905a435a83 (diff)
Renamed RttiBase to RttiType
Diffstat (limited to 'test/core/common')
-rw-r--r--test/core/common/RttiTest.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/core/common/RttiTest.cpp b/test/core/common/RttiTest.cpp
index e5d7571..36bf48f 100644
--- a/test/core/common/RttiTest.cpp
+++ b/test/core/common/RttiTest.cpp
@@ -50,13 +50,13 @@ const Rtti<RttiTestClass2> Type2("Type2");
const Rtti<RttiTestClass3> Type3("Type3", {&Type1});
const Rtti<RttiTestClass4> Type4("Type4", {&Type3, &Type2});
const Rtti<RttiTestClass5> Type5("Type5",
- std::unordered_set<const RttiBase *>{},
+ std::unordered_set<const RttiType *>{},
{&Type6, &Type7});
const Rtti<RttiTestClass6> Type6("Type6",
- std::unordered_set<const RttiBase *>{},
+ std::unordered_set<const RttiType *>{},
{&Type1});
const Rtti<RttiTestClass7> Type7("Type7", {&Type6},
- std::unordered_set<const RttiBase *>{});
+ std::unordered_set<const RttiType *>{});
TEST(Rtti, isa)
{
@@ -83,7 +83,7 @@ TEST(Rtti, isa)
TEST(Rtti, composedOf)
{
- std::vector<const RttiBase *> types{&Type1, &Type2, &Type3, &Type4};
+ std::vector<const RttiType *> types{&Type1, &Type2, &Type3, &Type4};
for (auto t : types) {
ASSERT_FALSE(t->composedOf(Type1));
ASSERT_FALSE(t->composedOf(Type2));