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.
AbstractTestCase
AbstractTestCase.StatementVerifier
TestCase2.MyProperties, TestCase2.RandomType
NULL
_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, tearDown
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, logProperties
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, getName, run, run, runBare, runTest, setName, toString
public ProxyTestCase()
public ProxyTestCase(String name)
public void setDelegate(junit.framework.Test delegate)
IProxyTest
ProxyTestSuite
uses this method to
set the delegate on each test class instance that it creates
that implements the IProxyTest
interface.setDelegate
in interface IProxyTest
public junit.framework.Test getDelegate() throws IllegalStateException
IProxyTest
null
if
the delegate was not established.getDelegate
in interface IProxyTest
IllegalStateException
public AbstractTestCase getOurDelegate()
AbstractTestCase
.protected void setUp() throws Exception
setUp
in class junit.framework.TestCase
Exception
protected void tearDown() throws Exception
tearDown
in class junit.framework.TestCase
Exception
public Properties getProperties()
getProperties
in class AbstractTestCase
protected AbstractTripleStore getStore()
protected AbstractTripleStore getStore(Properties properties)
getStore
in class AbstractTestCase
protected AbstractTripleStore reopenStore(AbstractTripleStore store)
reopenStore
in class AbstractTestCase
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.