net.firstpartners.nounit.utility.test
Class TestNoUnitException

java.lang.Object
  |
  +--junit.framework.Assert
        |
        +--junit.framework.TestCase
              |
              +--net.firstpartners.nounit.utility.test.TestNoUnitException
All Implemented Interfaces:
junit.framework.Test

public class TestNoUnitException
extends junit.framework.TestCase

Class to test NoUnitException class


Constructor Summary
TestNoUnitException(java.lang.String name)
          Constructor required by Junit
 
Method Summary
static void main(java.lang.String[] args)
          Main required by Junit
protected  void setUp()
          setup code is in this method
static junit.framework.Test suite()
          suite giving list of tests for this class
 void testException1Value()
          Test Constructor with two values
 void testException2Values()
          Test Constructor with two values
 void testException3Values()
          Test Constructor with three values
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, name, run, run, runBare, runTest, tearDown, toString
 
Methods inherited from class junit.framework.Assert
assert, assert, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertNotNull, assertNotNull, assertNull, assertNull, assertSame, assertSame, fail, fail
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TestNoUnitException

public TestNoUnitException(java.lang.String name)
Constructor required by Junit
Parameters:
name - for super constructor
Method Detail

setUp

protected void setUp()
setup code is in this method
Overrides:
setUp in class junit.framework.TestCase

main

public static void main(java.lang.String[] args)
Main required by Junit
Parameters:
args -  

suite

public static junit.framework.Test suite()
suite giving list of tests for this class
Returns:
TestSuite

testException1Value

public void testException1Value()
Test Constructor with two values

testException2Values

public void testException2Values()
Test Constructor with two values

testException3Values

public void testException3Values()
Test Constructor with three values