public class TestSPOKeyCoders extends TestCase2
TestCase2.MyProperties, TestCase2.RandomType
_randomType, log
Constructor and Description |
---|
TestSPOKeyCoders() |
TestSPOKeyCoders(String arg0) |
Modifier and Type | Method and Description |
---|---|
protected void |
doRoundTripTest(SPO[] a,
IRabaCoder rabaCoder)
Do a round-trip test test.
|
protected void |
doRoundTripTests(IRabaCoder rabaCoder) |
protected SPO[] |
getData(int n)
Return an array of
SPO s. |
protected IV<?,?> |
getTermId()
Random non-SID
IV . |
protected void |
setUp() |
protected void |
tearDown() |
void |
test_canonicalHuffmanCoder_int8() |
void |
test_frontCoder_int8() |
void |
test_simpleCoder() |
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, toString
public TestSPOKeyCoders()
public TestSPOKeyCoders(String arg0)
arg0
- protected void setUp() throws Exception
setUp
in class junit.framework.TestCase
Exception
protected void tearDown() throws Exception
tearDown
in class junit.framework.TestCase
Exception
protected SPO[] getData(int n)
SPO
s.n
- The #of elements in the array.public void test_simpleCoder()
public void test_frontCoder_int8()
public void test_canonicalHuffmanCoder_int8()
protected void doRoundTripTests(IRabaCoder rabaCoder)
protected void doRoundTripTest(SPO[] a, IRabaCoder rabaCoder)
a
- The array of SPO
s.rabaCoder
- The compression provider.IOException
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.