KickJava   Java API By Example, From Geeks To Geeks.

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


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 directory.
22  *
23  * @author <a HREF="mailto:vhardy@apache.org">Vincent Hardy</a>
24  * @version $Id: SamplesRenderingTest.java,v 1.7 2005/03/27 08:58:37 cam Exp $
25  */

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