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, setUp
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 TestResourceManagerBootstrap()
public TestResourceManagerBootstrap(String name)
name
- public void tearDown() throws Exception
tearDown
in class AbstractResourceManagerBootstrapTestCase
Exception
public 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.IOException
public void test_restartWithTwoJournals() throws IOException
ResourceManager
. A directory is
created and pre-populated with two Journal
s. The
ResourceManager
is started and we verify that it locates the
various resources and opens the correct Journal
as its "live"
journal.IOException
public void test_restartWithIndexSegments() throws Exception
ResourceManager
. A directory is
created and pre-populated with a Journal
and some
IndexSegment
s 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.IOException
Exception
public 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.IOException
Exception
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.