1 package org.plog4u.wiki.test.filter;
3 import junit.framework.TestCase;
4 import org.radeox.engine.context.BaseInitialRenderContext;
5 import org.radeox.engine.context.BaseRenderContext;
6 import org.radeox.filter.Filter;
7 import org.radeox.filter.context.BaseFilterContext;
8 import org.radeox.filter.context.FilterContext;
11 * Support class for defning JUnit FilterTests.
15 public class FilterTestSupport extends TestCase {
16 protected Filter filter;
17 protected FilterContext context;
19 public FilterTestSupport(String s) {
21 context = new BaseFilterContext();
22 context.setRenderContext(new BaseRenderContext());
25 protected void setUp() throws Exception {
28 filter.setInitialContext(new BaseInitialRenderContext());