summaryrefslogtreecommitdiffstats
path: root/src/documentation/content/xdocs/dev/testing.xml
diff options
context:
space:
mode:
authorJeremias Maerki <jeremias@apache.org>2005-06-24 09:32:20 +0000
committerJeremias Maerki <jeremias@apache.org>2005-06-24 09:32:20 +0000
commitf7aa56bc54d36ea5654963bdadc48517061e86ca (patch)
tree03e3e8b2f7a9367153af4566b21920a2148242b6 /src/documentation/content/xdocs/dev/testing.xml
parenta800d9550b0e196b2b32e7c6f09423df45110a55 (diff)
downloadxmlgraphics-fop-f7aa56bc54d36ea5654963bdadc48517061e86ca.tar.gz
xmlgraphics-fop-f7aa56bc54d36ea5654963bdadc48517061e86ca.zip
CVS -> SVN.
Recreated Clay's changes (hopefully all of them). Removed alt.design stuff. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@201586 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/documentation/content/xdocs/dev/testing.xml')
-rw-r--r--src/documentation/content/xdocs/dev/testing.xml25
1 files changed, 17 insertions, 8 deletions
diff --git a/src/documentation/content/xdocs/dev/testing.xml b/src/documentation/content/xdocs/dev/testing.xml
index 46a81459b..683edd331 100644
--- a/src/documentation/content/xdocs/dev/testing.xml
+++ b/src/documentation/content/xdocs/dev/testing.xml
@@ -1,6 +1,6 @@
<?xml version="1.0" standalone="no"?>
<!--
- Copyright 1999-2004 The Apache Software Foundation
+ Copyright 1999-2005 The Apache Software Foundation
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
@@ -15,9 +15,7 @@
limitations under the License.
-->
<!-- $Id$ -->
-<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V1.1//EN"
- "http://cvs.apache.org/viewcvs.cgi/*checkout*/xml-forrest/src/core/context/resources/schema/dtd/document-v12.dtd">
-
+<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V1.3//EN" "http://forrest.apache.org/dtd/document-v13.dtd">
<document>
<header>
<title>FOP Development: Testing</title>
@@ -27,7 +25,7 @@
<body>
<section id="build">
<title>"Build" Testing</title>
- <p>Apache projects use an automated build tool called "gump" to create nightly builds from the CVS repository. Gump sends "nag" messages if the build fails. This can be considered a sort of basic test of the build process. To view the most recent logs of the gump builds:</p>
+ <p>Apache projects use an automated build tool called "gump" to create nightly builds from the SVN repository. Gump sends "nag" messages if the build fails. This can be considered a sort of basic test of the build process. To view the most recent logs of the gump builds:</p>
<ul>
<li><link href="http://gump.cocoondev.org/xml-fop.html">Gump build for the Trunk</link></li>
<li><link href="http://gump.cocoondev.org/xml-fop-maintenance.html">Gump build for the Maintenance Branch</link></li>
@@ -40,6 +38,15 @@ For these tests to occur, JUnit must be available to Ant (simply copy junit.jar
The build will then report error(s) if the high-level APIs for Driver and the Transcoders fail.
The tests do not check the output, but only ensure that something is generated and without exceptions.</p>
</section>
+ <section id="layoutengine">
+ <title>Layout Engine Testing</title>
+ <p>
+ The <link href="http://svn.apache.org/viewcvs.cgi/xmlgraphics/fop/trunk/test/layoutengine/"><code>test/layoutengine</code></link>
+ directory in the repository contains a test suite for checking the functionality of FOP's
+ layout engine. For information on how to create test cases for the layout engine, please
+ visit the <link href="http://wiki.apache.org/xmlgraphics-fop/HowToCreateLayoutEngineTests">Wiki page</link>.
+ </p>
+ </section>
<section id="functional">
<title>Functional Testing</title>
<warning>The "functional" testing section on this page is currently inoperative.</warning>
@@ -106,11 +113,12 @@ test works as would be expected against the current build.
<section>
<title>How Testing Works</title>
<p>
-The tests are stored in the "&lt;cvs_repository>/test" directory.
+The tests are stored in the "&lt;svn_repository>/test" directory.
</p>
<p>
You can run the tests by specifying the build target "test" ie: <br/>
-<code>build.sh test</code>
+<code>ant.sh test</code> (Unix)<br/>
+<code>ant test</code> (Windows)<br/>
</p>
<p>
This will then compare the current code in the local src directory to a specified
@@ -134,7 +142,8 @@ XML renderer. The XML files are then compared to see if there are any difference
<title>SVG Testing</title>
<p>
The testing of SVG is not part of this testing system. SVG is tested for its rendering
-accuracy by using the transcoding mechanism via Batik. So that the only part that needs
+accuracy by using the transcoding mechanism via
+<link href="ext:batik">Apache Batik</link>. So that the only part that needs
testing is how the SVG image is embedded inside the flow of the fo document.
</p>
</section>