1 2 /* 3 * This file is part of "SnipSnap Radeox Rendering Engine". 4 * 5 * Copyright (c) 2002 Stephan J. Schmidt, Matthias L. Jugel 6 * All Rights Reserved. 7 * 8 * Please visit http://radeox.org/ for updates and contact. 9 * 10 * --LICENSE NOTICE-- 11 * This library is free software; you can redistribute it and/or 12 * modify it under the terms of the GNU Lesser General Public 13 * License as published by the Free Software Foundation; either 14 * version 2.1 of the License, or (at your option) any later version. 15 * 16 * This library is distributed in the hope that it will be useful, 17 * but WITHOUT ANY WARRANTY; without even the implied warranty of 18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 19 * Lesser General Public License for more details. 20 * 21 * You should have received a copy of the GNU Lesser General Public 22 * License along with this library; if not, write to the Free Software 23 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 24 * --LICENSE NOTICE-- 25 */ 26 27 package org.snipsnap.test.render.macro.list; 28 29 import junit.framework.TestCase; 30 31 import org.snipsnap.render.macro.list.ListFormatter; 32 import org.snipsnap.render.macro.list.Linkable; 33 34 import java.io.Writer; 35 import java.io.StringWriter; 36 37 public class ListFormatterSupport extends TestCase { 38 protected ListFormatter formatter; 39 protected Writer writer; 40 protected Linkable emptyLinkable = new Linkable() { 41 public String getLink() { 42 return ""; 43 } 44 }; 45 46 public ListFormatterSupport(String name) { 47 super(name); 48 } 49 50 protected void setUp() throws Exception { 51 super.setUp(); 52 writer = new StringWriter(); 53 } 54 } 55