public abstract class ProxyTestCase extends AbstractTestCase implements IProxyTest
This class provides proxy delegation logic for abstract methods declared by
AbstractTestCase and is used to extend the set of tests that will be
applied to all implementations of the generic object model Java API. If you
want to test a new implementation, you MUST extend the
AbstractTestCase instead and implement its abstract methods for your
implementation. This class provides an implementation neutral way to add new
tests, not a means for testing specific generic object model Java API
implementations.
In order to add new tests for the generic object model Java APIs, you extend this class and write test methods.
AbstractTestCaseAbstractTestCase.StatementVerifierTestCase2.MyProperties, TestCase2.RandomTypeNULL_randomType, log| Constructor and Description |
|---|
ProxyTestCase() |
ProxyTestCase(String name) |
| Modifier and Type | Method and Description |
|---|---|
junit.framework.Test |
getDelegate()
Returns the reference to the delegate or
null if
the delegate was not established. |
AbstractTestCase |
getOurDelegate()
Returns the delegate after first making sure that it is non-null and
extends
AbstractTestCase. |
Properties |
getProperties()
The properties as configured by the delegate.
|
protected AbstractTripleStore |
getStore()
Create a triple store instance using the delegate and using the
properties as configured by the delegate.
|
protected AbstractTripleStore |
getStore(Properties properties)
Create a triple store instance using the delegate using the specified
properties (typically overriding one or more properties).
|
protected AbstractTripleStore |
reopenStore(AbstractTripleStore store)
Close and then re-open the triple store.
|
void |
setDelegate(junit.framework.Test delegate)
Sets the delegate.
|
protected void |
setUp() |
protected void |
tearDown() |
assertEquals, assertEquals, assertEquals, assertEquals, assertLexiconIndicesConsistent, assertSameSPOs, assertSameSPOs, assertSameSPOsAnyOrder, assertSameSPOsAnyOrder, assertSameStatements, assertSameStatements, assertStatementIndicesConsistent, checkIfProxy, recursiveDelete, setUp, tearDownassertEquals, 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, toStringpublic ProxyTestCase()
public ProxyTestCase(String name)
public void setDelegate(junit.framework.Test delegate)
IProxyTestProxyTestSuite uses this method to
set the delegate on each test class instance that it creates
that implements the IProxyTest interface.setDelegate in interface IProxyTestpublic junit.framework.Test getDelegate()
throws IllegalStateException
IProxyTestnull if
the delegate was not established.getDelegate in interface IProxyTestIllegalStateExceptionpublic AbstractTestCase getOurDelegate()
AbstractTestCase.protected void setUp()
throws Exception
setUp in class junit.framework.TestCaseExceptionprotected void tearDown()
throws Exception
tearDown in class junit.framework.TestCaseExceptionpublic Properties getProperties()
getProperties in class AbstractTestCaseprotected AbstractTripleStore getStore()
protected AbstractTripleStore getStore(Properties properties)
getStore in class AbstractTestCaseprotected AbstractTripleStore reopenStore(AbstractTripleStore store)
reopenStore in class AbstractTestCaseCopyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.