diff --git a/WebRoot/WEB-INF/error/error.jsp b/WebRoot/WEB-INF/error/error.jsp new file mode 100644 index 0000000..893cf34 --- /dev/null +++ b/WebRoot/WEB-INF/error/error.jsp @@ -0,0 +1,14 @@ +<%@ page language="java" contentType="text/html; charset=UTF-8" + pageEncoding="UTF-8"%> + + + + + + + Insert title here + + + error/error.jsp + + \ No newline at end of file diff --git a/src/test/java/org/fireply/enter/test/BaseSpringJunit4Test.java b/src/test/java/org/fireply/enter/test/BaseSpringJunit4Test.java new file mode 100644 index 0000000..1afed5f --- /dev/null +++ b/src/test/java/org/fireply/enter/test/BaseSpringJunit4Test.java @@ -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 { + +}