Browse Source

port to BlueJ

Kr Younger 6 years ago
parent
commit
9f2feac742
7 changed files with 94 additions and 26 deletions
  1. 24
    6
      .gitignore
  2. 1
    1
      PhoneBook.java
  3. 42
    0
      PhoneBookTest.java
  4. 1
    0
      README.TXT
  5. 26
    0
      package.bluej
  6. 0
    12
      pom.xml
  7. 0
    7
      src/test/java/com/zipcodewilmington/phonebook/PhoneBookTest.java

+ 24
- 6
.gitignore View File

1
-/target/
1
+# ---> Java
2
+# Compiled class file
3
+*.class
4
+
5
+# Log file
6
+*.log
7
+
8
+# BlueJ files
9
+*.ctxt
10
+
11
+# Mobile Tools for Java (J2ME)
12
+.mtj.tmp/
13
+
14
+# Package Files #
15
+*.jar
16
+*.war
17
+*.ear
18
+*.zip
19
+*.tar.gz
20
+*.rar
21
+
22
+# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
23
+hs_err_pid*
24
+
2
 .DS_Store
25
 .DS_Store
3
-.classpath
4
-#.project
5
-.settings
6
-*.iml
7
-.idea

src/main/java/com/zipcodewilmington/phonebook/PhoneBook.java → PhoneBook.java View File

1
-package com.zipcodewilmington.phonebook;
1
+ 
2
 
2
 
3
 /**
3
 /**
4
  * Created by leon on 1/23/18.
4
  * Created by leon on 1/23/18.

+ 42
- 0
PhoneBookTest.java View File

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 PhoneBookTest.
10
+ *
11
+ * @author  (your name)
12
+ * @version (a version number or a date)
13
+ */
14
+public class PhoneBookTest
15
+{
16
+    /**
17
+     * Default constructor for test class PhoneBookTest
18
+     */
19
+    public PhoneBookTest()
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
+}

+ 1
- 0
README.TXT View File

1
+Look at README.md

+ 26
- 0
package.bluej View File

1
+#BlueJ package file
2
+editor.fx.0.height=0
3
+editor.fx.0.width=0
4
+editor.fx.0.x=0
5
+editor.fx.0.y=0
6
+objectbench.height=101
7
+objectbench.width=461
8
+package.divider.horizontal=0.6
9
+package.divider.vertical=0.8007380073800738
10
+package.editor.height=427
11
+package.editor.width=674
12
+package.editor.x=427
13
+package.editor.y=143
14
+package.frame.height=600
15
+package.frame.width=800
16
+package.numDependencies=0
17
+package.numTargets=1
18
+package.showExtends=true
19
+package.showUses=true
20
+project.charset=UTF-8
21
+readme.height=58
22
+readme.name=@README
23
+readme.width=47
24
+readme.x=10
25
+readme.y=10
26
+

+ 0
- 12
pom.xml View File

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>com.zipcodewilmington</groupId>
8
-    <artifactId>phonebok</artifactId>
9
-    <version>1.0-SNAPSHOT</version>
10
-
11
-
12
-</project>

+ 0
- 7
src/test/java/com/zipcodewilmington/phonebook/PhoneBookTest.java View File

1
-package com.zipcodewilmington.phonebook;
2
-
3
-/**
4
- * Created by leon on 1/23/18.
5
- */
6
-public class PhoneBookTest {
7
-}