forked from Fireply/Enter
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
32 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<%@ page language="java" contentType="text/html; charset=UTF-8" | ||
pageEncoding="UTF-8"%> | ||
<!DOCTYPE html> | ||
<html lang="cn"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=0"> | ||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> | ||
<title>Insert title here</title> | ||
</head> | ||
<body> | ||
error/error.jsp | ||
</body> | ||
</html> |
18 changes: 18 additions & 0 deletions
18
src/test/java/org/fireply/enter/test/BaseSpringJunit4Test.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
package org.fireply.enter.test; | ||
|
||
import org.junit.runner.RunWith; | ||
import org.springframework.test.context.ContextConfiguration; | ||
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; | ||
|
||
/** | ||
* Spring 与 Junit 测试基类,指定 Spring 配置文件路径及 Junit4 测试运行器 | ||
* @author Fireply | ||
* @version 1.00 | ||
* @date 2016年5月13日 下午7:23:16 | ||
* | ||
*/ | ||
@RunWith(SpringJUnit4ClassRunner.class) | ||
@ContextConfiguration(locations = "classpath*:applicationContext.xml") | ||
public abstract class BaseSpringJunit4Test { | ||
|
||
} |