momeunit.framework
Class TestSuite.ErrorTestCase

java.lang.Object
  extended by momeunit.framework.Assert
      extended by momeunit.framework.TestCase
          extended by momeunit.framework.TestSuite.ErrorTestCase
All Implemented Interfaces:
Test
Enclosing class:
TestSuite

 class TestSuite.ErrorTestCase
extends TestCase

Returns the name of the suite. Not all test suites have a name and this method can return null.

Since:
1.0

Constructor Summary
TestSuite.ErrorTestCase(String name, Throwable t)
           
 
Method Summary
 void test()
          Override to run the test and assert its state.
 
Methods inherited from class momeunit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, setName, setUp, tearDown, toString
 
Methods inherited from class momeunit.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, format
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TestSuite.ErrorTestCase

public TestSuite.ErrorTestCase(String name,
                               Throwable t)
Parameters:
t -
Since:
1.0
Method Detail

test

public void test()
          throws Throwable
Description copied from class: TestCase
Override to run the test and assert its state.

Specified by:
test in class TestCase
Throws:
Throwable - if any exception is thrown