|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object junit.framework.Assert junit.framework.TestCase mondrian.rolap.BitKeyTest
public class BitKeyTest
Unit test for BitKey
.
Constructor Summary | |
---|---|
BitKeyTest(String name)
|
Method Summary | |
---|---|
void |
testAnd()
Tests the 'and' operation on BitKeys |
void |
testAndNot()
Tests the BitKey.andNot(BitKey) operation. |
void |
testBadSize()
Test that negative size throws IllegalArgumentException. |
void |
testClear()
Test that after clear the internal values are 0. |
void |
testCompareTo()
Tests the 'compareTo' operation on BitKeys |
void |
testCompareUnsigned()
|
void |
testCompareUnsignedLongArrays()
|
void |
testCreateFromBitSet()
|
void |
testEmptyCopyCreatesBitKeyOfTheSameSize()
|
void |
testEquals()
Test for equals and not equals |
void |
testGoodSize()
Test that non-negative sizes do not throw IllegalArgumentException |
void |
testHashCode()
|
void |
testIntersects()
Tests the 'intersects' operation on BitKeys |
void |
testIsEmpty()
|
void |
testIsSuperSetOf()
This test is one BitKey is a subset of another. |
void |
testIterator()
|
void |
testNewBitKeyIsTheSameAsAClearedBitKey()
|
void |
testNotEquals()
Test for not equals and not equals |
void |
testOr()
Tests the 'or' operation on BitKeys |
void |
testOrNot()
Tests the 'nor' operation on BitKeys |
void |
testSizeTypes()
Test that the implementation object returned is expected type. |
void |
testToBitSet()
Tests the BitKey.toBitSet() method. |
Methods inherited from class junit.framework.TestCase |
---|
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, tearDown, toString |
Methods inherited from class junit.framework.Assert |
---|
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, fail, fail |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public BitKeyTest(String name)
Method Detail |
---|
public void testBadSize()
public void testGoodSize()
public void testSizeTypes()
public void testEquals()
public void testHashCode()
public void testNotEquals()
public void testClear()
public void testNewBitKeyIsTheSameAsAClearedBitKey()
public void testEmptyCopyCreatesBitKeyOfTheSameSize()
public void testIsSuperSetOf()
public void testOr()
public void testOrNot()
public void testAnd()
public void testAndNot()
BitKey.andNot(BitKey)
operation.
public void testIntersects()
public void testToBitSet()
BitKey.toBitSet()
method.
public void testCompareTo()
public void testCreateFromBitSet()
public void testIsEmpty()
public void testIterator()
public void testCompareUnsigned()
public void testCompareUnsignedLongArrays()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |