3 次代码提交 ea2dd9b9fa ... caf08cf739

作者 SHA1 备注 提交日期
  zjh caf08cf739 Merge branch '1.0' of http://gogs.tcmbrain.com/zjh/pre_paramater into 1.0 2 年之前
  zjh 748adb3fe7 添加测试 2 年之前
  zjh 7e586aae83 添加测试。 2 年之前
共有 3 个文件被更改,包括 14 次插入0 次删除
  1. 2 0
      .idea/encodings.xml
  2. 二进制
      cbkj_web_parameter/src/test/java/ApplicationTests.java
  3. 12 0
      pom.xml

+ 2 - 0
.idea/encodings.xml

@@ -2,6 +2,8 @@
 <project version="4">
   <component name="Encoding" defaultCharsetForPropertiesFiles="UTF-8">
     <file url="file://$PROJECT_DIR$/cbkj_web_parameter/src/main/java" charset="UTF-8" />
+    <file url="file://$PROJECT_DIR$/src/main/java" charset="UTF-8" />
+    <file url="file://$PROJECT_DIR$/src/main/resources" charset="UTF-8" />
     <file url="PROJECT" charset="UTF-8" />
   </component>
 </project>

二进制
cbkj_web_parameter/src/test/java/ApplicationTests.java


+ 12 - 0
pom.xml

@@ -42,6 +42,18 @@
             <groupId>org.springframework.boot</groupId>
             <artifactId>spring-boot-starter-actuator</artifactId>
         </dependency>
+        <dependency>
+            <groupId>org.springframework.boot</groupId>
+            <artifactId>spring-boot-starter-test</artifactId>
+            <scope>test</scope>
+        </dependency>
+        <!-- https://mvnrepository.com/artifact/org.powermock/powermock-module-junit4 -->
+        <dependency>
+            <groupId>org.powermock</groupId>
+            <artifactId>powermock-module-junit4</artifactId>
+            <version>2.0.2</version>
+            <scope>test</scope>
+        </dependency>
 
     </dependencies>