aboutsummaryrefslogtreecommitdiffstats
path: root/document/src/test/java/com/yahoo
diff options
context:
space:
mode:
Diffstat (limited to 'document/src/test/java/com/yahoo')
-rw-r--r--document/src/test/java/com/yahoo/document/DocumentTypeManagerTestCase.java7
1 files changed, 7 insertions, 0 deletions
diff --git a/document/src/test/java/com/yahoo/document/DocumentTypeManagerTestCase.java b/document/src/test/java/com/yahoo/document/DocumentTypeManagerTestCase.java
index 6829c7e6862..aa9828f7457 100644
--- a/document/src/test/java/com/yahoo/document/DocumentTypeManagerTestCase.java
+++ b/document/src/test/java/com/yahoo/document/DocumentTypeManagerTestCase.java
@@ -664,6 +664,13 @@ search annotationsimplicitstruct {
struct = docType.getStructType("mystruct");
assertNotNull(struct);
assertNotNull(struct.getField("f0"));
+
+ assertNotNull(manager.getDataTypeInternal("mystruct@common"));
+ assertNotNull(manager.getDataTypeInternal("mystructinfoo@foo"));
+ assertNotNull(manager.getDataTypeInternal("mystructinbar@bar"));
+ assertNotNull(manager.getDataTypeInternal("mystructinfoobar@foobar"));
+ assertNotNull(manager.getDataTypeInternal("foo.header"));
+ assertNotNull(manager.getDataTypeInternal("position"));
}
// TODO test clone(). Also fieldSets not part of clone()..!