public class TestJournal extends AbstractJournalTestCase
ProxyTestCase
s for services running against a
Journal
.TestCase2.MyProperties, TestCase2.RandomType
_randomType, log
Constructor and Description |
---|
TestJournal() |
TestJournal(String name) |
Modifier and Type | Method and Description |
---|---|
Properties |
getProperties()
Returns properties read from a hierarchy of sources.
|
protected Journal |
reopenStore(Journal store)
Extends the basic behavior to force a commit of the
Journal . |
getStore, setUp, tearDown
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 TestJournal()
public TestJournal(String name)
public Properties getProperties()
AbstractJournalTestCase
Returns properties read from a hierarchy of sources. The underlying properties read from those sources are cached, but a new properties object is returned on each invocation (to prevent side effects by the caller).
In general, a test configuration critically relies on both the properties returned by this method and the appropriate properties must be provided either through the command line or in a properties file.
getProperties
in class AbstractJournalTestCase
protected Journal reopenStore(Journal store)
Journal
.
This makes the Journal
appear to have "auto-commit" semantics
from the perspective of the unit tests that are written to the assumption
that the IIndexManager
is an IBigdataFederation
.
Otherwise those unit tests tend not to force a commit and hence
restart-safe tests tend to fail for one reason or another.reopenStore
in class AbstractJournalTestCase
store
- the existing store.Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.