public class TestSPOKeyOrder extends TestCase2
SPOKeyOrder
.TestCase2.MyProperties, TestCase2.RandomType
_randomType, log
Constructor and Description |
---|
TestSPOKeyOrder() |
TestSPOKeyOrder(String name) |
Modifier and Type | Method and Description |
---|---|
static void |
assertSameIteratorAnyOrder(Object[] expected,
Iterator actual)
Verifies that the iterator visits the specified objects in some arbitrary
ordering and that the iterator is exhausted once all expected objects
have been visited.
|
static void |
assertSameIteratorAnyOrder(String msg,
Object[] expected,
Iterator actual)
Verifies that the iterator visits the specified objects in some arbitrary
ordering and that the iterator is exhausted once all expected objects
have been visited.
|
protected void |
assertSPOCEquals(SPO e,
SPO a) |
protected void |
setUp() |
protected void |
tearDown() |
void |
test_encodeDecode()
Verify that
SPOKeyOrder.encodeKey(com.bigdata.btree.keys.IKeyBuilder, ISPO)
and SPOKeyOrder.decodeKey(byte[]) round trip correctly. |
void |
test_getFromKey_getToKey_quads()
Unit test examines the correct formulation of the from/to keys for the
POCS key order.
|
void |
test_getFromKey_getToKey_triples()
Unit test examines the correct formulation of the from/to keys for the
POS key order.
|
void |
test_keyOrder_quads()
Unit tests verifies all of the quad key encoding orders.
|
void |
test_keyOrder_triples()
Unit tests verifies all of the triple key encoding orders.
|
void |
test_quadStoreKeyOrders_iterator() |
void |
test_serializationSize()
Writes the serialized size of an instance on stdout.
|
void |
test_spocOnlyKeyOrder_iterator() |
void |
test_spoOnlyKeyOrder_iterator() |
void |
test_tripleStoreKeyOrders_iterator() |
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, 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, toString
public TestSPOKeyOrder()
public TestSPOKeyOrder(String name)
name
- protected void setUp() throws Exception
setUp
in class junit.framework.TestCase
Exception
protected void tearDown() throws Exception
tearDown
in class junit.framework.TestCase
Exception
public void test_serializationSize()
SPOKeyOrder.index()
byte value
for an amazing 60 byte savings per instance.public void test_keyOrder_triples()
public void test_keyOrder_quads()
public void test_encodeDecode()
SPOKeyOrder.encodeKey(com.bigdata.btree.keys.IKeyBuilder, ISPO)
and SPOKeyOrder.decodeKey(byte[])
round trip correctly.public void test_getFromKey_getToKey_quads()
public void test_getFromKey_getToKey_triples()
public void test_spoOnlyKeyOrder_iterator()
public void test_spocOnlyKeyOrder_iterator()
public void test_tripleStoreKeyOrders_iterator()
public void test_quadStoreKeyOrders_iterator()
public static void assertSameIteratorAnyOrder(Object[] expected, Iterator actual)
public static void assertSameIteratorAnyOrder(String msg, Object[] expected, Iterator actual)
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.