public class AbstractResourceManagerTestCase extends AbstractResourceManagerBootstrapTestCase
ResourceManager
test suites that can use normal
startup and shutdown.Modifier and Type | Class and Description |
---|---|
protected class |
AbstractResourceManagerTestCase.MockFederation
A minimal implementation of only those methods actually utilized by the
ResourceManager during the unit tests. |
protected static class |
AbstractResourceManagerTestCase.MockMetadataService
A minimal implementation of
IMetadataService - only those methods
actually used by the ResourceManager are implemented. |
TestCase2.MyProperties, TestCase2.RandomType
Modifier and Type | Field and Description |
---|---|
protected ConcurrencyManager |
concurrencyManager |
protected AbstractLocalTransactionManager |
localTransactionManager |
protected IMetadataService |
metadataService |
protected ResourceManager |
resourceManager |
_randomType, log
Constructor and Description |
---|
AbstractResourceManagerTestCase() |
AbstractResourceManagerTestCase(String arg0) |
Modifier and Type | Method and Description |
---|---|
protected void |
assertSameResources(IRawStore[] expected,
Set<UUID> actual)
Test helper.
|
Properties |
getProperties()
Forces the use of persistent journals so that we can do overflow
operations and the like.
|
protected void |
registerIndex(String name)
Utility method to register an index partition on the
resourceManager . |
protected void |
setUp()
Setup test fixtures.
|
protected void |
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
protected IMetadataService metadataService
protected ResourceManager resourceManager
protected ConcurrencyManager concurrencyManager
protected AbstractLocalTransactionManager localTransactionManager
public AbstractResourceManagerTestCase()
public AbstractResourceManagerTestCase(String arg0)
arg0
- public Properties getProperties()
getProperties
in class AbstractResourceManagerBootstrapTestCase
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.protected void setUp() throws Exception
setUp
in class AbstractResourceManagerBootstrapTestCase
Exception
protected void tearDown() throws Exception
tearDown
in class AbstractResourceManagerBootstrapTestCase
Exception
protected void registerIndex(String name) throws InterruptedException, ExecutionException
resourceManager
.Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.