01: package org.radeox.test.macro.list;
02:
03: /*
04: * This file is part of "SnipSnap Radeox Rendering Engine".
05: *
06: * Copyright (c) 2002 Stephan J. Schmidt, Matthias L. Jugel
07: * All Rights Reserved.
08: *
09: * Please visit http://radeox.org/ for updates and contact.
10: *
11: * --LICENSE NOTICE--
12: * Licensed under the Apache License, Version 2.0 (the "License");
13: * you may not use this file except in compliance with the License.
14: * You may obtain a copy of the License at
15: *
16: * http://www.apache.org/licenses/LICENSE-2.0
17: *
18: * Unless required by applicable law or agreed to in writing, software
19: * distributed under the License is distributed on an "AS IS" BASIS,
20: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
21: * See the License for the specific language governing permissions and
22: * limitations under the License.
23: * --LICENSE NOTICE--
24: */
25:
26: import java.io.StringWriter;
27: import java.io.Writer;
28:
29: import junit.framework.TestCase;
30:
31: import org.radeox.macro.list.ListFormatter;
32: import org.radeox.util.Linkable;
33:
34: public class ListFormatterSupport extends TestCase {
35: protected ListFormatter formatter;
36:
37: protected Writer writer;
38:
39: protected Linkable emptyLinkable = new Linkable() {
40: public String getLink() {
41: return "";
42: }
43: };
44:
45: public ListFormatterSupport(String name) {
46: super (name);
47: }
48:
49: protected void setUp() throws Exception {
50: super .setUp();
51: writer = new StringWriter();
52: }
53: }
|