rjsmall90 6 jaren geleden
bovenliggende
commit
d48d238c7f
3 gewijzigde bestanden met toevoegingen van 74 en 16 verwijderingen
  1. 42
    0
      TicketMachineTest.java
  2. 16
    8
      bluej.pkg
  3. 16
    8
      package.bluej

+ 42
- 0
TicketMachineTest.java Bestand weergeven

@@ -0,0 +1,42 @@
1
+
2
+
3
+import static org.junit.Assert.*;
4
+import org.junit.After;
5
+import org.junit.Before;
6
+import org.junit.Test;
7
+
8
+/**
9
+ * The test class TicketMachineTest.
10
+ *
11
+ * @author  (your name)
12
+ * @version (a version number or a date)
13
+ */
14
+public class TicketMachineTest
15
+{
16
+    /**
17
+     * Default constructor for test class TicketMachineTest
18
+     */
19
+    public TicketMachineTest()
20
+    {
21
+    }
22
+
23
+    /**
24
+     * Sets up the test fixture.
25
+     *
26
+     * Called before every test case method.
27
+     */
28
+    @Before
29
+    public void setUp()
30
+    {
31
+    }
32
+
33
+    /**
34
+     * Tears down the test fixture.
35
+     *
36
+     * Called after every test case method.
37
+     */
38
+    @After
39
+    public void tearDown()
40
+    {
41
+    }
42
+}

+ 16
- 8
bluej.pkg Bestand weergeven

@@ -1,20 +1,20 @@
1 1
 #BlueJ package file
2 2
 editor.fx.0.height=722
3 3
 editor.fx.0.width=800
4
-editor.fx.0.x=709
5
-editor.fx.0.y=113
4
+editor.fx.0.x=480
5
+editor.fx.0.y=35
6 6
 objectbench.height=101
7 7
 objectbench.width=461
8 8
 package.divider.horizontal=0.6
9 9
 package.divider.vertical=0.8007380073800738
10 10
 package.editor.height=427
11 11
 package.editor.width=674
12
-package.editor.x=1067
12
+package.editor.x=480
13 13
 package.editor.y=119
14 14
 package.frame.height=600
15 15
 package.frame.width=800
16 16
 package.numDependencies=0
17
-package.numTargets=1
17
+package.numTargets=2
18 18
 package.showExtends=true
19 19
 package.showUses=true
20 20
 project.charset=UTF-8
@@ -24,9 +24,17 @@ readme.width=47
24 24
 readme.x=10
25 25
 readme.y=10
26 26
 target1.height=50
27
-target1.name=TicketMachine
27
+target1.name=TicketMachineTest
28 28
 target1.showInterface=false
29
-target1.type=ClassTarget
29
+target1.type=UnitTestTargetJunit4
30 30
 target1.width=120
31
-target1.x=80
32
-target1.y=50
31
+target1.x=110
32
+target1.y=20
33
+target2.association=TicketMachineTest
34
+target2.height=50
35
+target2.name=TicketMachine
36
+target2.showInterface=false
37
+target2.type=ClassTarget
38
+target2.width=120
39
+target2.x=80
40
+target2.y=50

+ 16
- 8
package.bluej Bestand weergeven

@@ -1,20 +1,20 @@
1 1
 #BlueJ package file
2 2
 editor.fx.0.height=722
3 3
 editor.fx.0.width=800
4
-editor.fx.0.x=709
5
-editor.fx.0.y=113
4
+editor.fx.0.x=480
5
+editor.fx.0.y=35
6 6
 objectbench.height=101
7 7
 objectbench.width=461
8 8
 package.divider.horizontal=0.6
9 9
 package.divider.vertical=0.8007380073800738
10 10
 package.editor.height=427
11 11
 package.editor.width=674
12
-package.editor.x=1067
12
+package.editor.x=480
13 13
 package.editor.y=119
14 14
 package.frame.height=600
15 15
 package.frame.width=800
16 16
 package.numDependencies=0
17
-package.numTargets=1
17
+package.numTargets=2
18 18
 package.showExtends=true
19 19
 package.showUses=true
20 20
 project.charset=UTF-8
@@ -24,9 +24,17 @@ readme.width=47
24 24
 readme.x=10
25 25
 readme.y=10
26 26
 target1.height=50
27
-target1.name=TicketMachine
27
+target1.name=TicketMachineTest
28 28
 target1.showInterface=false
29
-target1.type=ClassTarget
29
+target1.type=UnitTestTargetJunit4
30 30
 target1.width=120
31
-target1.x=80
32
-target1.y=50
31
+target1.x=110
32
+target1.y=20
33
+target2.association=TicketMachineTest
34
+target2.height=50
35
+target2.name=TicketMachine
36
+target2.showInterface=false
37
+target2.type=ClassTarget
38
+target2.width=120
39
+target2.x=80
40
+target2.y=50