|
|||||||||||
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.sourceforge.smile.test.AbstractTest
net.sourceforge.smile.test.ResponseWriterTestCase
Test suite that will check the specifications with the implemntation of the ResponseWriter class.
Constructor Summary | |
ResponseWriterTestCase()
|
Method Summary | |
void |
testBasicOps()
This test case will check all the basic operations available on the ResponseStream |
void |
testElementAutoClose()
Check taht all required method actually close the started element tag when called |
void |
testElementMultipleAttributes()
Verify multiple attributes |
void |
testExceptionOnAttributeOutsideElement()
Checks that writing an attribute throws an exception, when outside of an element tag |
void |
testIOExceptionAfterClose()
Check to see if all character writing operations throw an IOException after closing the stream |
void |
testNullPointerExceptions()
Test to verify that all required NullPointer exceptions are throws as specified by the JavaDOcs |
void |
testWriteTextOutOfBounds()
Check that an IndexOutOfBoundsException is generated start or end position is outside of the array specified |
Methods inherited from class junit.framework.TestCase |
countTestCases, getName, run, run, runBare, 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 |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public ResponseWriterTestCase()
Method Detail |
public void testBasicOps() throws java.lang.Exception
java.lang.Exception
public void testIOExceptionAfterClose() throws java.lang.Exception
java.lang.Exception
public void testElementMultipleAttributes() throws java.lang.Exception
java.lang.Exception
public void testElementAutoClose() throws java.lang.Exception
java.lang.Exception
public void testExceptionOnAttributeOutsideElement() throws java.lang.Exception
java.lang.Exception
public void testNullPointerExceptions() throws java.lang.Exception
java.lang.Exception
public void testWriteTextOutOfBounds() throws java.lang.Exception
java.lang.Exception
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |