1 package org.plog4u.wiki.test.filter;
3 import junit.framework.Test;
4 import junit.framework.TestSuite;
6 import org.plog4u.wiki.filter.WikipediaFilter;
8 public class WPLinkFilterTest extends FilterTestSupport {
9 public WPLinkFilterTest(String name) {
13 protected void setUp() throws Exception {
14 filter = new WikipediaFilter();
18 public static Test suite() {
19 return new TestSuite(WPLinkFilterTest.class);
22 public void testLink() {
23 assertEquals("Category:Tips & Tricks", filter.filter("[[Category:Tips & Tricks]]", context));