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

📄 errorrecoverytest.java

📁 Jamon是一个Java文本模板引擎
💻 JAVA
字号:
package org.jamon.parser;import org.junit.Test;public class ErrorRecoveryTest extends AbstractParserTest{    @Test public void testCloseTagRecovery() throws Exception    {        assertErrorPair(            "</%foo></%bar>",            1,            1,            "Unexpected tag close </%foo>",            1,            8,            "Unexpected tag close </%bar>");        assertErrorPair(            "<%def bob></%foo></%def>",            1,            11,            "Unexpected tag close </%foo>",            1,            18,            "Unexpected tag close </%def>");    }    public static junit.framework.Test suite()    {        return new junit.framework.JUnit4TestAdapter(ErrorRecoveryTest.class);    }}

⌨️ 快捷键说明

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