G - the type of the test generator required by this tester. An
instance of G should somehow provide an instance of the class under test,
plus any other information required to parameterize the test.@GwtCompatible
public class AbstractTester<G>
extends junit.framework.TestCase
This class is emulated in GWT.
| Constructor and Description |
|---|
AbstractTester() |
| Modifier and Type | Method and Description |
|---|---|
String |
getName() |
G |
getSubjectGenerator() |
String |
getTestMethodName()
Returns the name of the test method invoked by this test instance.
|
void |
init(G subjectGenerator,
String suiteName) |
void |
init(G subjectGenerator,
String suiteName,
Runnable setUp,
Runnable tearDown) |
void |
setUp() |
void |
tearDown() |
countTestCases, createResult, run, run, runBare, runTest, setName, 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, failSame, formatpublic void setUp()
throws Exception
setUp in class junit.framework.TestCaseExceptionpublic void tearDown()
throws Exception
tearDown in class junit.framework.TestCaseExceptionpublic final void init(G subjectGenerator, String suiteName, Runnable setUp, Runnable tearDown)
public G getSubjectGenerator()
public final String getTestMethodName()
public String getName()
getName in class junit.framework.TestCaseCopyright © 2010-2016. All Rights Reserved.