public abstract class AbstractIndexManagerTestCase<S extends IIndexManager> extends TestCase2
TestCase2.MyProperties, TestCase2.RandomType_randomType, log| Constructor and Description |
|---|
AbstractIndexManagerTestCase() |
AbstractIndexManagerTestCase(String name) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkIfProxy()
This method is invoked from methods that MUST be proxied to this class.
|
protected abstract S |
getIndexManager() |
Properties |
getProperties() |
void |
setUp(ProxyTestCase<S> testCase)
Invoked from
TestCase.setUp() for each test in the suite. |
void |
tearDown() |
void |
tearDown(ProxyTestCase<S> testCase)
Invoked from
TestCase.tearDown() for each test in the suite. |
void |
tearDownAfterSuite() |
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEqualsWithinUlps, assertSameArray, assertSameArray, assertSameBigDecimal, assertSameBigDecimal, assertSameBigInteger, assertSameBigInteger, assertSameIterator, assertSameIterator, assertSameIteratorAnyOrder, assertSameIteratorAnyOrder, assertSameValue, assertSameValue, assertZeroUlps, assertZeroUlps, fail, getInnerCause, getNormalInt, getProjectBuildPath, getRandomObject, getRandomObject, getRandomOrder, getRandomString, getTestInputStream, getTestResource, getTestResource, getUlps, getUlps, isDEBUG, isDEBUG, isINFO, isINFO, isInnerCause, logPropertiesassertEquals, 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, getName, run, run, runBare, runTest, setName, setUp, toStringpublic AbstractIndexManagerTestCase()
public AbstractIndexManagerTestCase(String name)
public void setUp(ProxyTestCase<S> testCase) throws Exception
TestCase.setUp() for each test in the suite.Exceptionpublic void tearDown(ProxyTestCase<S> testCase) throws Exception
TestCase.tearDown() for each test in the suite.Exceptionpublic void tearDown()
throws Exception
public Properties getProperties()
getProperties in class TestCase2protected abstract S getIndexManager()
protected final void checkIfProxy()
GenericProxyTestCase extends this class, as do the concrete
classes that drive the test suite for specific GOM integration test
configuration. Many methods on this class must be proxied from
GenericProxyTestCase to the delegate. Invoking this method from
the implementations of those methods in this class provides a means of
catching omissions where the corresponding method is NOT being delegated.
Failure to delegate these methods means that you are not able to share
properties or object manager instances across tests, which means that you
can not do configuration-based testing of integrations and can also wind
up with mutually inconsistent test fixtures between the delegate and each
proxy test.public void tearDownAfterSuite()
Copyright © 2006–2016 SYSTAP, LLC DBA Blazegraph. All rights reserved.