KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > batik > test > svg > BERenderingTest


1 /*
2
3    Copyright 2001 The Apache Software Foundation
4
5    Licensed under the Apache License, Version 2.0 (the "License");
6    you may not use this file except in compliance with the License.
7    You may obtain a copy of the License at
8
9        http://www.apache.org/licenses/LICENSE-2.0
10
11    Unless required by applicable law or agreed to in writing, software
12    distributed under the License is distributed on an "AS IS" BASIS,
13    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14    See the License for the specific language governing permissions and
15    limitations under the License.
16
17  */

18 package org.apache.batik.test.svg;
19
20 /**
21  * Preconfigured test for SVG files under the xml-batik/../beSuite
22  * directory.
23  *
24  * @author <a HREF="mailto:vhardy@apache.org">Vincent Hardy</a>
25  * @version $Id: BERenderingTest.java,v 1.6 2005/03/27 08:58:37 cam Exp $
26  */

27 public class BERenderingTest extends PreconfiguredRenderingTest {
28     public static final String JavaDoc SVG_URL_PREFIX
29         = "test-references/../../beSuite/";
30
31     public static final String JavaDoc REF_IMAGE_PREFIX
32         = "test-references/svgbe/";
33
34     public static final String JavaDoc REF_IMAGE_SUFFIX
35         = "";
36
37     public static final String JavaDoc VARIATION_PREFIX
38         = "test-references/svgbe/";
39
40     public static final String JavaDoc VARIATION_SUFFIX
41         = "accepted-variation/";
42
43     public static final String JavaDoc SAVE_VARIATION_PREFIX
44         = "test-references/svgbe/";
45
46     public static final String JavaDoc SAVE_VARIATION_SUFFIX
47         = "candidate-variation/";
48
49     public static final String JavaDoc SAVE_CANDIDATE_REFERENCE_PREFIX
50         = "test-references/svgbe/";
51
52     public static final String JavaDoc SAVE_CANDIDATE_REFERENCE_SUFFIX
53         = "candidate-reference/";
54
55
56     protected String JavaDoc getSVGURLPrefix(){
57         return SVG_URL_PREFIX;
58     }
59
60     protected String JavaDoc getRefImagePrefix(){
61         return REF_IMAGE_PREFIX;
62     }
63
64     protected String JavaDoc getRefImageSuffix(){
65         return REF_IMAGE_SUFFIX;
66     }
67
68     protected String JavaDoc getVariationPrefix(){
69         return VARIATION_PREFIX;
70     }
71
72     protected String JavaDoc getVariationSuffix(){
73         return VARIATION_SUFFIX;
74     }
75
76     protected String JavaDoc getSaveVariationPrefix(){
77         return SAVE_VARIATION_PREFIX;
78     }
79
80     protected String JavaDoc getSaveVariationSuffix(){
81         return SAVE_VARIATION_SUFFIX;
82     }
83
84     protected String JavaDoc getCandidateReferencePrefix(){
85         return SAVE_CANDIDATE_REFERENCE_PREFIX;
86     }
87
88     protected String JavaDoc getCandidateReferenceSuffix(){
89         return SAVE_CANDIDATE_REFERENCE_SUFFIX;
90     }
91
92     public BERenderingTest(){
93     setValidating(new Boolean JavaDoc(true));
94     }
95 }
96
Popular Tags