瀏覽代碼

new test file

Tommy Rogers 6 年之前
父節點
當前提交
b8071dde7f
共有 8 個文件被更改,包括 198 次插入0 次删除
  1. 7
    0
      .idea/misc.xml
  2. 8
    0
      .idea/modules.xml
  3. 76
    0
      .idea/workspace.xml
  4. 65
    0
      pom.xml
  5. 13
    0
      src/main/java/ZCW-LambasLabNEW/App.java
  6. 20
    0
      src/test/java/ZCW-LambasLabNEW/AppTest.java
  7. 0
    0
      test
  8. 9
    0
      zipcodewilmington.iml

+ 7
- 0
.idea/misc.xml 查看文件

@@ -0,0 +1,7 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<project version="4">
3
+  <component name="ExternalStorageConfigurationManager" enabled="true" />
4
+  <component name="ProjectRootManager" version="2" languageLevel="JDK_1_8" project-jdk-name="1.8" project-jdk-type="JavaSDK">
5
+    <output url="file://$PROJECT_DIR$/out" />
6
+  </component>
7
+</project>

+ 8
- 0
.idea/modules.xml 查看文件

@@ -0,0 +1,8 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<project version="4">
3
+  <component name="ProjectModuleManager">
4
+    <modules>
5
+      <module fileurl="file://$PROJECT_DIR$/zipcodewilmington.iml" filepath="$PROJECT_DIR$/zipcodewilmington.iml" />
6
+    </modules>
7
+  </component>
8
+</project>

+ 76
- 0
.idea/workspace.xml 查看文件

@@ -0,0 +1,76 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<project version="4">
3
+  <component name="NodePackageJsonFileManager">
4
+    <packageJsonPaths />
5
+  </component>
6
+  <component name="ProjectFrameBounds">
7
+    <option name="y" value="23" />
8
+    <option name="width" value="1280" />
9
+    <option name="height" value="726" />
10
+  </component>
11
+  <component name="PropertiesComponent">
12
+    <property name="WebServerToolWindowFactoryState" value="false" />
13
+    <property name="aspect.path.notification.shown" value="true" />
14
+    <property name="nodejs_interpreter_path.stuck_in_default_project" value="undefined stuck path" />
15
+    <property name="nodejs_npm_path_reset_for_default_project" value="true" />
16
+  </component>
17
+  <component name="RunManager">
18
+    <configuration default="true" type="Application" factoryName="Application">
19
+      <option name="WORKING_DIRECTORY" value="$PROJECT_DIR$" />
20
+    </configuration>
21
+    <configuration default="true" type="JUnit" factoryName="JUnit">
22
+      <option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
23
+      <option name="ALTERNATIVE_JRE_PATH" />
24
+      <option name="PACKAGE_NAME" />
25
+      <option name="MAIN_CLASS_NAME" />
26
+      <option name="METHOD_NAME" />
27
+      <option name="TEST_OBJECT" value="class" />
28
+      <option name="VM_PARAMETERS" value="-ea" />
29
+      <option name="PARAMETERS" />
30
+      <option name="WORKING_DIRECTORY" value="%MODULE_WORKING_DIR%" />
31
+      <option name="PASS_PARENT_ENVS" value="true" />
32
+      <option name="TEST_SEARCH_SCOPE">
33
+        <value defaultName="singleModule" />
34
+      </option>
35
+      <patterns />
36
+    </configuration>
37
+    <configuration default="true" type="TestNG" factoryName="TestNG">
38
+      <option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
39
+      <option name="ALTERNATIVE_JRE_PATH" />
40
+      <option name="SUITE_NAME" />
41
+      <option name="PACKAGE_NAME" />
42
+      <option name="MAIN_CLASS_NAME" />
43
+      <option name="METHOD_NAME" />
44
+      <option name="GROUP_NAME" />
45
+      <option name="TEST_OBJECT" value="CLASS" />
46
+      <option name="VM_PARAMETERS" value="-ea" />
47
+      <option name="PARAMETERS" />
48
+      <option name="WORKING_DIRECTORY" value="%MODULE_WORKING_DIR%" />
49
+      <option name="OUTPUT_DIRECTORY" />
50
+      <option name="PASS_PARENT_ENVS" value="true" />
51
+      <option name="TEST_SEARCH_SCOPE">
52
+        <value defaultName="singleModule" />
53
+      </option>
54
+      <option name="USE_DEFAULT_REPORTERS" value="false" />
55
+      <option name="PROPERTIES_FILE" />
56
+      <properties />
57
+      <listeners />
58
+    </configuration>
59
+  </component>
60
+  <component name="masterDetails">
61
+    <states>
62
+      <state key="ProjectJDKs.UI">
63
+        <settings>
64
+          <last-edited>1.8</last-edited>
65
+          <splitter-proportions>
66
+            <option name="proportions">
67
+              <list>
68
+                <option value="0.2" />
69
+              </list>
70
+            </option>
71
+          </splitter-proportions>
72
+        </settings>
73
+      </state>
74
+    </states>
75
+  </component>
76
+</project>

+ 65
- 0
pom.xml 查看文件

@@ -0,0 +1,65 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+
3
+<project xmlns="http://maven.apache.org/POM/4.0.0" 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>ZCW-LambasLabNEW</groupId>
8
+  <artifactId>zipcodewilmington</artifactId>
9
+  <version>1.0-SNAPSHOT</version>
10
+
11
+  <name>zipcodewilmington</name>
12
+  <!-- FIXME change it to the project's website -->
13
+  <url>http://www.example.com</url>
14
+
15
+  <properties>
16
+    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
17
+    <maven.compiler.source>1.7</maven.compiler.source>
18
+    <maven.compiler.target>1.7</maven.compiler.target>
19
+  </properties>
20
+
21
+  <dependencies>
22
+    <dependency>
23
+      <groupId>junit</groupId>
24
+      <artifactId>junit</artifactId>
25
+      <version>4.11</version>
26
+      <scope>test</scope>
27
+    </dependency>
28
+  </dependencies>
29
+
30
+  <build>
31
+    <pluginManagement><!-- lock down plugins versions to avoid using Maven defaults (may be moved to parent pom) -->
32
+      <plugins>
33
+        <plugin>
34
+          <artifactId>maven-clean-plugin</artifactId>
35
+          <version>3.0.0</version>
36
+        </plugin>
37
+        <!-- see http://maven.apache.org/ref/current/maven-core/default-bindings.html#Plugin_bindings_for_jar_packaging -->
38
+        <plugin>
39
+          <artifactId>maven-resources-plugin</artifactId>
40
+          <version>3.0.2</version>
41
+        </plugin>
42
+        <plugin>
43
+          <artifactId>maven-compiler-plugin</artifactId>
44
+          <version>3.7.0</version>
45
+        </plugin>
46
+        <plugin>
47
+          <artifactId>maven-surefire-plugin</artifactId>
48
+          <version>2.20.1</version>
49
+        </plugin>
50
+        <plugin>
51
+          <artifactId>maven-jar-plugin</artifactId>
52
+          <version>3.0.2</version>
53
+        </plugin>
54
+        <plugin>
55
+          <artifactId>maven-install-plugin</artifactId>
56
+          <version>2.5.2</version>
57
+        </plugin>
58
+        <plugin>
59
+          <artifactId>maven-deploy-plugin</artifactId>
60
+          <version>2.8.2</version>
61
+        </plugin>
62
+      </plugins>
63
+    </pluginManagement>
64
+  </build>
65
+</project>

+ 13
- 0
src/main/java/ZCW-LambasLabNEW/App.java 查看文件

@@ -0,0 +1,13 @@
1
+package ZCW-LambasLabNEW;
2
+
3
+/**
4
+ * Hello world!
5
+ *
6
+ */
7
+public class App 
8
+{
9
+    public static void main( String[] args )
10
+    {
11
+        System.out.println( "Hello World!" );
12
+    }
13
+}

+ 20
- 0
src/test/java/ZCW-LambasLabNEW/AppTest.java 查看文件

@@ -0,0 +1,20 @@
1
+package ZCW-LambasLabNEW;
2
+
3
+import static org.junit.Assert.assertTrue;
4
+
5
+import org.junit.Test;
6
+
7
+/**
8
+ * Unit test for simple App.
9
+ */
10
+public class AppTest 
11
+{
12
+    /**
13
+     * Rigorous Test :-)
14
+     */
15
+    @Test
16
+    public void shouldAnswerWithTrue()
17
+    {
18
+        assertTrue( true );
19
+    }
20
+}

+ 0
- 0
test 查看文件


+ 9
- 0
zipcodewilmington.iml 查看文件

@@ -0,0 +1,9 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<module type="JAVA_MODULE" version="4">
3
+  <component name="NewModuleRootManager" inherit-compiler-output="true">
4
+    <exclude-output />
5
+    <content url="file://$MODULE_DIR$" />
6
+    <orderEntry type="inheritedJdk" />
7
+    <orderEntry type="sourceFolder" forTests="false" />
8
+  </component>
9
+</module>