From f853859983b7b3ddf771bbc48c6c312a73516a37 Mon Sep 17 00:00:00 2001 From: Andreas Stöckel Date: Fri, 2 Jan 2015 23:36:35 +0100 Subject: reformated comments --- test/core/model/DomainTest.cpp | 22 +++++++--------------- 1 file changed, 7 insertions(+), 15 deletions(-) (limited to 'test/core/model/DomainTest.cpp') diff --git a/test/core/model/DomainTest.cpp b/test/core/model/DomainTest.cpp index a69d805..2e7f983 100644 --- a/test/core/model/DomainTest.cpp +++ b/test/core/model/DomainTest.cpp @@ -64,34 +64,26 @@ TEST(Domain, testDomainResolving) assert_path(res, 1, typeOf(), {"book", "book"}); ASSERT_EQ(2, res.size()); - /* - * If we explicitly ask for the "book, book" path, then only the - * StructuredClass should be returned. - */ + // If we explicitly ask for the "book, book" path, then only the + // StructuredClass should be returned. res = domain->resolve(std::vector{"book", "book"}); assert_path(res, 0, typeOf(), {"book", "book"}); ASSERT_EQ(1, res.size()); - /* - * If we ask for "section" the result should be unique as well. - */ + // If we ask for "section" the result should be unique as well. res = domain->resolve(std::vector{"section"}); // TODO: Is that the path result we want? assert_path(res, 0, typeOf(), {"book", "section"}); ASSERT_EQ(1, res.size()); - /* - * If we ask for the path "book", "book", "" we reference the - * FieldDescriptor of the StructuredClass "book". - */ + // If we ask for the path "book", "book", "" we reference the + // FieldDescriptor of the StructuredClass "book". res = domain->resolve(std::vector{"book", "book", ""}); assert_path(res, 0, typeOf(), {"book", "book", ""}); ASSERT_EQ(1, res.size()); - /* - * If we ask for "paragraph" it is references two times in the Domain graph, - * but should be returned only once. - */ + // If we ask for "paragraph" it is references two times in the Domain graph, + // but should be returned only once. res = domain->resolve("paragraph"); assert_path(res, 0, typeOf(), {"book", "paragraph"}); ASSERT_EQ(1, res.size()); -- cgit v1.2.3