summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAndreas Stöckel <astoecke@techfak.uni-bielefeld.de>2015-01-14 02:42:15 +0100
committerAndreas Stöckel <astoecke@techfak.uni-bielefeld.de>2015-01-14 02:42:15 +0100
commit1125fd9cbe457641e6931b2411e93d829c4cb0bb (patch)
tree662656dc123233825dcc913e1bc2baefd28ab685 /test
parent04e64790c24f3665bdc7d0720d23079551565ba2 (diff)
Silenced GCC 4.9 warnings
Diffstat (limited to 'test')
-rw-r--r--test/core/model/DomainTest.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/core/model/DomainTest.cpp b/test/core/model/DomainTest.cpp
index d22c845..61de4c4 100644
--- a/test/core/model/DomainTest.cpp
+++ b/test/core/model/DomainTest.cpp
@@ -102,14 +102,14 @@ TEST(Descriptor, pathTo)
Rooted<StructuredClass> section = getClass("section", domain);
// get the path in between.
std::vector<Rooted<Node>> path = book->pathTo(section);
- ASSERT_EQ(1, path.size());
+ ASSERT_EQ(1U, path.size());
ASSERT_TRUE(path[0]->isa(RttiTypes::FieldDescriptor));
// get the text node.
Rooted<StructuredClass> text = getClass("text", domain);
// get the path between book and text via paragraph.
path = book->pathTo(text);
- ASSERT_EQ(3, path.size());
+ ASSERT_EQ(3U, path.size());
ASSERT_TRUE(path[0]->isa(RttiTypes::FieldDescriptor));
ASSERT_TRUE(path[1]->isa(RttiTypes::StructuredClass));
ASSERT_EQ("paragraph", path[1]->getName());
@@ -120,7 +120,7 @@ TEST(Descriptor, pathTo)
// try to get the path between book and subsection.
path = book->pathTo(subsection);
// this should be impossible.
- ASSERT_EQ(0, path.size());
+ ASSERT_EQ(0U, path.size());
}
}
}