summaryrefslogtreecommitdiff
path: root/test/core/model/DomainTest.cpp
diff options
context:
space:
mode:
authorAndreas Stöckel <astoecke@techfak.uni-bielefeld.de>2015-01-25 18:57:40 +0100
committerAndreas Stöckel <astoecke@techfak.uni-bielefeld.de>2015-01-25 18:57:40 +0100
commit7352e5e6481964817643d02756186dd206c7b848 (patch)
tree98eeb7b21fd8e032f64c23d985444a822b9746ca /test/core/model/DomainTest.cpp
parent67c3618e593f88eb8177404475586735902d693f (diff)
parent93a8af2431529d145919c5898971c503d6c73e93 (diff)
Merge branch 'master' of somweyr.de:ousia
Diffstat (limited to 'test/core/model/DomainTest.cpp')
-rw-r--r--test/core/model/DomainTest.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/core/model/DomainTest.cpp b/test/core/model/DomainTest.cpp
index fc71f91..8bf1a47 100644
--- a/test/core/model/DomainTest.cpp
+++ b/test/core/model/DomainTest.cpp
@@ -151,8 +151,8 @@ TEST(Descriptor, pathToAdvanced)
Rooted<SystemTypesystem> sys{new SystemTypesystem(mgr)};
// Construct the domain
Rooted<Domain> domain{new Domain(mgr, sys, "nasty")};
- Cardinality any;
- any.merge(Range<size_t>::typeRangeFrom(0));
+ Variant::cardinalityType any;
+ any.merge(Range<size_t>::typeRange());
// Let's create the classes that we need first
Rooted<StructuredClass> A{new StructuredClass(
@@ -224,8 +224,8 @@ TEST(StructuredClass, isSubclassOf)
Manager mgr{1};
Rooted<SystemTypesystem> sys{new SystemTypesystem(mgr)};
Rooted<Domain> domain{new Domain(mgr, sys, "inheritance")};
- Cardinality any;
- any.merge(Range<size_t>::typeRangeFrom(0));
+ Variant::cardinalityType any;
+ any.merge(Range<size_t>::typeRange());
Rooted<StructuredClass> A{new StructuredClass(
mgr, "A", domain, any, {nullptr}, {nullptr}, false, true)};
// first branch