|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
net.sf.jsefa.test.xml.NamespacesTest
public class NamespacesTest
Tests to correct serialization/deserialization with different namespace declaration scenarios.
Constructor Summary | |
---|---|
NamespacesTest()
|
Method Summary | |
---|---|
void |
testDefaultNamespace()
Tests the case when a default namespace is given. |
void |
testEraseDefaultNamespace()
Tests the case when a default namespace is erased (the parent has a default namespace but the child not). |
void |
testExplicitNamespace()
Tests the case when an explicit namespace is given. |
void |
testNoNamespace()
Tests the case when no namespace is given. |
void |
testOverwrittenDefaultNamespace()
Tests the case when 2 default namespaces are given with the second overwriting the first. |
void |
testOverwrittenExplicitNamespace()
Tests the case when 2 explicit namespaces are given with the second overwriting the first. |
Methods inherited from class junit.framework.TestCase |
---|
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, tearDown, 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, failNotEquals, failNotSame, failSame, format |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public NamespacesTest()
Method Detail |
---|
public void testNoNamespace()
public void testDefaultNamespace()
public void testExplicitNamespace()
public void testOverwrittenDefaultNamespace()
public void testOverwrittenExplicitNamespace()
public void testEraseDefaultNamespace()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |