aboutsummaryrefslogtreecommitdiffstats
path: root/document/src/test/java/com/yahoo/document/DocumentTypeManagerTestCase.java
diff options
context:
space:
mode:
Diffstat (limited to 'document/src/test/java/com/yahoo/document/DocumentTypeManagerTestCase.java')
-rw-r--r--document/src/test/java/com/yahoo/document/DocumentTypeManagerTestCase.java4
1 files changed, 4 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 eb5249227be..0aa5aec4b85 100644
--- a/document/src/test/java/com/yahoo/document/DocumentTypeManagerTestCase.java
+++ b/document/src/test/java/com/yahoo/document/DocumentTypeManagerTestCase.java
@@ -59,6 +59,7 @@ public class DocumentTypeManagerTestCase {
assertSame(DataType.DOUBLE, doubleType);
}
+ @SuppressWarnings("deprecation")
@Test
public void testRecursiveRegister() {
StructDataType struct = new StructDataType("mystruct");
@@ -87,6 +88,7 @@ public class DocumentTypeManagerTestCase {
assertEquals(docType2, manager.getDocumentType(new DataTypeName("myotherdoc")));
}
+ @SuppressWarnings("deprecation")
@Test
public void testMultipleDocuments() {
DocumentType docType1 = new DocumentType("foo0");
@@ -120,6 +122,7 @@ public class DocumentTypeManagerTestCase {
assertEquals(manager.getDocumentTypes().get(new DataTypeName("foo1")), docType2);
}
+ @SuppressWarnings("deprecation")
@Test
public void testReverseMapOrder() {
DocumentTypeManager manager = createConfiguredManager("file:src/test/document/documentmanager.map.cfg");
@@ -501,6 +504,7 @@ search annotationsimplicitstruct {
assertReferenceTypePresentInManager(manager, 12345678, "referenced_type");
}
+ @SuppressWarnings("deprecation")
private static void assertReferenceTypePresentInManager(DocumentTypeManager manager, int refTypeId,
String refTargetTypeName) {
DataType type = manager.getDataType(refTypeId);