public void testLookupCharFilter() { assertSame(HTMLStripCharFilterFactory.class, CharFilterFactory.forName("HTMLStrip", versionArgOnly()).getClass()); assertSame(HTMLStripCharFilterFactory.class, CharFilterFactory.forName("HTMLSTRIP", versionArgOnly()).getClass()); assertSame(HTMLStripCharFilterFactory.class, CharFilterFactory.forName("htmlstrip", versionArgOnly()).getClass()); }
public void testLookupCharFilterClass() { assertSame(HTMLStripCharFilterFactory.class, CharFilterFactory.lookupClass("HTMLStrip")); assertSame(HTMLStripCharFilterFactory.class, CharFilterFactory.lookupClass("HTMLSTRIP")); assertSame(HTMLStripCharFilterFactory.class, CharFilterFactory.lookupClass("htmlstrip")); }
public void testLookupCharFilter() { assertSame(HTMLStripCharFilterFactory.class, CharFilterFactory.forName("HTMLStrip").getClass()); assertSame(HTMLStripCharFilterFactory.class, CharFilterFactory.forName("HTMLSTRIP").getClass()); assertSame(HTMLStripCharFilterFactory.class, CharFilterFactory.forName("htmlstrip").getClass()); }