1
0

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. BIN
      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>

BIN
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>