summaryrefslogtreecommitdiff
path: root/test/core/model
diff options
context:
space:
mode:
authorAndreas Stöckel <astoecke@techfak.uni-bielefeld.de>2015-04-10 14:31:46 +0200
committerAndreas Stöckel <astoecke@techfak.uni-bielefeld.de>2016-04-25 22:24:13 +0200
commit579b0e14d3bc1345512cac00a83159569cfcfa00 (patch)
tree6254767a8913487821dc3f893119d5f29cfd55c2 /test/core/model
parente56144c7eca8b56045c769f17e157db86f47b1b1 (diff)
Use "emph" instead of "emphasized" for the demo html output, adapt unit tests accordingly
Diffstat (limited to 'test/core/model')
-rw-r--r--test/core/model/TestAdvanced.hpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/test/core/model/TestAdvanced.hpp b/test/core/model/TestAdvanced.hpp
index 58eb965..a4e527a 100644
--- a/test/core/model/TestAdvanced.hpp
+++ b/test/core/model/TestAdvanced.hpp
@@ -115,7 +115,7 @@ static Rooted<Ontology> constructEmphasisOntology(Manager &mgr,
Rooted<Ontology> ontology{new Ontology(mgr, sys, "emphasis")};
// create AnnotationClasses
Rooted<AnnotationClass> em{
- new AnnotationClass(mgr, "emphasized", ontology)};
+ new AnnotationClass(mgr, "emph", ontology)};
Rooted<AnnotationClass> strong{
new AnnotationClass(mgr, "strong", ontology)};
@@ -206,7 +206,7 @@ static Rooted<Document> constructAdvancedDocument(Manager &mgr, Logger &logger,
return {nullptr};
}
if (!addAnnotation(logger, doc, heading, "Was ist Aufklärung?",
- "emphasized")) {
+ "emph")) {
return {nullptr};
}
}
@@ -238,7 +238,7 @@ static Rooted<Document> constructAdvancedDocument(Manager &mgr, Logger &logger,
"strong")) {
return {nullptr};
}
- if (!addAnnotation(logger, doc, p, "Unmündigkeit", "emphasized")) {
+ if (!addAnnotation(logger, doc, p, "Unmündigkeit", "emph")) {
return {nullptr};
}
if (!addText(logger, doc, p,
@@ -247,7 +247,7 @@ static Rooted<Document> constructAdvancedDocument(Manager &mgr, Logger &logger,
return {nullptr};
}
if (!addAnnotation(logger, doc, p, "Selbstverschuldet",
- "emphasized")) {
+ "emph")) {
return {nullptr};
}
if (!addText(logger, doc, p,
@@ -260,7 +260,7 @@ static Rooted<Document> constructAdvancedDocument(Manager &mgr, Logger &logger,
if (!addAnnotation(logger, doc, p,
"Sapere aude! Habe Mut, dich deines eigenen "
"Verstandes zu bedienen!",
- "emphasized")) {
+ "emph")) {
return {nullptr};
}
if (!addText(logger, doc, p,
@@ -316,4 +316,4 @@ static Rooted<Document> constructAdvancedDocument(Manager &mgr, Logger &logger,
}
}
-#endif /* _TEST_DOCUMENT_HPP_ */ \ No newline at end of file
+#endif /* _TEST_DOCUMENT_HPP_ */