summaryrefslogtreecommitdiffstats
path: root/config-model/src/test/java/com/yahoo/searchdefinition/derived/StructInheritanceTestCase.java
diff options
context:
space:
mode:
Diffstat (limited to 'config-model/src/test/java/com/yahoo/searchdefinition/derived/StructInheritanceTestCase.java')
-rw-r--r--config-model/src/test/java/com/yahoo/searchdefinition/derived/StructInheritanceTestCase.java18
1 files changed, 4 insertions, 14 deletions
diff --git a/config-model/src/test/java/com/yahoo/searchdefinition/derived/StructInheritanceTestCase.java b/config-model/src/test/java/com/yahoo/searchdefinition/derived/StructInheritanceTestCase.java
index 19bd8305fa5..b2c2a54ce5e 100644
--- a/config-model/src/test/java/com/yahoo/searchdefinition/derived/StructInheritanceTestCase.java
+++ b/config-model/src/test/java/com/yahoo/searchdefinition/derived/StructInheritanceTestCase.java
@@ -1,29 +1,18 @@
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.searchdefinition.derived;
-import com.yahoo.document.DataType;
-import com.yahoo.document.config.DocumentmanagerConfig;
-import com.yahoo.searchdefinition.Index;
-import com.yahoo.searchdefinition.Schema;
+
import com.yahoo.searchdefinition.SchemaBuilder;
-import com.yahoo.searchdefinition.document.SDDocumentType;
-import com.yahoo.searchdefinition.document.SDField;
+
import com.yahoo.searchdefinition.parser.ParseException;
-import com.yahoo.vespa.configmodel.producers.DocumentManager;
import org.junit.Rule;
import org.junit.Test;
import org.junit.rules.ExpectedException;
-import java.io.File;
import java.io.IOException;
-import java.util.Arrays;
-import java.util.List;
-import org.junit.rules.TemporaryFolder;
-import static org.junit.Assert.assertEquals;
-import static org.junit.Assert.assertNotNull;
-import static org.junit.Assert.assertNull;
+import org.junit.rules.TemporaryFolder;
/**
* Tests struct inheritance
@@ -35,6 +24,7 @@ public class StructInheritanceTestCase extends AbstractExportingTestCase {
@Rule
public TemporaryFolder tmpDir = new TemporaryFolder();
+ @SuppressWarnings("deprecation")
@Rule
public final ExpectedException exceptionRule = ExpectedException.none();