public class TestIndexCounter extends AbstractBTreeTestCase
IIndexLocalCounter.getCounter()
interface.TestCase2.MyProperties, TestCase2.RandomType
keyBuilder, log, r
_randomType
Constructor and Description |
---|
TestIndexCounter() |
TestIndexCounter(String name) |
Modifier and Type | Method and Description |
---|---|
void |
test_counter_overflow()
Unit test for overflow conditions at the int32 and int64 boundary for
BTree.Counter . |
void |
test_counter()
Unit test for
BTree.Counter to verify basic increment behavior. |
void |
test_partitionedCounter_pid0()
Unit tests for
BTree.PartitionedCounter when the partition identifier
is ZERO (0). |
void |
test_partitionedCounter_pidMaxSignedInt()
Unit tests for
BTree.PartitionedCounter when the partition identifier
is Integer.MAX_VALUE . |
void |
test_partitionedCounter_pidMinSignedInt()
Unit tests for
BTree.PartitionedCounter when the partition identifier
is Integer.MIN_VALUE . |
void |
test_partitionedCounter_pidMinusOne()
Unit tests for
BTree.PartitionedCounter when the partition identifier
is -1 . |
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, getProperties, 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, setUp, tearDown, toString
public TestIndexCounter()
public TestIndexCounter(String name)
name
- public void test_counter()
BTree.Counter
to verify basic increment behavior.public void test_counter_overflow()
BTree.Counter
.public void test_partitionedCounter_pid0()
BTree.PartitionedCounter
when the partition identifier
is ZERO (0).public void test_partitionedCounter_pidMaxSignedInt()
BTree.PartitionedCounter
when the partition identifier
is Integer.MAX_VALUE
.public void test_partitionedCounter_pidMinSignedInt()
BTree.PartitionedCounter
when the partition identifier
is Integer.MIN_VALUE
.public void test_partitionedCounter_pidMinusOne()
BTree.PartitionedCounter
when the partition identifier
is -1
.Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.