mockmaker.tests
Class VoidReturnValuesTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by mockmaker.tests.VoidReturnValuesTest
All Implemented Interfaces:
junit.framework.Test

public class VoidReturnValuesTest
extends junit.framework.TestCase


Nested Class Summary
private  class VoidReturnValuesTest.MyException
           
private  class VoidReturnValuesTest.OtherException
           
 
Field Summary
private  ReturnValues r
           
 
Constructor Summary
VoidReturnValuesTest(java.lang.String s)
           
 
Method Summary
protected  void setUp()
           
 void testAddExceptionAndNoExceptionMixture()
           
 void testAddOneException()
           
 void testAddOneRepetitiveException()
           
 void testDefaultBehavior()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

r

private ReturnValues r
Constructor Detail

VoidReturnValuesTest

public VoidReturnValuesTest(java.lang.String s)
Method Detail

setUp

protected void setUp()
              throws java.lang.Exception
Overrides:
setUp in class junit.framework.TestCase
Throws:
java.lang.Exception

testDefaultBehavior

public void testDefaultBehavior()
                         throws java.lang.Exception
Throws:
java.lang.Exception

testAddOneException

public void testAddOneException()
                         throws java.lang.Exception
Throws:
java.lang.Exception

testAddOneRepetitiveException

public void testAddOneRepetitiveException()
                                   throws java.lang.Exception
Throws:
java.lang.Exception

testAddExceptionAndNoExceptionMixture

public void testAddExceptionAndNoExceptionMixture()
                                           throws java.lang.Exception
Throws:
java.lang.Exception