blob: 594472c30ff79794702fe6ddd9df2386f75e95d5 [file] [log] [blame]
<!--
Copyright 2001-2003 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.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<!-- ========================================================================= -->
<!-- @author vincent.hardy@eng.sun.com -->
<!-- @version $Id$ -->
<!-- ========================================================================= -->
<testSuite id="samplesRendering" name="samples and samples/test Rendering" class="org.apache.batik.test.svg.SamplesRenderingTest">
<!-- ================================================================== -->
<!-- The following tests check correct rendering of images in the -->
<!-- samples directory. -->
<!-- ================================================================== -->
<testGroup id="samples" name="samples Rendering">
<test id="samples/anne.svg" />
<test id="samples/asf-logo.svg" />
<test id="samples/barChart.svg" />
<test id="samples/batik3D.svg" />
<test id="samples/batik70.svg" />
<test id="samples/batikBatik.svg" />
<test id="samples/batikFX.svg" />
<test id="samples/batikLogo.svg" />
<test id="samples/batikYin.svg" />
<!-- <test id="samples/bookOfKells.svgz" />-->
<test id="samples/chessboard.svg" />
<test id="samples/gradients.svg" />
<test id="samples/GVT.svg" />
<test id="samples/henryV.svg" />
<test id="samples/logoShadowOffset.svg" />
<test id="samples/logoTexture.svg" />
<test id="samples/mapSpain.svg" />
<test id="samples/mapWaadt.svg" />
<test id="samples/mathMetal.svg" />
<test id="samples/moonPhases.svg" />
<test id="samples/sizeOfSun.svg" />
<test id="samples/sunRise.svg" />
<test id="samples/sydney.svg" />
<test id="samples/textRotate.svg" />
<test id="samples/textRotateShadows.svg" />
</testGroup>
<testGroup id="svg1.2" name="SVG Version 1.2 functionality tests">
<test id="samples/tests/spec12/text/flowBidi.svg" >
<property name="Validating" class="java.lang.Boolean" value="false" />
</test>
<test id="samples/tests/spec12/text/flowText.svg" >
<property name="Validating" class="java.lang.Boolean" value="false" />
</test>
<test id="samples/tests/spec12/text/flowText2.svg" >
<property name="Validating" class="java.lang.Boolean" value="false" />
</test>
<test id="samples/tests/spec12/text/flowText3.svg" >
<property name="Validating" class="java.lang.Boolean" value="false" />
</test>
<test id="samples/tests/spec12/text/flowText4.svg" >
<property name="Validating" class="java.lang.Boolean" value="false" />
</test>
<test id="samples/tests/spec12/text/flowText5.svg" >
<property name="Validating" class="java.lang.Boolean" value="false" />
</test>
<test id="samples/tests/spec12/text/flowRegionBreak.svg" >
<property name="Validating" class="java.lang.Boolean" value="false" />
</test>
<test id="samples/tests/spec12/text/lineHeightFontShorthand.svg" >
<property name="Validating" class="java.lang.Boolean" value="false" />
</test>
<test id="samples/tests/spec12/structure/multi.svg" >
<property name="Validating" class="java.lang.Boolean" value="false" />
</test>
<test id="samples/tests/spec12/structure/multi2.svg" >
<property name="Validating" class="java.lang.Boolean" value="false" />
</test>
<test id="samples/tests/spec12/structure/opera/opera-subImage.svg" >
<property name="Validating" class="java.lang.Boolean" value="false" />
</test>
<test id="samples/tests/spec12/structure/opera/opera-subImageRef.svg" >
<property name="Validating" class="java.lang.Boolean" value="false" />
</test>
<test id="samples/tests/spec12/paints/solidColor.svg" >
<property name="Validating" class="java.lang.Boolean" value="false" />
</test>
<test id="samples/tests/spec12/paints/solidColor2.svg" >
<property name="Validating" class="java.lang.Boolean" value="false" />
</test>
<test id="samples/tests/spec12/filters/filterRegion.svg" >
<property name="Validating" class="java.lang.Boolean" value="false" />
</test>
<test id="samples/tests/spec12/filters/filterRegionDetailed.svg" >
<property name="Validating" class="java.lang.Boolean" value="false" />
</test>
</testGroup>
<!-- ================================================================== -->
<!-- Samples extensions files -->
<!-- ================================================================== -->
<testGroup id="extensions" name="extensions rendering">
<test id="samples/extensions/colorSwitch.svg" >
<property name="Validating" class="java.lang.Boolean" value="false" />
</test>
<test id="samples/extensions/histogramNormalization.svg" >
<property name="Validating" class="java.lang.Boolean" value="false" />
</test>
<test id="samples/extensions/regularPolygon.svg" >
<property name="Validating" class="java.lang.Boolean" value="false" />
</test>
<test id="samples/extensions/star.svg" >
<property name="Validating" class="java.lang.Boolean" value="false" />
</test>
<test id="samples/extensions/flowText.svg" >
<property name="Validating" class="java.lang.Boolean" value="false" />
</test>
<test id="samples/extensions/flowTextAlign.svg" >
<property name="Validating" class="java.lang.Boolean" value="false" />
</test>
</testGroup>
<!-- ======================================================================= -->
<!-- Samples tests files -->
<!-- ======================================================================= -->
<testGroup id="tests.spec.color">
<test id="samples/tests/spec/color/colorProfile.svg" />
<test id="samples/tests/spec/color/colors.svg" />
<test id="samples/tests/spec/color/systemColors.svg" />
</testGroup>
<testGroup id="tests.spec.coordinates">
<test id="samples/tests/spec/coordinates/percentagesAndUnits.svg" />
<test id="samples/tests/spec/coordinates/em.svg" />
</testGroup>
<testGroup id="tests.spec.filters">
<test id="samples/tests/spec/filters/enableBackground.svg" />
<test id="samples/tests/spec/filters/feColorMatrix.svg" />
<test id="samples/tests/spec/filters/feComponentTransfer.svg" />
<test id="samples/tests/spec/filters/feComponentTransfer2.svg" />
<test id="samples/tests/spec/filters/feComposite.svg" />
<test id="samples/tests/spec/filters/feConvolveMatrix.svg" />
<test id="samples/tests/spec/filters/feDisplacementMap.svg" />
<test id="samples/tests/spec/filters/feGaussianDefault.svg" />
<test id="samples/tests/spec/filters/feImage.svg" />
<test id="samples/tests/spec/filters/feImage2.svg" />
<test id="samples/tests/spec/filters/feMerge.svg" />
<test id="samples/tests/spec/filters/feMorphology.svg" />
<test id="samples/tests/spec/filters/feTile.svg" />
<test id="samples/tests/spec/filters/feTileTarget.svg" />
<test id="samples/tests/spec/filters/feTurbulence.svg" />
<test id="samples/tests/spec/filters/filterRegions.svg" />
<test id="samples/tests/spec/filters/svgEnableBackground.svg" />
<test id="samples/batikCandy.svg#svgView(transform(scale(0.01)))-BumpMap1"
class="org.apache.batik.test.svg.SVGReferenceRenderingAccuracyTest"/>
</testGroup>
<testGroup id="tests.spec.fonts">
<test id="samples/tests/spec/fonts/batikFont.svg" />
<test id="samples/tests/spec/fonts/fontAltGlyph.svg" />
<test id="samples/tests/spec/fonts/fontAltGlyph2.svg" />
<test id="samples/tests/spec/fonts/fontArabic.svg" />
<test id="samples/tests/spec/fonts/fontBounds.svg" />
<test id="samples/tests/spec/fonts/fontChoice.svg" />
<test id="samples/tests/spec/fonts/fontDecorations.svg" />
<test id="samples/tests/spec/fonts/fontExternalFont.svg" />
<test id="samples/tests/spec/fonts/fontFace.svg" />
<test id="samples/tests/spec/fonts/fontGlyphChoice.svg" />
<test id="samples/tests/spec/fonts/fontGlyphsBoth.svg" />
<test id="samples/tests/spec/fonts/fontGlyphsChildSVG.svg" />
<test id="samples/tests/spec/fonts/fontGlyphsD.svg" />
<test id="samples/tests/spec/fonts/fontKerning.svg" />
<test id="samples/tests/spec/fonts/fontOnPath.svg" />
<test id="samples/tests/spec/fonts/fontStyling.svg" />
</testGroup>
<testGroup id="tests.spec.linking">
<test id="samples/tests/spec/linking/anchorInsideText.svg" >
<property name="Validating" class="java.lang.Boolean" value="false" />
</test>
<test id="samples/tests/spec/linking/anchor.svg" />
<test id="samples/tests/spec/linking/linkingTransform.svg" />
<test id="samples/tests/spec/linking/linkingViewBox.svg" />
<test id="samples/tests/spec/linking/pointerEvents.svg" />
<test id="samples/tests/spec/linking/pointerEvents2.svg" />
<testGroup id="reference" class="org.apache.batik.test.svg.SVGReferenceRenderingAccuracyTest">
<test id="samples/anne.svg#svgView(viewBox(0,0,100,200))-ViewBox1" />
<test id="samples/anne.svg#svgView(viewBox(100,50,100,200))-ViewBox2" />
<test id="samples/anne.svg#svgView(transform(translate(-100,-50)))-Transform1" />
<test id="samples/anne.svg#svgView(transform(translate(225,250)rotate(45)translate(-225,-250)))-Transform2" />
<test id="samples/anne.svg#svgView(transform(rotate(45,225,250)))-Transform3" />
</testGroup>
</testGroup>
<testGroup id="tests.spec.masking">
<test id="samples/tests/spec/masking/clip.svg" />
<test id="samples/tests/spec/masking/maskRegions.svg" />
<test id="samples/tests/spec/masking/clipTransform.svg" />
</testGroup>
<testGroup id="tests.spec.painting">
<test id="samples/tests/spec/painting/bboxOnText.svg" />
<test id="samples/tests/spec/painting/display.svg" />
<test id="samples/tests/spec/painting/image-rendering.svg" />
<test id="samples/tests/spec/painting/markersExt.svg" />
<test id="samples/tests/spec/painting/markersMisc.svg" />
<test id="samples/tests/spec/painting/markersOrientA.svg" />
<test id="samples/tests/spec/painting/markersOrientB.svg" />
<test id="samples/tests/spec/painting/markersPreserveAspectRatio.svg" />
<test id="samples/tests/spec/painting/markersShapes.svg" />
<test id="samples/tests/spec/painting/stroke-rendering.svg" />
<test id="samples/tests/spec/painting/shape-rendering.svg" />
<test id="samples/tests/spec/painting/text-rendering.svg" />
<test id="samples/tests/spec/painting/text-rendering2.svg" />
<test id="samples/tests/spec/painting/visibility.svg" />
</testGroup>
<testGroup id="tests.spec.paints">
<test id="samples/tests/spec/paints/externalPaints.svg" />
<test id="samples/tests/spec/paints/gradientLimit.svg" />
<test id="samples/tests/spec/paints/linearGradientOrientation.svg" />
<test id="samples/tests/spec/paints/linearGradientLine.svg" />
<test id="samples/tests/spec/paints/linearGradientRepeat.svg" />
<test id="samples/tests/spec/paints/radialGradientLine.svg" />
<test id="samples/tests/spec/paints/gradientPoint.svg" />
<test id="samples/tests/spec/paints/patternPreserveAspectRatioA.svg" />
<test id="samples/tests/spec/paints/patternRegionA.svg" />
<test id="samples/tests/spec/paints/patternRegionB.svg" />
<test id="samples/tests/spec/paints/patternRegions.svg" />
<test id="samples/tests/spec/paints/radialGradient.svg" />
<test id="samples/tests/spec/paints/radialGradient2.svg" />
<test id="samples/tests/spec/paints/radialGradient3.svg" />
<test id="samples/tests/spec/paints/radialGradientOrientation.svg" />
</testGroup>
<testGroup id="tests.spec.rendering">
<test id="samples/tests/spec/rendering/opacity.svg" />
<test id="samples/tests/spec/rendering/opacity2.svg" />
<test id="samples/tests/spec/rendering/paintOpacity.svg" />
</testGroup>
<testGroup id="tests.spec.shapes">
<test id="samples/tests/spec/shapes/zero.svg" />
<test id="samples/tests/spec/shapes/emptyShape.svg" />
</testGroup>
<testGroup id="tests.spec.structure" name="tests structure" >
<test id="samples/tests/spec/structure/dataProtocol.svg" />
<test id="samples/tests/spec/structure/externalUseCascading.svg" />
<test id="samples/tests/spec/structure/image.svg" />
<test id="samples/tests/spec/structure/rasterImageViewBox.svg" />
<test id="samples/tests/spec/structure/rasterImageViewBoxClip.svg" />
<test id="samples/tests/spec/structure/rasterImageViewBoxOverflow.svg" />
<test id="samples/tests/spec/structure/svgImageViewBox.svg" />
<test id="samples/tests/spec/structure/svgImageViewBoxClip.svg" />
<test id="samples/tests/spec/structure/svgImageViewBoxOverflow.svg" />
<test id="samples/tests/spec/structure/symbolViewBox.svg" />
<test id="samples/tests/spec/structure/symbolViewBoxClip.svg" />
<test id="samples/tests/spec/structure/symbolViewBoxOverflow.svg" />
<test id="samples/tests/spec/structure/tiff.svg" />
<test id="samples/tests/spec/structure/toolTips.svg" />
<test id="samples/tests/spec/structure/useMultiple.svg" />
<test id="samples/tests/spec/structure/useMultipleURI.svg" />
<test id="samples/tests/spec/structure/useStylesheet.svg" />
<test id="samples/tests/spec/structure/useStyling.svg" />
<test id="samples/tests/spec/structure/useStylingURI.svg" />
<test id="samples/tests/spec/structure/useTargets.svg" />
<test id="samples/tests/spec/structure/useTargets2.svg" />
<test id="samples/tests/spec/structure/xmlBase.svg" />
<test id="samples/tests/spec/structure/xmlBaseStyling.svg" />
<test id="samples/tests/spec/structure/requiredFeatures.svg" />
<test id="samples/tests/spec/structure/requiredFeaturesCombo.svg" />
<test id="samples/tests/spec/structure/switch.svg" />
<test id="samples/tests/spec/structure/systemLanguage.svg">
<property name="UserLanguage" class="java.lang.String" value="fr" />
</test>
<test id="samples/tests/spec/structure/systemLanguageDialect.svg">
<property name="UserLanguage" class="java.lang.String" value="en-UK" />
</test>
</testGroup>
<testGroup id="tests.spec.styling">
<test id="samples/tests/spec/styling/alternateStylesheet.svg" />
<test id="samples/tests/spec/styling/cssMedia.svg" />
<test id="samples/tests/spec/styling/cssMediaList.svg" />
<test id="samples/tests/spec/styling/emptyStyle.svg" />
<test id="samples/tests/spec/styling/fontShorthand.svg" />
<test id="samples/tests/spec/styling/important.svg" />
<test id="samples/tests/spec/styling/smiley.svg" />
<test id="samples/tests/spec/styling/styleElement.svg" />
<!-- Alternate stylesheet tests -->
<!-- Sample tests, media test -->
<testGroup id="media" class="org.apache.batik.test.svg.SVGMediaRenderingAccuracyTest">
<test id="samples/tests/spec/styling/cssMedia.svg-Screen" />
<test id="samples/tests/spec/styling/cssMedia.svg-Print" />
<test id="samples/tests/spec/styling/cssMedia.svg-Projection" />
</testGroup>
<testGroup id="alternate" class="org.apache.batik.test.svg.SVGAlternateStyleSheetRenderingAccuracyTest">
<test id="samples/tests/spec/styling/alternateStylesheet.svg-Hot" />
<test id="samples/tests/spec/styling/alternateStylesheet.svg-Cold" />
<test id="samples/tests/spec/styling/smiley.svg-Smiling" />
<test id="samples/tests/spec/styling/smiley.svg-Basic Sad" />
<test id="samples/tests/spec/styling/smiley.svg-Wow!" />
<test id="samples/tests/spec/styling/smiley.svg-Grim" />
<test id="samples/tests/spec/styling/smiley.svg-Oups" />
</testGroup>
</testGroup>
<testGroup id="tests.spec.text">
<test id="samples/tests/spec/text/longTextOnPath.svg" />
<test id="samples/tests/spec/text/smallFonts.svg" />
<test id="samples/tests/spec/text/textAnchor.svg" />
<test id="samples/tests/spec/text/textAnchor2.svg" />
<test id="samples/tests/spec/text/textAnchor3.svg" />
<test id="samples/tests/spec/text/textBiDi.svg" />
<test id="samples/tests/spec/text/textDecoration.svg" />
<test id="samples/tests/spec/text/textDecoration2.svg" />
<test id="samples/tests/spec/text/textEffect.svg" />
<test id="samples/tests/spec/text/textEffect2.svg" />
<test id="samples/tests/spec/text/textEffect3.svg" />
<test id="samples/tests/spec/text/textFeatures.svg" />
<test id="samples/tests/spec/text/textLayout.svg" />
<test id="samples/tests/spec/text/textLayout2.svg" />
<test id="samples/tests/spec/text/textLength.svg" />
<test id="samples/tests/spec/text/textOnPath.svg" />
<test id="samples/tests/spec/text/textOnPath2.svg" />
<test id="samples/tests/spec/text/textOnPath3.svg" />
<test id="samples/tests/spec/text/textOnPathSpaces.svg" />
<test id="samples/tests/spec/text/textPCDATA.svg" />
<test id="samples/tests/spec/text/textProperties.svg" />
<test id="samples/tests/spec/text/textProperties2.svg" />
<test id="samples/tests/spec/text/textStyles.svg" />
<test id="samples/tests/spec/text/verticalText.svg" />
<test id="samples/tests/spec/text/verticalTextOnPath.svg" />
<test id="samples/tests/spec/text/textPosition.svg" />
<test id="samples/tests/spec/text/textPosition2.svg" />
<test id="samples/tests/spec/text/textGlyphOrientationHorizontal.svg"/>
<test id="samples/tests/spec/text/xmlSpace.svg">
<property name="Validating" class="java.lang.Boolean" value="false" />
</test>
</testGroup>
<testGroup id="tests.spec.scripting">
<test id="samples/tests/spec/scripting/add.svg" />
<test id="samples/tests/spec/scripting/bbox.svg" />
<test id="samples/tests/spec/scripting/circle.svg" />
<test id="samples/tests/spec/scripting/display.svg" />
<test id="samples/tests/spec/scripting/ellipse.svg" />
<test id="samples/tests/spec/scripting/enclosureList.svg" />
<test id="samples/tests/spec/scripting/enclosureList2.svg" />
<test id="samples/tests/spec/scripting/fill.svg" />
<test id="samples/tests/spec/scripting/getElementById.svg" />
<test id="samples/tests/spec/scripting/image.svg" />
<test id="samples/tests/spec/scripting/imageRefUpdate.svg" />
<test id="samples/tests/spec/scripting/imageraster.svg" />
<test id="samples/tests/spec/scripting/imagesvg.svg" />
<test id="samples/tests/spec/scripting/intersectionList.svg" />
<test id="samples/tests/spec/scripting/intersectionList2.svg" />
<test id="samples/tests/spec/scripting/line.svg" />
<test id="samples/tests/spec/scripting/nestedsvg.svg" />
<test id="samples/tests/spec/scripting/paintType.svg" />
<test id="samples/tests/spec/scripting/path.svg" />
<test id="samples/tests/spec/scripting/pathLength.svg" />
<test id="samples/tests/spec/scripting/path_pathSegList_create.svg" />
<test id="samples/tests/spec/scripting/path_pathSegList1.svg" />
<test id="samples/tests/spec/scripting/path_pathSegList2.svg" />
<test id="samples/tests/spec/scripting/polygon.svg" />
<test id="samples/tests/spec/scripting/polygon_points1.svg" />
<test id="samples/tests/spec/scripting/polygon_points2.svg" />
<test id="samples/tests/spec/scripting/polyline.svg" />
<test id="samples/tests/spec/scripting/polyline_points1.svg" />
<test id="samples/tests/spec/scripting/polyline_points2.svg" />
<test id="samples/tests/spec/scripting/rect.svg" />
<test id="samples/tests/spec/scripting/relativeURI.svg" />
<test id="samples/tests/spec/scripting/remove.svg" />
<test id="samples/tests/spec/scripting/removeOnclick.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" />
<test id="samples/tests/spec/scripting/text_children1.svg" />
<test id="samples/tests/spec/scripting/text_children2.svg" />
<test id="samples/tests/spec/scripting/text_children3.svg" />
<test id="samples/tests/spec/scripting/text_dxlist1.svg" />
<test id="samples/tests/spec/scripting/text_dxlist2.svg" />
<test id="samples/tests/spec/scripting/text_dylist1.svg" />
<test id="samples/tests/spec/scripting/text_dylist2.svg" />
<test id="samples/tests/spec/scripting/text_xlist1.svg" />
<test id="samples/tests/spec/scripting/text_xlist2.svg" />
<test id="samples/tests/spec/scripting/text_ylist1.svg" />
<test id="samples/tests/spec/scripting/text_ylist2.svg" />
<test id="samples/tests/spec/scripting/textpathProperties.svg" />
<test id="samples/tests/spec/scripting/transform.svg" />
<test id="samples/tests/spec/scripting/transform2.svg" />
<test id="samples/tests/spec/scripting/transform_create.svg" />
<test id="samples/tests/spec/scripting/transform_getTransform1.svg" />
<test id="samples/tests/spec/scripting/transform_getTransform2.svg" />
<test id="samples/tests/spec/scripting/trefProperties.svg" />
<test id="samples/tests/spec/scripting/tspan.svg" />
<test id="samples/tests/spec/scripting/tspanProperties.svg" />
<test id="samples/tests/spec/scripting/visibility.svg" />
<test id="samples/tests/spec/scripting/viewBoxOnLoad.svg" />
<test id="samples/tests/spec/scripting/xyModifOnLoad.svg" />
<test id="samples/tests/spec/scripting/zeroSize.svg" />
</testGroup>
<testGroup id="test-resources.bugs">
<test id="test-resources/org/apache/batik/test/svg/bug19363.svg" />
</testGroup>
<testGroup id="updateTests" name="Dynamic Update Tests"
class="org.apache.batik.test.svg.JSVGRenderingAccuracyTest">
<test id="samples/tests/spec/scripting/boundsTransformChange.svg" />
<test id="samples/tests/spec/scripting/eventAttrAdd.svg" />
<test id="samples/tests/spec/scripting/markerUpdate.svg" />
<test id="samples/tests/spec/scripting/rootSizeChange.svg" />
<test id="samples/tests/spec/scripting/rectResizeOnClick.svg" />
<test id="samples/tests/spec/scripting/setProperty.svg" />
<test id="samples/tests/spec/scripting/styling.svg" />
<test id="samples/tests/spec/scripting/svgFontMove.svg" />
<test id="samples/tests/spec/scripting/text_content.svg" />
<test id="samples/tests/spec/scripting/textProperties2.svg" />
<test id="samples/tests/spec/scripting/visibilityOnClick.svg" />
</testGroup>
</testSuite>