Change artifactId in sal-rest-docgen
[netconf.git] / restconf / sal-rest-docgen / src / test / java / org / opendaylight / netconf / sal / rest / doc / impl / DefinitionGeneratorTest.java
diff --git a/restconf/sal-rest-docgen/src/test/java/org/opendaylight/netconf/sal/rest/doc/impl/DefinitionGeneratorTest.java b/restconf/sal-rest-docgen/src/test/java/org/opendaylight/netconf/sal/rest/doc/impl/DefinitionGeneratorTest.java
deleted file mode 100644 (file)
index 736b196..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
-/*
- * Copyright (c) 2014, 2015 Cisco Systems, Inc. and others.  All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v1.0 which accompanies this distribution,
- * and is available at http://www.eclipse.org/legal/epl-v10.html
- */
-package org.opendaylight.netconf.sal.rest.doc.impl;
-
-import static org.junit.Assert.assertNotNull;
-
-import com.fasterxml.jackson.databind.node.ObjectNode;
-import java.io.IOException;
-import org.junit.Test;
-import org.opendaylight.netconf.sal.rest.doc.AbstractOpenApiTest;
-import org.opendaylight.yangtools.yang.common.Revision;
-
-public final class DefinitionGeneratorTest extends AbstractOpenApiTest {
-    @Test
-    public void testConvertToJsonSchema() throws IOException {
-        final var module = CONTEXT.findModule("opflex", Revision.of("2014-05-28")).orElseThrow();
-        final DefinitionGenerator generator = new DefinitionGenerator();
-        final ObjectNode jsonObject = generator.convertToJsonSchema(module, CONTEXT, new DefinitionNames(), true);
-        assertNotNull(jsonObject);
-    }
-
-    @Test
-    public void testActionTypes() throws IOException {
-        final var module = CONTEXT.findModule("action-types").orElseThrow();
-        final DefinitionGenerator generator = new DefinitionGenerator();
-        final ObjectNode jsonObject = generator.convertToJsonSchema(module, CONTEXT, new DefinitionNames(), true);
-        assertNotNull(jsonObject);
-    }
-
-    @Test
-    public void testStringTypes() throws IOException {
-        final var module = CONTEXT.findModule("string-types").orElseThrow();
-        final DefinitionGenerator generator = new DefinitionGenerator();
-        final ObjectNode jsonObject = generator.convertToJsonSchema(module, CONTEXT, new DefinitionNames(), true);
-        assertNotNull(jsonObject);
-    }
-}