Parcourir la source

Convert to bluej project

Nhu Nguyen il y a 6 ans
Parent
révision
f68779662e

+ 25
- 1
.gitignore Voir le fichier

@@ -152,4 +152,28 @@ fabric.properties
152 152
 
153 153
 
154 154
 #maven build target
155
-target/
155
+target/
156
+
157
+# ---> Java
158
+# Compiled class file
159
+*.class
160
+
161
+# Log file
162
+*.log
163
+
164
+# BlueJ files
165
+*.ctxt
166
+
167
+# Mobile Tools for Java (J2ME)
168
+.mtj.tmp/
169
+
170
+# Package Files #
171
+*.jar
172
+*.war
173
+*.ear
174
+*.zip
175
+*.tar.gz
176
+*.rar
177
+
178
+# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
179
+hs_err_pid*

src/main/java/io/zipcoder/microlabs/mastering_loops/NumberUtilities.java → NumberUtilities.java Voir le fichier

@@ -1,4 +1,4 @@
1
-package io.zipcoder.microlabs.mastering_loops;
1
+ 
2 2
 
3 3
 
4 4
 public class NumberUtilities {

src/test/java/io/zipcoder/microlabs/mastering_loops/NumberUtilitiesTest.java → NumberUtilitiesTest.java Voir le fichier

@@ -1,4 +1,4 @@
1
-package io.zipcoder.microlabs.mastering_loops;
1
+ 
2 2
 
3 3
 import org.junit.Assert;
4 4
 import org.junit.Test;

src/main/java/io/zipcoder/microlabs/mastering_loops/TableUtilities.java → TableUtilities.java Voir le fichier

@@ -1,4 +1,4 @@
1
-package io.zipcoder.microlabs.mastering_loops;
1
+ 
2 2
 
3 3
 public class TableUtilities {
4 4
     public static String getSmallMultiplicationTable() {

src/test/java/io/zipcoder/microlabs/mastering_loops/TableUtilitiesTest.java → TableUtilitiesTest.java Voir le fichier

@@ -1,4 +1,4 @@
1
-package io.zipcoder.microlabs.mastering_loops;
1
+ 
2 2
 
3 3
 import org.junit.Assert;
4 4
 import org.junit.Test;

src/main/java/io/zipcoder/microlabs/mastering_loops/TriangleUtilities.java → TriangleUtilities.java Voir le fichier

@@ -1,4 +1,4 @@
1
-package io.zipcoder.microlabs.mastering_loops;
1
+ 
2 2
 
3 3
 public class TriangleUtilities {
4 4
 

src/test/java/io/zipcoder/microlabs/mastering_loops/TriangleUtilitiesTest.java → TriangleUtilitiesTest.java Voir le fichier

@@ -1,4 +1,4 @@
1
-package io.zipcoder.microlabs.mastering_loops;
1
+ 
2 2
 
3 3
 
4 4
 import org.junit.Assert;

+ 79
- 0
package.bluej Voir le fichier

@@ -0,0 +1,79 @@
1
+#BlueJ package file
2
+dependency1.from=TableUtilitiesTest
3
+dependency1.to=TableUtilities
4
+dependency1.type=UsesDependency
5
+dependency2.from=NumberUtilitiesTest
6
+dependency2.to=NumberUtilities
7
+dependency2.type=UsesDependency
8
+dependency3.from=TriangleUtilitiesTest
9
+dependency3.to=TriangleUtilities
10
+dependency3.type=UsesDependency
11
+editor.fx.0.height=722
12
+editor.fx.0.width=800
13
+editor.fx.0.x=640
14
+editor.fx.0.y=23
15
+objectbench.height=164
16
+objectbench.width=595
17
+package.divider.horizontal=0.6
18
+package.divider.vertical=0.7560627674750356
19
+package.editor.height=523
20
+package.editor.width=493
21
+package.editor.x=20
22
+package.editor.y=57
23
+package.frame.height=759
24
+package.frame.width=619
25
+package.numDependencies=3
26
+package.numTargets=6
27
+package.showExtends=true
28
+package.showUses=true
29
+project.charset=UTF-8
30
+readme.height=58
31
+readme.name=@README
32
+readme.width=47
33
+readme.x=10
34
+readme.y=10
35
+target1.height=50
36
+target1.name=TableUtilitiesTest
37
+target1.showInterface=false
38
+target1.type=UnitTestTargetJunit4
39
+target1.width=110
40
+target1.x=100
41
+target1.y=270
42
+target2.height=50
43
+target2.name=TriangleUtilitiesTest
44
+target2.showInterface=false
45
+target2.type=UnitTestTargetJunit4
46
+target2.width=120
47
+target2.x=100
48
+target2.y=160
49
+target3.association=TableUtilitiesTest
50
+target3.height=50
51
+target3.name=TableUtilities
52
+target3.showInterface=false
53
+target3.type=ClassTarget
54
+target3.width=110
55
+target3.x=70
56
+target3.y=300
57
+target4.association=NumberUtilitiesTest
58
+target4.height=50
59
+target4.name=NumberUtilities
60
+target4.showInterface=false
61
+target4.type=ClassTarget
62
+target4.width=120
63
+target4.x=80
64
+target4.y=70
65
+target5.association=TriangleUtilitiesTest
66
+target5.height=50
67
+target5.name=TriangleUtilities
68
+target5.showInterface=false
69
+target5.type=ClassTarget
70
+target5.width=120
71
+target5.x=70
72
+target5.y=190
73
+target6.height=50
74
+target6.name=NumberUtilitiesTest
75
+target6.showInterface=false
76
+target6.type=UnitTestTargetJunit4
77
+target6.width=120
78
+target6.x=110
79
+target6.y=40

+ 0
- 25
pom.xml Voir le fichier

@@ -1,25 +0,0 @@
1
-<?xml version="1.0" encoding="UTF-8"?>
2
-<project xmlns="http://maven.apache.org/POM/4.0.0"
3
-         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4
-         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
5
-    <modelVersion>4.0.0</modelVersion>
6
-
7
-    <groupId>io.zipcoder</groupId>
8
-    <artifactId>MicroLabs-Loops</artifactId>
9
-    <version>1.0-SNAPSHOT</version>
10
-
11
-    <dependencies>
12
-        <!-- https://mvnrepository.com/artifact/junit/junit -->
13
-        <dependency>
14
-            <groupId>junit</groupId>
15
-            <artifactId>junit</artifactId>
16
-            <version>4.12</version>
17
-        </dependency>
18
-
19
-    </dependencies>
20
-
21
-    <properties>
22
-        <maven.compiler.source>1.8</maven.compiler.source>
23
-        <maven.compiler.target>1.8</maven.compiler.target>
24
-    </properties>
25
-</project>

+ 0
- 11
src/main/java/io/zipcoder/microlabs/mastering_loops/MainApp.java Voir le fichier

@@ -1,11 +0,0 @@
1
-package io.zipcoder.microlabs.mastering_loops;
2
-
3
-import java.util.Scanner;
4
-
5
-/**
6
- * Created by leon on 1/31/18.
7
- */
8
-public class MainApp {
9
-    public static void main(String[] args) {
10
-    }
11
-}

+ 0
- 17
src/test/java/io/zipcoder/microlabs/mastering_loops/TestSuite.java Voir le fichier

@@ -1,17 +0,0 @@
1
-package io.zipcoder.microlabs.mastering_loops;
2
-
3
-import org.junit.runner.RunWith;
4
-import org.junit.runners.Suite;
5
-
6
-/**
7
- * Created by leon on 1/31/18.
8
- */
9
-@RunWith(Suite.class)
10
-
11
-@Suite.SuiteClasses({
12
-        NumberUtilitiesTest.class,
13
-        TriangleUtilitiesTest.class,
14
-        TableUtilitiesTest.class,
15
-})
16
-public class TestSuite {
17
-}