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"?>
<chapter
xml:id=
"testing"
xmlns=
"http://docbook.org/ns/docbook"
version=
"5.0"
xmlns:xl=
"http://www.w3.org/1999/xlink"
xmlns:xi=
"http://www.w3.org/2001/XInclude"
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
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"
>
<chapter
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"
xml:id=
"testing"
xmlns=
"http://docbook.org/ns/docbook"
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
xmlns:xs=
"http://www.w3.org/2001/XMLSchema"
xmlns:xl=
"http://www.w3.org/1999/xlink"
xmlns:xi=
"http://www.w3.org/2001/XInclude"
xmlns:ns=
"http://docbook.org/ns/docbook"
>
<title>
Testing
</title>
<section
xml:id=
"testing-introduction"
>
...
...
@@ -85,8 +84,8 @@
usage with Spring's Web MVC framework, which are useful for testing
web contexts and controllers. These mock objects are generally more
convenient to use than dynamic mock objects such as
<link
xl:href=
"http://www.easymock.org"
>
EasyMock
</link>
or existing
Servlet
API mock objects such as
<link
xl:href=
"http://www.easymock.org"
>
EasyMock
</link>
or existing
Servlet
API mock objects such as
<link
xl:href=
"http://www.mockobjects.com"
>
MockObjects
</link>
.
</para>
</section>
...
...
@@ -2558,28 +2557,27 @@ public class HibernateClinicTests extends AbstractClinicTests { }
<listitem>
<para><link
xl:href=
"http://www.mockobjects.com/"
>
MockObjects.com
</link>
: Web
site dedicated to mock objects, a technique for improving the design
of
code within test-driven development.
</para>
xl:href=
"http://www.mockobjects.com/"
>
MockObjects.com
</link>
: Web
site
dedicated to mock objects, a technique for improving the design of
code within test-driven development.
</para>
</listitem>
<listitem>
<para><link
xl:href=
"http://en.wikipedia.org/wiki/Mock_Object"
>
"Mock
<para><link
xl:href=
"http://en.wikipedia.org/wiki/Mock_Object"
>
"Mock
Objects"
</link>
: Article in Wikipedia.
</para>
</listitem>
<listitem>
<para><link
xl:href=
"http://www.easymock.org/"
>
EasyMock
</link>
:
Java library
<quote>
<emphasis>
that provides Mock Objects for
interfaces (and objects through the class extension) by generating
them on the fly using Java's proxy mechanism.
</emphasis>
</quote>
Used
by the
Spring Framework in its test suite.
</para>
<para><link
xl:href=
"http://www.easymock.org/"
>
EasyMock
</link>
:
Java
library
<quote>
<emphasis>
that provides Mock Objects for interfaces
(and objects through the class extension) by generating them on the
fly using Java's proxy mechanism.
</emphasis>
</quote>
Used by the
Spring Framework in its test suite.
</para>
</listitem>
<listitem>
<para><link
xl:href=
"http://www.jmock.org/"
>
JMock
</link>
: Library
that
supports test-driven development of Java code with mock
<para><link
xl:href=
"http://www.jmock.org/"
>
JMock
</link>
: Library
that
supports test-driven development of Java code with mock
objects.
</para>
</listitem>
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录