vhardy 2003/07/08 00:32:37
Modified: . build.xml MAINTAIN
test-resources/org/apache/batik/test samplesRendering.xml
unitTesting.xml
Added: test-references/samples/tests/spec/interactivity cursor.png
focus.png
test-references/samples/tests/spec/scripting bug12933.png
filterPatternUpdate.png gradientsUpdate.png
imageUpdate.png markerUpdate.png maskClipUpdate.png
svg.png svg2.png
test-resources/org/apache/batik/test interactiveSamples.xml
regardManual.xml
Log:
Added a regard.manual target to run test which require manual interactions
Revision Changes Path
1.133 +17 -1 xml-batik/build.xml
Index: build.xml
===================================================================
RCS file: /home/cvs/xml-batik/build.xml,v
retrieving revision 1.132
retrieving revision 1.133
diff -u -r1.132 -r1.133
--- build.xml 8 Jul 2003 00:16:56 -0000 1.132
+++ build.xml 8 Jul 2003 07:32:36 -0000 1.133
@@ -1087,6 +1087,22 @@
</java>
</target>
+ <target name="regard.manual"
+ depends="compiletest, testdirs, testjars"
+ description="Runs test suite whose file or uri is passed as an input">
+ <java fork="yes"
+ classname="${class-prefix}.test.xml.XMLTestSuiteRunner">
+ <classpath>
+ <pathelement location="${dest}" />
+ <path refid="libs-classpath"/>
+ <path refid="libs-build-classpath"/>
+ <pathelement location="resources" />
+ <pathelement location="test-resources" />
+ </classpath>
+ <arg line="test-resources/org/apache/batik/test/regardManual.xml ${args}"/>
+ </java>
+ </target>
+
<target name="showpainter"
depends="compiletest, testdirs"
description="Runs test suite whose file or uri is passed as an input">
1.9 +1 -0 xml-batik/MAINTAIN
Index: MAINTAIN
===================================================================
RCS file: /home/cvs/xml-batik/MAINTAIN,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- MAINTAIN 19 Jun 2002 07:28:17 -0000 1.8
+++ MAINTAIN 8 Jul 2003 07:32:36 -0000 1.9
@@ -49,6 +49,7 @@
7) test the distributions
build regard
+ build regard.manual
The build results are in xml-batik/test-reports. Check that there
are no show-stoppers for the release. If there are fixes required,
you need to remove the tag (as explained in step 2) and then fix
1.1
xml-batik/test-references/samples/tests/spec/interactivity/cursor.png
<<Binary file>>
1.1
xml-batik/test-references/samples/tests/spec/interactivity/focus.png
<<Binary file>>
1.1
xml-batik/test-references/samples/tests/spec/scripting/bug12933.png
<<Binary file>>
1.1
xml-batik/test-references/samples/tests/spec/scripting/filterPatternUpdate.png
<<Binary file>>
1.1
xml-batik/test-references/samples/tests/spec/scripting/gradientsUpdate.png
<<Binary file>>
1.1
xml-batik/test-references/samples/tests/spec/scripting/imageUpdate.png
<<Binary file>>
1.1
xml-batik/test-references/samples/tests/spec/scripting/markerUpdate.png
<<Binary file>>
1.1
xml-batik/test-references/samples/tests/spec/scripting/maskClipUpdate.png
<<Binary file>>
1.1 xml-batik/test-references/samples/tests/spec/scripting/svg.png
<<Binary file>>
1.1 xml-batik/test-references/samples/tests/spec/scripting/svg2.png
<<Binary file>>
1.102 +1 -9
xml-batik/test-resources/org/apache/batik/test/samplesRendering.xml
Index: samplesRendering.xml
===================================================================
RCS file:
/home/cvs/xml-batik/test-resources/org/apache/batik/test/samplesRendering.xml,v
retrieving revision 1.101
retrieving revision 1.102
diff -u -r1.101 -r1.102
--- samplesRendering.xml 4 Jul 2003 15:51:45 -0000 1.101
+++ samplesRendering.xml 8 Jul 2003 07:32:37 -0000 1.102
@@ -313,21 +313,15 @@
<testGroup id="tests.spec.scripting">
<test id="samples/tests/spec/scripting/add.svg" />
- <test id="samples/tests/spec/scripting/bug12933.svg" />
<test id="samples/tests/spec/scripting/circle.svg" />
<test id="samples/tests/spec/scripting/currentScaleTranslate.svg" />
<test id="samples/tests/spec/scripting/ellipse.svg" />
<test id="samples/tests/spec/scripting/fill.svg" />
- <test id="samples/tests/spec/scripting/filterPatternUpdate.svg" />
- <test id="samples/tests/spec/scripting/gradientsUpdate.svg" />
<test id="samples/tests/spec/scripting/image.svg" />
<test id="samples/tests/spec/scripting/imageRefUpdate.svg" />
- <test id="samples/tests/spec/scripting/imageUpdate.svg" />
<test id="samples/tests/spec/scripting/imageraster.svg" />
<test id="samples/tests/spec/scripting/imagesvg.svg" />
<test id="samples/tests/spec/scripting/line.svg" />
- <test id="samples/tests/spec/scripting/markerUpdate.svg" />
- <test id="samples/tests/spec/scripting/maskClipUpdate.svg" />
<test id="samples/tests/spec/scripting/nestedsvg.svg" />
<test id="samples/tests/spec/scripting/path.svg" />
<test id="samples/tests/spec/scripting/path_pathSegList_create.svg" />
@@ -343,8 +337,6 @@
<test id="samples/tests/spec/scripting/remove.svg" />
<test id="samples/tests/spec/scripting/removeLast.svg" />
<test id="samples/tests/spec/scripting/removeOnclick.svg" />
- <test id="samples/tests/spec/scripting/svg.svg" />
- <test id="samples/tests/spec/scripting/svg2.svg" />
<test id="samples/tests/spec/scripting/text.svg" />
<test id="samples/tests/spec/scripting/textAllProperties.svg" />
<test id="samples/tests/spec/scripting/textProperties.svg" />
1.10 +18 -1 xml-batik/test-resources/org/apache/batik/test/unitTesting.xml
Index: unitTesting.xml
===================================================================
RCS file: /home/cvs/xml-batik/test-resources/org/apache/batik/test/unitTesting.xml,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- unitTesting.xml 4 Jul 2003 15:21:07 -0000 1.9
+++ unitTesting.xml 8 Jul 2003 07:32:37 -0000 1.10
@@ -56,5 +56,22 @@
<property name="ReferenceScore" class="java.lang.Double" value="1" />
</test>
+ <!-- =================================================================== -->
+ <!-- Validates parametrization of tests -->
+ <!-- =================================================================== -->
+ <testGroup id="parametrizedGroup"
class="org.apache.batik.test.ParametrizedTest">
+ <property name="A" class="java.lang.String"
value="parametrizedGroup_A_value" />
+ <property name="B" class="java.lang.String"
value="parametrizedGroup_B_value" />
+
+ <test id="parametrizedInstanceA">
+ <property name="ExpectedA" class="java.lang.String"
value="parametrizedGroup_A_value" />
+ <property name="ExpectedB" class="java.lang.String"
value="parametrizedGroup_B_value" />
+ </test>
+ <test id="parametrizedInstanceB">
+ <property name="B" class="java.lang.String"
value="parametrizedInstanceB_B_value" />
+ <property name="ExpectedA" class="java.lang.String"
value="parametrizedGroup_A_value" />
+ <property name="ExpectedB" class="java.lang.String"
value="parametrizedInstanceB_B_value" />
+ </test>
+ </testGroup>
</testSuite>
1.1
xml-batik/test-resources/org/apache/batik/test/interactiveSamples.xml
Index: interactiveSamples.xml
===================================================================
<!-- ========================================================================= -->
<!-- Copyright (C) The Apache Software Foundation. All rights reserved. -->
<!-- -->
<!-- This software is published under the terms of the Apache Software License -->
<!-- version 1.1, a copy of which has been included with this distribution in -->
<!-- the LICENSE file. -->
<!-- ========================================================================= -->
<!-- ========================================================================= -->
<!-- @author [EMAIL PROTECTED] -->
<!-- @version $Id: interactiveSamples.xml,v 1.1 2003/07/08 07:32:37 vhardy Exp $ -->
<!-- ========================================================================= -->
<testSuite id="samplesRendering" name="samples and samples/test Rendering"
class="org.apache.batik.test.svg.SamplesRenderingTest">
<!-- ======================================================================= -->
<!-- Samples tests files -->
<!-- ======================================================================= -->
<testGroup id="tests.spec.interactivity" name="Interactivity Tests"
class="org.apache.batik.test.svg.JSVGRenderingAccuracyTest">
<test id="samples/tests/spec/interactivity/cursor.svg" />
<test id="samples/tests/spec/interactivity/focus.svg" />
<test id="samples/tests/spec/interactivity/keyEvents.svg" >
<property name="Validating" class="java.lang.Boolean" value="false" />
</test>
</testGroup>
<testGroup id="tests.spec.scripting" name="Interactive Scripting Tests"
class="org.apache.batik.test.svg.JSVGRenderingAccuracyTest">
<test id="samples/tests/spec/scripting/bug12933.svg" />
<test id="samples/tests/spec/scripting/filterPatternUpdate.svg" />
<test id="samples/tests/spec/scripting/gradientsUpdate.svg" />
<test id="samples/tests/spec/scripting/imageUpdate.svg" />
<test id="samples/tests/spec/scripting/markerUpdate.svg" />
<test id="samples/tests/spec/scripting/maskClipUpdate.svg" />
<!-- <test id="samples/tests/spec/scripting/removeLast.svg" /> -->
<test id="samples/tests/spec/scripting/svg.svg" />
<test id="samples/tests/spec/scripting/svg2.svg" />
</testGroup>
</testSuite>
1.1 xml-batik/test-resources/org/apache/batik/test/regardManual.xml
Index: regardManual.xml
===================================================================
<!-- ========================================================================= -->
<!-- Copyright (C) The Apache Software Foundation. All rights reserved. -->
<!-- -->
<!-- This software is published under the terms of the Apache Software License -->
<!-- version 1.1, a copy of which has been included with this distribution in -->
<!-- the LICENSE file. -->
<!-- ========================================================================= -->
<!-- ========================================================================= -->
<!-- This file contains the set of tests that should be run for basic and/or -->
<!-- detailed tests, and that require manual interactivity. In other words, -->
<!-- these tests require a manual operator. -->
<!-- -->
<!-- @author [EMAIL PROTECTED] -->
<!-- @version $Id: regardManual.xml,v 1.1 2003/07/08 07:32:37 vhardy Exp $ -->
<!-- ========================================================================= -->
<testRun id="regard" name="Batik Standard Regression Test Run">
<testReportProcessor class="org.apache.batik.test.xml.XMLTestReportProcessor" >
<arg class="org.apache.batik.test.xml.XSLXMLReportConsumer">
<!-- Stylesheet -->
<arg class="java.lang.String"
value="file:test-resources/org/apache/batik/test/svg/HTMLReport.xsl" />
<!-- Ouput Directory -->
<arg class="java.lang.String" value="html" />
<!-- Output file name -->
<arg class="java.lang.String" value="regardReport.html" />
</arg>
</testReportProcessor>
<!-- ================================================================== -->
<!-- Scripting and Interactivity -->
<!-- ================================================================== -->
<testSuite
href="file:test-resources/org/apache/batik/test/interactiveSamples.xml" />
</testRun>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]