From 7df5f30494b7da283164717dea9098c8d9dca77a Mon Sep 17 00:00:00 2001 From: Andreas Stöckel Date: Sun, 11 Jan 2015 13:23:26 +0100 Subject: Renamed RttiBase to RttiType --- test/core/common/RttiTest.cpp | 8 ++++---- test/core/model/DomainTest.cpp | 2 +- test/core/model/TestDocumentBuilder.hpp | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) (limited to 'test/core') 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 Type2("Type2"); const Rtti Type3("Type3", {&Type1}); const Rtti Type4("Type4", {&Type3, &Type2}); const Rtti Type5("Type5", - std::unordered_set{}, + std::unordered_set{}, {&Type6, &Type7}); const Rtti Type6("Type6", - std::unordered_set{}, + std::unordered_set{}, {&Type1}); const Rtti Type7("Type7", {&Type6}, - std::unordered_set{}); + std::unordered_set{}); TEST(Rtti, isa) { @@ -83,7 +83,7 @@ TEST(Rtti, isa) TEST(Rtti, composedOf) { - std::vector types{&Type1, &Type2, &Type3, &Type4}; + std::vector types{&Type1, &Type2, &Type3, &Type4}; for (auto t : types) { ASSERT_FALSE(t->composedOf(Type1)); ASSERT_FALSE(t->composedOf(Type2)); diff --git a/test/core/model/DomainTest.cpp b/test/core/model/DomainTest.cpp index 9cd5bec..317223d 100644 --- a/test/core/model/DomainTest.cpp +++ b/test/core/model/DomainTest.cpp @@ -28,7 +28,7 @@ namespace ousia { namespace model { -void assert_path(const ResolutionResult &res, const RttiBase &expected_type, +void assert_path(const ResolutionResult &res, const RttiType &expected_type, std::vector expected_path) { // Check class/type diff --git a/test/core/model/TestDocumentBuilder.hpp b/test/core/model/TestDocumentBuilder.hpp index 0c6ca34..ed7a0ee 100644 --- a/test/core/model/TestDocumentBuilder.hpp +++ b/test/core/model/TestDocumentBuilder.hpp @@ -46,7 +46,7 @@ static std::string getPathString(const Path &path) static Rooted resolveDescriptor(Handle doc, Logger &logger, const Path &path, - const RttiBase &type) + const RttiType &type) { // use the actual resolve method. std::vector resolved = doc->resolve(path, type); -- cgit v1.2.3