public class VoidReturnValuesTest
extends junit.framework.TestCase
| Modifier and Type | Class and Description |
|---|---|
private class |
VoidReturnValuesTest.MyException |
private class |
VoidReturnValuesTest.OtherException |
| Modifier and Type | Field and Description |
|---|---|
private ReturnValues |
r |
| Constructor and Description |
|---|
VoidReturnValuesTest(java.lang.String s) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
setUp() |
void |
testAddExceptionAndNoExceptionMixture() |
void |
testAddOneException() |
void |
testAddOneRepetitiveException() |
void |
testDefaultBehavior() |
countTestCases, createResult, getName, run, run, runBare, runTest, setName, tearDown, toStringassertEquals, 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, failSameprivate ReturnValues r
protected void setUp()
throws java.lang.Exception
setUp in class junit.framework.TestCasejava.lang.Exceptionpublic void testDefaultBehavior()
throws java.lang.Exception
java.lang.Exceptionpublic void testAddOneException()
throws java.lang.Exception
java.lang.Exceptionpublic void testAddOneRepetitiveException()
throws java.lang.Exception
java.lang.Exceptionpublic void testAddExceptionAndNoExceptionMixture()
throws java.lang.Exception
java.lang.Exception