public class TagTests extends ParserTestCase
构造器和说明 |
---|
TagTests(java.lang.String name) |
限定符和类型 | 方法和说明 |
---|---|
void |
testEmptyTag() |
void |
testMissingValueToHTML()
Test the toHTML method for a missing value attribute.
|
void |
testMultiLine1() |
void |
testMultiLine2() |
void |
testMultiLine3() |
void |
testMultiLine4() |
void |
testMultiLine5() |
void |
testMultiLine6() |
void |
testMultiLine7() |
void |
testStandAloneToHTML()
Test the toHTML method for a standalone attribute.
|
void |
testTagWithCloseTagSymbolInAttribute() |
void |
testTagWithOpenTagSymbolInAttribute() |
void |
testTagWithQuotes() |
void |
testTagWithSingleQuote() |
void |
testThreadSafety()
Test multiple threads running against the parser.
|
assertNodeCount, assertSameType, assertStringEquals, assertSuperType, assertTagEquals, assertType, assertXmlEquals, failWithMessage, getParser, main, parseAndAssertNodeCount, parseNodes, removeEscapeCharacters, setParser, testFake
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, countTestCases, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runBare, setName, toString
public void testTagWithQuotes() throws java.lang.Exception
java.lang.Exception
public void testEmptyTag() throws java.lang.Exception
java.lang.Exception
public void testTagWithCloseTagSymbolInAttribute() throws ParserException
ParserException
public void testTagWithOpenTagSymbolInAttribute() throws ParserException
ParserException
public void testTagWithSingleQuote() throws ParserException
ParserException
public void testMultiLine1() throws ParserException
ParserException
public void testMultiLine2() throws ParserException
ParserException
public void testMultiLine3() throws ParserException
ParserException
public void testMultiLine4() throws ParserException
ParserException
public void testMultiLine5() throws ParserException
ParserException
public void testMultiLine6() throws ParserException
ParserException
public void testMultiLine7() throws ParserException
ParserException
public void testThreadSafety() throws java.lang.Exception
java.lang.Exception
- Exceptionpublic void testStandAloneToHTML() throws ParserException
ParserException
- ParserExceptionpublic void testMissingValueToHTML() throws ParserException
ParserException
- ParserException