public class TestSPOValueCoders extends TestCase2
StatementEnum
. If statement identifiers
and truth maintenance are both enabled, then both the SID and the
StatementEnum
are stored as the value under the key.TestCase2.MyProperties, TestCase2.RandomType
_randomType, log
Constructor and Description |
---|
TestSPOValueCoders() |
TestSPOValueCoders(String arg0) |
Modifier and Type | Method and Description |
---|---|
protected void |
doRoundTripTest(SPO[] a,
IRabaCoder rabaCoder,
boolean sids)
Do a round-trip test test.
|
protected void |
doRoundTripTests(IRabaCoder rabaCoder,
boolean SIDs,
boolean inference) |
protected SPO[] |
getData(int n,
boolean SIDs,
boolean inference)
Return an array of
SPO s. |
protected void |
setUp() |
protected void |
tearDown() |
void |
test_FastRDFValueCoder2_001()
Simple tests for
FastRDFValueCoder2 . |
void |
test_FastRDFValueCoder2() |
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 TestSPOValueCoders()
public TestSPOValueCoders(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, boolean SIDs, boolean inference)
SPO
s.n
- The #of elements in the array.SIDs
- If statement identifiers should be generated.inference
- if StatementEnum
s should be assigned.public void test_simpleCoder()
public void test_FastRDFValueCoder2_001()
FastRDFValueCoder2
.
Note: this does not cover nulls or overrides, but the stress tests covers both.
public void test_FastRDFValueCoder2()
protected void doRoundTripTests(IRabaCoder rabaCoder, boolean SIDs, boolean inference)
protected void doRoundTripTest(SPO[] a, IRabaCoder rabaCoder, boolean sids)
a
- The array of SPO
s.rabaCoder
- The compression provider.IOException
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.