⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 markupparsertest.java

📁 jspwiki source code,jspwiki source code
💻 JAVA
字号:
package com.ecyrd.jspwiki.parser;import junit.framework.Test;import junit.framework.TestCase;import junit.framework.TestSuite;public class MarkupParserTest extends TestCase{    public static void main(String[] args)    {        junit.textui.TestRunner.run(MarkupParserTest.class);    }    protected void setUp() throws Exception    {        super.setUp();    }    protected void tearDown() throws Exception    {        super.tearDown();    }    public void testCleanLink1()    {        assertEquals( "--CleanLink--", MarkupParser.cleanLink("--CleanLink--") );    }    public void testCleanLink2()    {        assertEquals( "CleanLink", MarkupParser.cleanLink("??CleanLink??") );    }        public void testCleanLink3()    {        assertEquals( "Clean (link)", MarkupParser.cleanLink("Clean (link)") );    }    public static Test suite()    {        TestSuite suite = new TestSuite(MarkupParserTest.class);        return suite;    }}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -