Skip to content

Commit 1187b15

Browse files
committed
spring--测试
1 parent b5c6e0f commit 1187b15

6 files changed

Lines changed: 81 additions & 53 deletions

File tree

springBoot/.idea/libraries/Maven__junit_junit_4_12.xml

Lines changed: 13 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

springBoot/.idea/libraries/Maven__org_hamcrest_hamcrest_core_1_3.xml

Lines changed: 13 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

springBoot/.idea/workspace.xml

Lines changed: 39 additions & 50 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

springBoot/pom.xml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<project xmlns="http://maven.apache.org/POM/4.0.0"
3-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0"
3+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
44
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
55
<modelVersion>4.0.0</modelVersion>
66

@@ -58,14 +58,12 @@
5858
<artifactId>spring-test</artifactId>
5959
<version>4.2.3.RELEASE</version>
6060
</dependency>
61-
<!--Spring test 支持 -->
6261
<dependency>
6362
<groupId>junit</groupId>
6463
<artifactId>junit</artifactId>
6564
<version>4.12</version>
6665
</dependency>
6766

68-
6967
</dependencies>
7068
<build>
7169
<plugins>

springBoot/springBoot.iml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,5 +41,7 @@
4141
<orderEntry type="library" name="Maven: commons-io:commons-io:2.4" level="project" />
4242
<orderEntry type="library" name="Maven: javax.annotation:jsr250-api:1.0" level="project" />
4343
<orderEntry type="library" name="Maven: org.springframework:spring-test:4.2.3.RELEASE" level="project" />
44+
<orderEntry type="library" name="Maven: junit:junit:4.12" level="project" />
45+
<orderEntry type="library" name="Maven: org.hamcrest:hamcrest-core:1.3" level="project" />
4446
</component>
4547
</module>
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
package cn.hncu.p3.p7_fortest;
2+
3+
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
4+
5+
/**
6+
* Created with IntelliJ IDEA.
7+
* User: 陈浩翔.
8+
* Date: 2016/12/9.
9+
* Time: 下午 9:27.
10+
* Explain:测试类---源码在src/test/java下
11+
*/
12+
public class DemoBeanIntegrationTests {
13+
}

0 commit comments

Comments
 (0)