From c23dd4b8fab8974613137da2b5901ad5b5e22d02 Mon Sep 17 00:00:00 2001 From: Nicolas-Boltz Date: Thu, 6 Jul 2023 12:41:49 +0200 Subject: [PATCH] Remove unnecessary test --- .../mdpa/dfd/tests/StandaloneMinimalTest.java | 43 ------------------- 1 file changed, 43 deletions(-) delete mode 100644 mdpa.dfd.tests/src/mdpa/dfd/tests/StandaloneMinimalTest.java diff --git a/mdpa.dfd.tests/src/mdpa/dfd/tests/StandaloneMinimalTest.java b/mdpa.dfd.tests/src/mdpa/dfd/tests/StandaloneMinimalTest.java deleted file mode 100644 index 10cf183..0000000 --- a/mdpa.dfd.tests/src/mdpa/dfd/tests/StandaloneMinimalTest.java +++ /dev/null @@ -1,43 +0,0 @@ -package mdpa.dfd.tests; - -import org.eclipse.emf.common.util.URI; -import org.eclipse.emf.ecore.resource.Resource; -import org.eclipse.emf.ecore.xmi.impl.XMIResourceFactoryImpl; -import org.junit.Test; -import org.junit.jupiter.api.BeforeAll; -import org.junit.jupiter.api.BeforeEach; - -import java.nio.file.Paths; - -public class StandaloneMinimalTest { - - private static final String PLUGIN_PATH = "mdpa.dfd.tests"; - private static final String DFD_MODEL_PATH = "resources/MinimalModel.dataflowdiagrammodel"; - - - @BeforeAll - static void setUpBeforeAll() throws Exception { - initStandalone(); - } - - @BeforeEach - void setUpBeforeEach() throws Exception { - } - - @Test - void test() { - URI uri = createPluginURI(DFD_MODEL_PATH); - Resource resource = // ?? - - private URI createPluginURI(String relativePath) { - String path = Paths.get(PLUGIN_PATH, "models", relativePath) - .toString(); - return URI.createPlatformPluginURI(path, false); - } - - private static void initStandalone() { - Resource.Factory.Registry.INSTANCE.getExtensionToFactoryMap().put("dataflowdiagrammodel", new XMIResourceFactoryImpl()); - - } - -}