public class TestEDS extends AbstractIndexManagerTestCase<EmbeddedFederation>
ProxyTestCase
s for services running against an
EmbeddedFederation
.TestCase2.MyProperties, TestCase2.RandomType
_randomType, log
Modifier and Type | Method and Description |
---|---|
Properties |
getProperties()
Reads in the configuration properties for the test from a
variety of resources and returns a properties hierarchy.
|
protected EmbeddedFederation |
getStore(Properties properties)
Open/create an
IIndexManager using the given properties. |
protected EmbeddedFederation |
reopenStore(EmbeddedFederation fed)
Close and then re-open an
IIndexManager backed by the same
persistent data. |
void |
setUp(ProxyTestCase testCase)
Data files are placed into a directory named by the test.
|
void |
tearDown(ProxyTestCase testCase)
Optional cleanup after the test runs, but sometimes its helpful to be
able to see what was created in the file system.
|
checkIfProxy, fail, getRandomData, setUp, tearDown
assertCondition, assertCondition, assertEquals, assertEquals, getBytes, getPort, getRandomData, getRandomData
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 TestEDS()
public TestEDS(String name)
name
- public Properties getProperties()
TestCase2
Properties
object, then the lower levels of the
hierarchy are recursively searched.The hierarchy is constructed from the following properties files in the following order. The first property file in this list corresponds to the top of the property hierarchy. The last property file in this list corresponds to the bottom of the property hierarchy. The property resources are:
getProperties
in class AbstractIndexManagerTestCase<EmbeddedFederation>
Properties
object that supplies bindings for
property names according to the described hierarchy among
property resources. The returned Properties
is NOT
cached.
TODO This does not handle the recursive truncation of the
class name to search for "test.properties" yet.public void setUp(ProxyTestCase testCase) throws Exception
setUp
in class AbstractIndexManagerTestCase<EmbeddedFederation>
Exception
public void tearDown(ProxyTestCase testCase) throws Exception
tearDown
in class AbstractIndexManagerTestCase<EmbeddedFederation>
Exception
protected EmbeddedFederation getStore(Properties properties)
AbstractIndexManagerTestCase
IIndexManager
using the given properties.getStore
in class AbstractIndexManagerTestCase<EmbeddedFederation>
protected EmbeddedFederation reopenStore(EmbeddedFederation fed)
AbstractIndexManagerTestCase
IIndexManager
backed by the same
persistent data.reopenStore
in class AbstractIndexManagerTestCase<EmbeddedFederation>
fed
- the existing store.Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.