Package mondrian.rolap
Class BitKeyTest
- java.lang.Object
-
- TestCase
-
- mondrian.rolap.BitKeyTest
-
public class BitKeyTest extends TestCaseUnit test forBitKey.- Author:
- Richard Emberson
-
-
Constructor Summary
Constructors Constructor Description BitKeyTest(String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidtestAnd()Tests the 'and' operation on BitKeysvoidtestAndNot()Tests theBitKey.andNot(BitKey)operation.voidtestBadSize()Test that negative size throws IllegalArgumentException.voidtestClear()Test that after clear the internal values are 0.voidtestCompareTo()Tests the 'compareTo' operation on BitKeysvoidtestCompareUnsigned()voidtestCompareUnsignedLongArrays()voidtestCreateFromBitSet()voidtestEmptyCopyCreatesBitKeyOfTheSameSize()voidtestEquals()Test for equals and not equalsvoidtestGoodSize()Test that non-negative sizes do not throw IllegalArgumentExceptionvoidtestHashCode()voidtestIntersects()Tests the 'intersects' operation on BitKeysvoidtestIsEmpty()voidtestIsSuperSetOf()This test is one BitKey is a subset of another.voidtestIterator()voidtestNewBitKeyIsTheSameAsAClearedBitKey()voidtestNotEquals()Test for not equals and not equalsvoidtestOr()Tests the 'or' operation on BitKeysvoidtestOrNot()Tests the 'nor' operation on BitKeysvoidtestSizeTypes()Test that the implementation object returned is expected type.voidtestToBitSet()Tests theBitKey.toBitSet()method.
-
-
-
Constructor Detail
-
BitKeyTest
public BitKeyTest(String name)
-
-
Method Detail
-
testBadSize
public void testBadSize()
Test that negative size throws IllegalArgumentException.
-
testGoodSize
public void testGoodSize()
Test that non-negative sizes do not throw IllegalArgumentException
-
testSizeTypes
public void testSizeTypes()
Test that the implementation object returned is expected type.
-
testEquals
public void testEquals()
Test for equals and not equals
-
testHashCode
public void testHashCode()
-
testNotEquals
public void testNotEquals()
Test for not equals and not equals
-
testClear
public void testClear()
Test that after clear the internal values are 0.
-
testNewBitKeyIsTheSameAsAClearedBitKey
public void testNewBitKeyIsTheSameAsAClearedBitKey()
-
testEmptyCopyCreatesBitKeyOfTheSameSize
public void testEmptyCopyCreatesBitKeyOfTheSameSize()
-
testIsSuperSetOf
public void testIsSuperSetOf()
This test is one BitKey is a subset of another.
-
testOr
public void testOr()
Tests the 'or' operation on BitKeys
-
testOrNot
public void testOrNot()
Tests the 'nor' operation on BitKeys
-
testAnd
public void testAnd()
Tests the 'and' operation on BitKeys
-
testAndNot
public void testAndNot()
Tests theBitKey.andNot(BitKey)operation.
-
testIntersects
public void testIntersects()
Tests the 'intersects' operation on BitKeys
-
testToBitSet
public void testToBitSet()
Tests theBitKey.toBitSet()method.
-
testCompareTo
public void testCompareTo()
Tests the 'compareTo' operation on BitKeys
-
testCreateFromBitSet
public void testCreateFromBitSet()
-
testIsEmpty
public void testIsEmpty()
-
testIterator
public void testIterator()
-
testCompareUnsigned
public void testCompareUnsigned()
-
testCompareUnsignedLongArrays
public void testCompareUnsignedLongArrays()
-
-