Skip to content
Snippets Groups Projects
Commit d49fa76b authored by felmer's avatar felmer
Browse files

SP-242, BIS-154: Correct section title words.

SVN: 26411
parent bed67ca6
No related branches found
No related tags found
No related merge requests found
...@@ -106,7 +106,7 @@ class ParentsPropertiesSectionBuilder ...@@ -106,7 +106,7 @@ class ParentsPropertiesSectionBuilder
} }
if (commonProperties.isEmpty() == false) if (commonProperties.isEmpty() == false)
{ {
sections.put("Common Parents Properties:", commonProperties); sections.put("Common Parent Properties:", commonProperties);
} }
} }
for (Sample sample : samples) for (Sample sample : samples)
......
...@@ -76,8 +76,7 @@ public class ParentsPropertiesSectionBuilderTest extends AssertJUnit ...@@ -76,8 +76,7 @@ public class ParentsPropertiesSectionBuilderTest extends AssertJUnit
.property("question", "6 x 7").getSample()); .property("question", "6 x 7").getSample());
Map<String, List<IEntityProperty>> sections = builder.getSections(); Map<String, List<IEntityProperty>> sections = builder.getSections();
assertEquals( assertEquals("{Common Parent Properties:=[answer: 42], " + "/S/S2 [B]:=[question: 6 x 7]}",
"{Common Parents Properties:=[answer: 42], " + "/S/S2 [B]:=[question: 6 x 7]}",
sections.toString()); sections.toString());
} }
...@@ -103,7 +102,7 @@ public class ParentsPropertiesSectionBuilderTest extends AssertJUnit ...@@ -103,7 +102,7 @@ public class ParentsPropertiesSectionBuilderTest extends AssertJUnit
builder.addParent(s3.getSample()); builder.addParent(s3.getSample());
Map<String, List<IEntityProperty>> sections = builder.getSections(); Map<String, List<IEntityProperty>> sections = builder.getSections();
assertEquals("{Common Parents Properties:=[answer: 42, question: 6 x 7], " assertEquals("{Common Parent Properties:=[answer: 42, question: 6 x 7], "
+ "/S/S1 [A]:=[property: 101], " + "/S/S2 [B]:=[property: 101], " + "/S/S1 [A]:=[property: 101], " + "/S/S2 [B]:=[property: 101], "
+ "/S/S3 [C]:=[property: 101]}", sections.toString()); + "/S/S3 [C]:=[property: 101]}", sections.toString());
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment