Skip to content

Commit 4be2d15

Browse files
committed
Reformat the Testing chapter
Reformatted the Testing chapter in preparation for upcoming changes.
1 parent 6fed79c commit 4be2d15

File tree

1 file changed

+21
-23
lines changed

1 file changed

+21
-23
lines changed

src/reference/docbook/testing.xml

Lines changed: 21 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<chapter xml:id="testing"
3-
xmlns="http://docbook.org/ns/docbook" version="5.0"
4-
xmlns:xl="http://www.w3.org/1999/xlink"
5-
xmlns:xi="http://www.w3.org/2001/XInclude"
6-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
7-
xsi:schemaLocation="
8-
http://docbook.org/ns/docbook http://www.docbook.org/xml/5.0/xsd/docbook.xsd
9-
http://www.w3.org/1999/xlink http://www.docbook.org/xml/5.0/xsd/xlink.xsd">
10-
2+
<chapter version="5.0"
3+
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"
4+
xml:id="testing" xmlns="http://docbook.org/ns/docbook"
5+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
6+
xmlns:xs="http://www.w3.org/2001/XMLSchema"
7+
xmlns:xl="http://www.w3.org/1999/xlink"
8+
xmlns:xi="http://www.w3.org/2001/XInclude"
9+
xmlns:ns="http://docbook.org/ns/docbook">
1110
<title>Testing</title>
1211

1312
<section xml:id="testing-introduction">
@@ -85,8 +84,8 @@
8584
usage with Spring's Web MVC framework, which are useful for testing
8685
web contexts and controllers. These mock objects are generally more
8786
convenient to use than dynamic mock objects such as <link
88-
xl:href="http://www.easymock.org">EasyMock</link> or existing
89-
Servlet API mock objects such as <link
87+
xl:href="http://www.easymock.org">EasyMock</link> or existing Servlet
88+
API mock objects such as <link
9089
xl:href="http://www.mockobjects.com">MockObjects</link>.</para>
9190
</section>
9291

@@ -2558,28 +2557,27 @@ public class HibernateClinicTests extends AbstractClinicTests { }
25582557

25592558
<listitem>
25602559
<para><link
2561-
xl:href="http://www.mockobjects.com/">MockObjects.com</link>: Web
2562-
site dedicated to mock objects, a technique for improving the design
2563-
of code within test-driven development.</para>
2560+
xl:href="http://www.mockobjects.com/">MockObjects.com</link>: Web site
2561+
dedicated to mock objects, a technique for improving the design of
2562+
code within test-driven development.</para>
25642563
</listitem>
25652564

25662565
<listitem>
2567-
<para><link
2568-
xl:href="http://en.wikipedia.org/wiki/Mock_Object">"Mock
2566+
<para><link xl:href="http://en.wikipedia.org/wiki/Mock_Object">"Mock
25692567
Objects"</link>: Article in Wikipedia.</para>
25702568
</listitem>
25712569

25722570
<listitem>
2573-
<para><link xl:href="http://www.easymock.org/">EasyMock</link>:
2574-
Java library <quote> <emphasis>that provides Mock Objects for
2575-
interfaces (and objects through the class extension) by generating
2576-
them on the fly using Java's proxy mechanism.</emphasis> </quote> Used
2577-
by the Spring Framework in its test suite.</para>
2571+
<para><link xl:href="http://www.easymock.org/">EasyMock</link>: Java
2572+
library <quote> <emphasis>that provides Mock Objects for interfaces
2573+
(and objects through the class extension) by generating them on the
2574+
fly using Java's proxy mechanism.</emphasis> </quote> Used by the
2575+
Spring Framework in its test suite.</para>
25782576
</listitem>
25792577

25802578
<listitem>
2581-
<para><link xl:href="http://www.jmock.org/">JMock</link>: Library
2582-
that supports test-driven development of Java code with mock
2579+
<para><link xl:href="http://www.jmock.org/">JMock</link>: Library that
2580+
supports test-driven development of Java code with mock
25832581
objects.</para>
25842582
</listitem>
25852583

0 commit comments

Comments
 (0)