Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
V
VInf
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
lf.ps
VInf
Commits
c490e9f0
Commit
c490e9f0
authored
8 years ago
by
l13f04751
Browse files
Options
Downloads
Patches
Plain Diff
general Test-Class configured
parent
40e60359
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
Praktikum/VINF_TicTacToe/.classpath
+1
-0
1 addition, 0 deletions
Praktikum/VINF_TicTacToe/.classpath
Praktikum/VINF_TicTacToe/test/tictactoePraktikum/TicTacToeTest.java
+5
-3
5 additions, 3 deletions
...VINF_TicTacToe/test/tictactoePraktikum/TicTacToeTest.java
with
6 additions
and
3 deletions
Praktikum/VINF_TicTacToe/.classpath
+
1
−
0
View file @
c490e9f0
...
@@ -3,5 +3,6 @@
...
@@ -3,5 +3,6 @@
<classpathentry
kind=
"src"
path=
"src"
/>
<classpathentry
kind=
"src"
path=
"src"
/>
<classpathentry
kind=
"src"
path=
"test"
/>
<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.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"
/>
<classpathentry
kind=
"output"
path=
"bin"
/>
</classpath>
</classpath>
This diff is collapsed.
Click to expand it.
Praktikum/VINF_TicTacToe/test/tictactoePraktikum/TicTacToeTest.java
+
5
−
3
View file @
c490e9f0
...
@@ -9,12 +9,14 @@ import static org.junit.Assert.*;
...
@@ -9,12 +9,14 @@ import static org.junit.Assert.*;
*/
*/
public
class
TicTacToeTest
{
public
class
TicTacToeTest
{
private
static
TicTacToe
ttt
;
/**
/**
* @throws java.lang.Exception
* @throws java.lang.Exception
*/
*/
@BeforeClass
@BeforeClass
public
static
void
SetUpBeforeClass
()
throws
Exception
{
public
static
void
SetUpBeforeClass
()
throws
Exception
{
ttt
=
new
TicTacToe
(
new
TicTacToeApp
());
}
}
/**
/**
...
@@ -22,7 +24,7 @@ public class TicTacToeTest {
...
@@ -22,7 +24,7 @@ public class TicTacToeTest {
*/
*/
@AfterClass
@AfterClass
public
static
void
tearDownAfterClass
()
throws
Exception
{
public
static
void
tearDownAfterClass
()
throws
Exception
{
ttt
=
null
;
}
}
/**
/**
...
@@ -30,7 +32,7 @@ public class TicTacToeTest {
...
@@ -30,7 +32,7 @@ public class TicTacToeTest {
*/
*/
@Before
@Before
public
void
setUp
()
throws
Exception
{
public
void
setUp
()
throws
Exception
{
ttt
.
resetSpiel
();
}
}
/**
/**
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment