Skip to content
Snippets Groups Projects
Commit c490e9f0 authored by l13f04751's avatar l13f04751
Browse files

general Test-Class configured

parent 40e60359
No related branches found
No related tags found
No related merge requests found
......@@ -3,5 +3,6 @@
<classpathentry kind="src" path="src"/>
<classpathentry kind="src" path="test"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8"/>
<classpathentry kind="con" path="org.eclipse.jdt.junit.JUNIT_CONTAINER/4"/>
<classpathentry kind="output" path="bin"/>
</classpath>
......@@ -9,12 +9,14 @@ import static org.junit.Assert.*;
*/
public class TicTacToeTest {
private static TicTacToe ttt;
/**
* @throws java.lang.Exception
*/
@BeforeClass
public static void SetUpBeforeClass() throws Exception {
ttt = new TicTacToe(new TicTacToeApp());
}
/**
......@@ -22,7 +24,7 @@ public class TicTacToeTest {
*/
@AfterClass
public static void tearDownAfterClass() throws Exception {
ttt = null;
}
/**
......@@ -30,7 +32,7 @@ public class TicTacToeTest {
*/
@Before
public void setUp() throws Exception {
ttt.resetSpiel();
}
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment