|
1 | 1 | <?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"> |
11 | 10 | <title>Testing</title>
|
12 | 11 |
|
13 | 12 | <section xml:id="testing-introduction">
|
|
85 | 84 | usage with Spring's Web MVC framework, which are useful for testing
|
86 | 85 | web contexts and controllers. These mock objects are generally more
|
87 | 86 | 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 |
90 | 89 | xl:href="http://www.mockobjects.com">MockObjects</link>.</para>
|
91 | 90 | </section>
|
92 | 91 |
|
@@ -2558,28 +2557,27 @@ public class HibernateClinicTests extends AbstractClinicTests { }
|
2558 | 2557 |
|
2559 | 2558 | <listitem>
|
2560 | 2559 | <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> |
2564 | 2563 | </listitem>
|
2565 | 2564 |
|
2566 | 2565 | <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 |
2569 | 2567 | Objects"</link>: Article in Wikipedia.</para>
|
2570 | 2568 | </listitem>
|
2571 | 2569 |
|
2572 | 2570 | <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> |
2578 | 2576 | </listitem>
|
2579 | 2577 |
|
2580 | 2578 | <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 |
2583 | 2581 | objects.</para>
|
2584 | 2582 | </listitem>
|
2585 | 2583 |
|
|
0 commit comments