public class TestResourceManagerBootstrap extends AbstractResourceManagerBootstrapTestCase
ResourceManager.| Modifier and Type | Class and Description |
|---|---|
protected static class |
TestResourceManagerBootstrap.MyResourceManager |
TestCase2.MyProperties, TestCase2.RandomType_randomType, log| Constructor and Description |
|---|
TestResourceManagerBootstrap() |
TestResourceManagerBootstrap(String name) |
| Modifier and Type | Method and Description |
|---|---|
void |
tearDown()
Removes the per-test data directory.
|
void |
test_create()
Test creation of a new
ResourceManager. |
void |
test_openIndexPartition()
A test for restart of the
ResourceManager. |
void |
test_restartWithIndexSegments()
A test for restart of the
ResourceManager. |
void |
test_restartWithTwoJournals()
A test for restart of the
ResourceManager. |
getProperties, setUpassertEquals, 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 TestResourceManagerBootstrap()
public TestResourceManagerBootstrap(String name)
name - public void tearDown()
throws Exception
tearDown in class AbstractResourceManagerBootstrapTestCaseExceptionpublic void test_create()
throws IOException
ResourceManager. This verifies the
correct creation of the data directory, the various subdirectories, and
the initial journal in the appropriate subdirectory.IOExceptionpublic void test_restartWithTwoJournals()
throws IOException
ResourceManager. A directory is
created and pre-populated with two Journals. The
ResourceManager is started and we verify that it locates the
various resources and opens the correct Journal as its "live"
journal.IOExceptionpublic void test_restartWithIndexSegments()
throws Exception
ResourceManager. A directory is
created and pre-populated with a Journal and some
IndexSegments are constructed from data on that Journal.
The ResourceManager is started and we verify that it locates the
various resources and opens the correct Journal as its "live"
journal.IOExceptionExceptionpublic void test_openIndexPartition()
throws Exception
ResourceManager. A directory is
created and pre-populated with a Journal. An index is registered
on the journal and some data is written on the index. An
IndexSegment constructed from data on that index. The
ResourceManager is started and we verify that it locates the
various resources and opens the correct Journal as its "live"
journal.IOExceptionExceptionCopyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.