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() |
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, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, run, run, runBare, runTest, setName, toStringpublic AbstractTester()
public 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()
Copyright © 2010–2019. All rights reserved.