summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAndreas Stöckel <astoecke@techfak.uni-bielefeld.de>2015-01-30 03:09:37 +0100
committerAndreas Stöckel <astoecke@techfak.uni-bielefeld.de>2015-01-30 03:09:37 +0100
commitc4da68ba28e742810d05d35f0a26ef1d9b8c5b6c (patch)
treee506de597542f2a48fc025b13b4765a791339fb9 /test
parent90b2e9507e9d720452792b863b422221fe96d948 (diff)
stuff
Diffstat (limited to 'test')
-rw-r--r--test/core/model/TypesystemTest.cpp6
-rw-r--r--test/plugins/xml/XmlParserTest.cpp2
2 files changed, 4 insertions, 4 deletions
diff --git a/test/core/model/TypesystemTest.cpp b/test/core/model/TypesystemTest.cpp
index 7d05f56..9a40db7 100644
--- a/test/core/model/TypesystemTest.cpp
+++ b/test/core/model/TypesystemTest.cpp
@@ -774,7 +774,7 @@ TEST(ArrayType, rtti)
{
Manager mgr;
Rooted<StringType> stringType{new StringType(mgr, nullptr)};
- Rooted<ArrayType> arrayType{new ArrayType(mgr, stringType)};
+ Rooted<ArrayType> arrayType{new ArrayType(stringType)};
ASSERT_TRUE(arrayType->isa(RttiTypes::ArrayType));
ASSERT_TRUE(arrayType->isa(typeOf<Type>()));
ASSERT_TRUE(arrayType->isa(typeOf<Node>()));
@@ -797,7 +797,7 @@ TEST(ArrayType, creation)
{
Manager mgr;
Rooted<StringType> stringType{new StringType(mgr, nullptr)};
- Rooted<ArrayType> arrayType{new ArrayType(mgr, stringType)};
+ Rooted<ArrayType> arrayType{new ArrayType(stringType)};
Variant val = arrayType->create();
ASSERT_TRUE(val.isArray());
@@ -808,7 +808,7 @@ TEST(ArrayType, conversion)
{
Manager mgr;
Rooted<StringType> stringType{new StringType(mgr, nullptr)};
- Rooted<ArrayType> arrayType{new ArrayType(mgr, stringType)};
+ Rooted<ArrayType> arrayType{new ArrayType(stringType)};
{
Variant val{{1, "test", false, 42.5}};
diff --git a/test/plugins/xml/XmlParserTest.cpp b/test/plugins/xml/XmlParserTest.cpp
index 0802d5b..6ac962d 100644
--- a/test/plugins/xml/XmlParserTest.cpp
+++ b/test/plugins/xml/XmlParserTest.cpp
@@ -67,7 +67,7 @@ TEST(XmlParser, generic)
XmlStandaloneEnvironment env(logger);
env.parse("generic.oxm", "", "", RttiSet{&RttiTypes::Typesystem});
#ifdef MANAGER_GRAPHVIZ_EXPORT
-// env.manager.exportGraphviz("xmlDocument.dot");
+ env.manager.exportGraphviz("xmlDocument.dot");
#endif
}
}