Package io.github.astrapi69
Class AbstractTestCase<A,E>
- java.lang.Object
-
- io.github.astrapi69.AbstractTestCase<A,E>
-
- Type Parameters:
A
- the generic type for the actualE
- the element type for the expected
- Direct Known Subclasses:
BaseComparatorTestCase
,BaseTestCase
public abstract class AbstractTestCase<A,E> extends java.lang.Object
The abstract classAbstractTestCase
is for unit tests.
-
-
Constructor Summary
Constructors Constructor Description AbstractTestCase()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
setUp()
Sets up method will be invoked before every unit test methodprotected void
tearDown()
Tear down method will be invoked after every unit test method
Note: callsuper.tearDown()
if you overwrite it for set actual and expected to null
-
-
-
Method Detail
-
setUp
@BeforeMethod protected void setUp() throws java.lang.Exception
Sets up method will be invoked before every unit test method- Throws:
java.lang.Exception
- is thrown if an exception occurs
-
tearDown
@AfterMethod protected void tearDown() throws java.lang.Exception
Tear down method will be invoked after every unit test method
Note: callsuper.tearDown()
if you overwrite it for set actual and expected to null- Throws:
java.lang.Exception
- is thrown if an exception occurs
-
-