|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
org.jdom.test.cases.TestVerifier
public final class TestVerifier
Constructor Summary | |
---|---|
TestVerifier(java.lang.String name)
Construct a new instance. |
Method Summary | |
---|---|
static void |
main(java.lang.String[] args)
The main method runs all the tests in the text ui |
void |
setUp()
This method is called before a test is executed. |
static junit.framework.Test |
suite()
The suite method runs all the tests |
void |
tearDown()
This method is called after a test is executed. |
void |
test_Namespace_Attribute_collision()
|
void |
test_TCM__String_checkAttributeName_String()
Test for a valid Attribute name. |
void |
test_TCM__String_checkCDATASection_String()
Test that checkCDATASection verifies CDATA excluding the closing delimiter. |
void |
test_TCM__String_checkCharacterData_String()
Test that a String contains only xml characters. |
void |
test_TCM__String_checkCommentData_String()
Test checkCommentData such that a comment is validated as an xml comment consisting of xml characters with the following caveats. |
void |
test_TCM__String_checkElementName_String()
Test checkElementName such that a name is validated as an xml name with the following caveats. |
void |
test_TCM__String_checkNamespacePrefix_String()
Test that checkNamespacePrefix validates against xml names with the following exceptions. |
void |
test_TCM__String_checkNamespaceURI_String()
Tests that checkNamespaceURI validates xml uri's. |
void |
test_TCM__String_checkProcessingInstructionTarget_String()
Test that checkProcessintInstructionTarget validates the name of a processing instruction. |
void |
test_TCM__void_main_ArrayString()
This test is a noop. |
Methods inherited from class junit.framework.TestCase |
---|
countTestCases, createResult, getName, run, run, runBare, runTest, setName, toString |
Methods inherited from class junit.framework.Assert |
---|
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, fail, fail |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public TestVerifier(java.lang.String name)
Method Detail |
---|
public static void main(java.lang.String[] args)
public void setUp() throws java.io.IOException, org.jdom.JDOMException
setUp
in class junit.framework.TestCase
java.io.IOException
org.jdom.JDOMException
public static junit.framework.Test suite()
public void tearDown()
tearDown
in class junit.framework.TestCase
public void test_TCM__String_checkAttributeName_String()
public void test_TCM__String_checkCDATASection_String()
public void test_TCM__String_checkCharacterData_String()
public void test_TCM__String_checkCommentData_String()
public void test_TCM__String_checkElementName_String()
public void test_TCM__String_checkNamespacePrefix_String()
public void test_TCM__String_checkNamespaceURI_String()
public void test_TCM__String_checkProcessingInstructionTarget_String()
public void test_Namespace_Attribute_collision()
public void test_TCM__void_main_ArrayString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |