public class TestWORMStrategyOneCacheBuffer extends AbstractJournalTestCase
WORMStrategy
journals which runs with a single
WriteCache
buffer. The purpose of this version of the test suite is
to look for deadlocks or other problems related to having a single
WriteCache
buffer.Modifier and Type | Class and Description |
---|---|
static class |
TestWORMStrategyOneCacheBuffer.TestInterrupts
Test suite integration for
AbstractInterruptsTestCase . |
static class |
TestWORMStrategyOneCacheBuffer.TestMRMW
Test suite integration for
AbstractMRMWTestCase . |
static class |
TestWORMStrategyOneCacheBuffer.TestMROW
Test suite integration for
AbstractMROWTestCase . |
static class |
TestWORMStrategyOneCacheBuffer.TestRawStore
Test suite integration for
AbstractRestartSafeTestCase . |
TestCase2.MyProperties, TestCase2.RandomType
_randomType, log
Constructor and Description |
---|
TestWORMStrategyOneCacheBuffer() |
TestWORMStrategyOneCacheBuffer(String name) |
Modifier and Type | Method and Description |
---|---|
Properties |
getProperties()
Returns properties read from a hierarchy of sources.
|
static junit.framework.Test |
suite() |
void |
test_create_disk01()
Verify normal operation and basic assumptions when creating a new journal
using
BufferMode.DiskWORM . |
void |
test_create_emptyFile()
Unit test verifies that
Options.CREATE may be used to initialize
a journal on a newly created empty file. |
getStore, reopenStore, 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 TestWORMStrategyOneCacheBuffer()
public TestWORMStrategyOneCacheBuffer(String name)
public static junit.framework.Test suite()
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
public void test_create_disk01() throws IOException
BufferMode.DiskWORM
.IOException
public void test_create_emptyFile() throws IOException
Options.CREATE
may be used to initialize
a journal on a newly created empty file.IOException
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.