|
@ -0,0 +1,27 @@ |
|
|
|
|
|
package Gui; |
|
|
|
|
|
|
|
|
|
|
|
import static org.junit.jupiter.api.Assertions.*; |
|
|
|
|
|
|
|
|
|
|
|
import java.awt.GridBagConstraints; |
|
|
|
|
|
import java.awt.Insets; |
|
|
|
|
|
|
|
|
|
|
|
import org.junit.jupiter.api.BeforeAll; |
|
|
|
|
|
import org.junit.jupiter.api.BeforeEach; |
|
|
|
|
|
import org.junit.jupiter.api.Test; |
|
|
|
|
|
import org.junit.jupiter.api.TestInstance; |
|
|
|
|
|
import org.junit.jupiter.api.TestInstance.Lifecycle; |
|
|
|
|
|
|
|
|
|
|
|
@TestInstance(Lifecycle.PER_CLASS) |
|
|
|
|
|
class GameGuiTest { |
|
|
|
|
|
GameGui gameGui = new GameGui(); |
|
|
|
|
|
gui Gui = new gui(); |
|
|
|
|
|
|
|
|
|
|
|
@BeforeAll |
|
|
|
|
|
void setUp(){ |
|
|
|
|
|
Gui.StartMainMenu(); |
|
|
|
|
|
gameGui.createGui(); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} |