public class TestRandomBlockOps extends AbstractRepositoryTestCase
Modifier and Type | Class and Description |
---|---|
protected static class |
TestRandomBlockOps.StressTest
Stress test helper class.
|
static class |
TestRandomBlockOps.TestOp
Tests of the
Op test helper class. |
TestCase2.MyProperties, TestCase2.RandomType
BLOCK_SIZE, repo
client, dataService0, dataService1, fed, metadataService
keyBuilder, log, r
_randomType
Constructor and Description |
---|
TestRandomBlockOps() |
TestRandomBlockOps(String arg0) |
Modifier and Type | Method and Description |
---|---|
void |
test_deleteH()
Test for delete of the head block.
|
void |
test_stress()
A small stress test for a single file version.
|
void |
test_write01()
Tests random write of a block, read back of the data, overwrite of the
same block, atomic append after the random write, and random delete.
|
void |
test_write02()
Unit test where a block is written using a random write, replaced with an
empty block, and then replaced with a non-empty block.
|
getProperties, read, read, setUp, tearDown
assertEquals, assertEquals, assertEquals, assertIndexRegistered, awaitAsynchronousOverflow, getPartitionCount
assertChildKeys, assertEntryCounts, assertKeys, assertKeys, assertKeys, assertSameAbstractNodeData, assertSameBTree, assertSameEntryIterator, assertSameEntryIterator, assertSameIterator, assertSameIterator, assertSameLeaf, assertSameLeafData, assertSameNode, assertSameNodeData, assertSameNodeOrLeaf, assertSameRaba, assertValues, assertValues, doEntryIteratorTest, doInsertKeySequenceTest, doInsertLookupRemoveStressTest, doInsertRandomKeySequenceTest, doInsertRandomKeySequenceTest, doInsertRandomSparseKeySequenceTest, doKnownKeySequenceTest, doRandomIndexOfTest, doRandomKeyInsertTest, doRandomLookupTest, doRemoveStructureStressTest, doSplitTest, doSplitWithDecreasingKeySequence, doSplitWithIncreasingKeySequence, doSplitWithRandomDenseKeySequence, getBTree, getBTree, getKeysAndValues, getRandomKeys, getRandomKeyValues, i2k, nextLong, useRawRecords
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 TestRandomBlockOps()
public TestRandomBlockOps(String arg0)
arg0
- public void test_write01() throws IOException
IOException
public void test_write02() throws IOException
IOException
public void test_deleteH() throws IOException
IOException
public void test_stress()
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.