From 38ca80a93742688f45026c62b2af2fa92a07f997 Mon Sep 17 00:00:00 2001 From: nikow Date: Sat, 7 Jan 2023 15:31:24 +0100 Subject: [PATCH] =?UTF-8?q?FactoryTest=20hinzugef=C3=BCgt=20um=20Factory?= =?UTF-8?q?=20zu=20testen.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Roboterfabrik/src/ui/FactoryTest.java | 32 +++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 Roboterfabrik/src/ui/FactoryTest.java diff --git a/Roboterfabrik/src/ui/FactoryTest.java b/Roboterfabrik/src/ui/FactoryTest.java new file mode 100644 index 0000000..9077316 --- /dev/null +++ b/Roboterfabrik/src/ui/FactoryTest.java @@ -0,0 +1,32 @@ +package ui; + +import static org.junit.jupiter.api.Assertions.*; + +import org.junit.jupiter.api.BeforeAll; +import org.junit.jupiter.api.Test; + +import facade.Factorysystem; +import tpe.exceptions.roboter.exceptions.RobotException; + +class FactoryTest { + + private static Factorysystem fs; + private static Factory factory; + + @BeforeAll + static void initFactory() throws RobotException { + //Factorysystem fs = new Factorysystem ("Robot Fabrik"); + //Factory factory = new Factory(fs); + } + /*@Test + void smoketest() { + assertNull(fs); + assertNotNull(factory); + }*/ + + @Test + static void alleRoboterAnzeigenTest() { + + } + +}