public class TestTemporaryStore extends AbstractRawStoreTestCase
TemporaryStore (temporary store with named indices).| Modifier and Type | Class and Description |
|---|---|
static class |
TestTemporaryStore.TestInterrupts
Test suite integration for
TestTemporaryStore.TestInterrupts. |
static class |
TestTemporaryStore.TestMRMW
Test suite integration for
AbstractMRMWTestCase. |
static class |
TestTemporaryStore.TestMROW
Test suite integration for
AbstractMROWTestCase. |
static class |
TestTemporaryStore.TestRawStore
Test suite integration for
AbstractRawStoreTestCase. |
TestCase2.MyProperties, TestCase2.RandomTyper_randomType, log| Constructor and Description |
|---|
TestTemporaryStore() |
TestTemporaryStore(String name) |
| Modifier and Type | Method and Description |
|---|---|
protected IRawStore |
getStore()
Return a new store that will serve as the fixture for the test.
|
static junit.framework.Test |
suite() |
void |
test_overflow()
Unit test for
AbstractBufferStrategy.overflow(long). |
void |
test_registerAndUseBTree()
|
void |
test_registerAndUseHTree()
|
void |
test_writeNoExtend()
Test verifies that a write up to the remaining extent does not trigger an
overflow.
|
void |
test_writeWithExtend()
Test verifies that a write over the remaining extent triggers an
overflow.
|
protected long |
writeRandomData(TemporaryRawStore store,
long nbytesToWrite)
Write random bytes on the store.
|
getRandomData, test_close, test_multipleWrites, test_read_correctRejection_0L, test_read_correctRejection_zeroLength, test_readImmutable, test_write_correctRejection_emptyRecord, test_write_correctRejection_null, test_writeImmutable, test_writeRead, test_writeReadRead, testBlobObjectStreams, testEmptyStream, testSimpleStringStream, testSimpleStringStreamFromStandardAllocation, testZipStreamsassertCondition, assertCondition, assertEquals, assertEquals, getBytes, getPort, getRandomData, getRandomData, setUp, tearDownassertEquals, 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, getProperties, 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 TestTemporaryStore()
public TestTemporaryStore(String name)
name - public static junit.framework.Test suite()
protected IRawStore getStore()
AbstractRawStoreTestCasegetStore in class AbstractRawStoreTestCasepublic void test_overflow()
AbstractBufferStrategy.overflow(long). The test
verifies that the extent and the user extent are correctly updated after
an overflow.protected long writeRandomData(TemporaryRawStore store, long nbytesToWrite)
store - The store.nbytesToWrite - The #of bytes to be written. If this is larger than the
maximum record length then multiple records will be written.public void test_writeNoExtend()
public void test_writeWithExtend()
public void test_registerAndUseBTree()
BTree, including
whether the named BTree is restart safe.TestNamedIndicespublic void test_registerAndUseHTree()
HTree, including
whether the named HTree is restart safe.TestNamedIndicesCopyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.