|
||||||||||
| 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.TestNamespace
public final class TestNamespace
| Constructor Summary | |
|---|---|
TestNamespace(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_TCM__boolean_equals_Object()
Test the object comparison method. |
void |
test_TCM__int_hashCode()
Verify that a namespace will produce a hashcode. |
void |
test_TCM__OrgJdomNamespace_getNamespace_String_String()
Test the prefix, uri version of getNamespace. |
void |
test_TCM__OrgJdomNamespace_getNamespace_String()
Test the URI only Namespace. |
void |
test_TCM__String_getPrefix()
Test getPrefix() |
void |
test_TCM__String_getURI()
Test than a namespace returns the correct URI |
void |
test_TCM__String_toString()
Test that toString() operates according to JDOM specs |
| 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 TestNamespace(java.lang.String name)
| Method Detail |
|---|
public static void main(java.lang.String[] args)
public void setUp()
setUp in class junit.framework.TestCasepublic static junit.framework.Test suite()
public void tearDown()
tearDown in class junit.framework.TestCasepublic void test_TCM__boolean_equals_Object()
public void test_TCM__int_hashCode()
public void test_TCM__OrgJdomNamespace_getNamespace_String()
public void test_TCM__OrgJdomNamespace_getNamespace_String_String()
public void test_TCM__String_getPrefix()
public void test_TCM__String_getURI()
public void test_TCM__String_toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||