Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
爱吃血肠
spring-framework
提交
4be2d159
S
spring-framework
项目概览
爱吃血肠
/
spring-framework
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
S
spring-framework
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
4be2d159
编写于
12月 11, 2012
作者:
S
Sam Brannen
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Reformat the Testing chapter
Reformatted the Testing chapter in preparation for upcoming changes.
上级
6fed79cb
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
21 addition
and
23 deletion
+21
-23
src/reference/docbook/testing.xml
src/reference/docbook/testing.xml
+21
-23
未找到文件。
src/reference/docbook/testing.xml
浏览文件 @
4be2d159
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="UTF-8"?>
<chapter
xml:id=
"testing"
<chapter
version=
"5.0"
xmlns=
"http://docbook.org/ns/docbook"
version=
"5.0"
xsi:schemaLocation=
"http://docbook.org/ns/docbook http://www.docbook.org/xml/5.0/xsd/docbook.xsd http://www.w3.org/1999/xlink http://www.docbook.org/xml/5.0/xsd/xlink.xsd"
xmlns:xl=
"http://www.w3.org/1999/xlink"
xml:id=
"testing"
xmlns=
"http://docbook.org/ns/docbook"
xmlns:xi=
"http://www.w3.org/2001/XInclude"
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
xmlns:xs=
"http://www.w3.org/2001/XMLSchema"
xsi:schemaLocation=
"
xmlns:xl=
"http://www.w3.org/1999/xlink"
http://docbook.org/ns/docbook http://www.docbook.org/xml/5.0/xsd/docbook.xsd
xmlns:xi=
"http://www.w3.org/2001/XInclude"
http://www.w3.org/1999/xlink http://www.docbook.org/xml/5.0/xsd/xlink.xsd"
>
xmlns:ns=
"http://docbook.org/ns/docbook"
>
<title>
Testing
</title>
<title>
Testing
</title>
<section
xml:id=
"testing-introduction"
>
<section
xml:id=
"testing-introduction"
>
...
@@ -85,8 +84,8 @@
...
@@ -85,8 +84,8 @@
usage with Spring's Web MVC framework, which are useful for testing
usage with Spring's Web MVC framework, which are useful for testing
web contexts and controllers. These mock objects are generally more
web contexts and controllers. These mock objects are generally more
convenient to use than dynamic mock objects such as
<link
convenient to use than dynamic mock objects such as
<link
xl:href=
"http://www.easymock.org"
>
EasyMock
</link>
or existing
xl:href=
"http://www.easymock.org"
>
EasyMock
</link>
or existing
Servlet
Servlet
API mock objects such as
<link
API mock objects such as
<link
xl:href=
"http://www.mockobjects.com"
>
MockObjects
</link>
.
</para>
xl:href=
"http://www.mockobjects.com"
>
MockObjects
</link>
.
</para>
</section>
</section>
...
@@ -2558,28 +2557,27 @@ public class HibernateClinicTests extends AbstractClinicTests { }
...
@@ -2558,28 +2557,27 @@ public class HibernateClinicTests extends AbstractClinicTests { }
<listitem>
<listitem>
<para><link
<para><link
xl:href=
"http://www.mockobjects.com/"
>
MockObjects.com
</link>
: Web
xl:href=
"http://www.mockobjects.com/"
>
MockObjects.com
</link>
: Web
site
site dedicated to mock objects, a technique for improving the design
dedicated to mock objects, a technique for improving the design of
of
code within test-driven development.
</para>
code within test-driven development.
</para>
</listitem>
</listitem>
<listitem>
<listitem>
<para><link
<para><link
xl:href=
"http://en.wikipedia.org/wiki/Mock_Object"
>
"Mock
xl:href=
"http://en.wikipedia.org/wiki/Mock_Object"
>
"Mock
Objects"
</link>
: Article in Wikipedia.
</para>
Objects"
</link>
: Article in Wikipedia.
</para>
</listitem>
</listitem>
<listitem>
<listitem>
<para><link
xl:href=
"http://www.easymock.org/"
>
EasyMock
</link>
:
<para><link
xl:href=
"http://www.easymock.org/"
>
EasyMock
</link>
:
Java
Java library
<quote>
<emphasis>
that provides Mock Objects for
library
<quote>
<emphasis>
that provides Mock Objects for interfaces
interfaces (and objects through the class extension) by generating
(and objects through the class extension) by generating them on the
them on the fly using Java's proxy mechanism.
</emphasis>
</quote>
Used
fly using Java's proxy mechanism.
</emphasis>
</quote>
Used by the
by the
Spring Framework in its test suite.
</para>
Spring Framework in its test suite.
</para>
</listitem>
</listitem>
<listitem>
<listitem>
<para><link
xl:href=
"http://www.jmock.org/"
>
JMock
</link>
: Library
<para><link
xl:href=
"http://www.jmock.org/"
>
JMock
</link>
: Library
that
that
supports test-driven development of Java code with mock
supports test-driven development of Java code with mock
objects.
</para>
objects.
</para>
</listitem>
</listitem>
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录