|
||||||||||
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.DeserializationFaultToleranceTest
public class DeserializationFaultToleranceTest
Tests the fault tolerance when deserializing a list of DTOs where some of them cause an Exception as they are not valid (but well formed). I. e. after an Exception caused by invalid elements one should be able to read in the next DTO.
Note: It is not possible to resume after encountering a not wellformed part of the document.
Constructor Summary | |
---|---|
DeserializationFaultToleranceTest()
|
Method Summary | |
---|---|
void |
testWithIllformedElements()
Tests it with different positions of illformed elements. |
void |
testWithInvalidElements()
Tests it with different positions of invalid elements. |
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 DeserializationFaultToleranceTest()
Method Detail |
---|
public void testWithInvalidElements()
public void testWithIllformedElements()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |