public class TestTPS extends TestCase2 implements IRowStoreConstants
TPS
(property timestamp set implementation).TestCase2.MyProperties, TestCase2.RandomType
_randomType, log
AUTO_TIMESTAMP, AUTO_TIMESTAMP_UNIQUE, CURRENT_ROW, MAX_TIMESTAMP, MIN_TIMESTAMP
Modifier and Type | Method and Description |
---|---|
protected void |
assertEquals(String msg,
Schema expected,
Schema actual) |
protected void |
assertEquals(TPS.TPV expected,
TPS.TPV actual) |
protected void |
assertEquals(TPS expected,
TPS actual)
Asserts the same schema and the same tuples.
|
protected void |
assertRoundTrip(TPS expected)
Test helper for (de-)serialization tests.
|
void |
test_currentRow()
Unit tests for
TPS.currentRow(INameFilter) |
void |
test_filter()
Unit tests for
TPS.filter(long, long, INameFilter) |
void |
test_getPrimaryKey() |
void |
test_getSet_boundDeleted() |
void |
test_getSet_boundOnce() |
void |
test_getSet_boundReboundEarlierTimestamp() |
void |
test_getSet_boundReboundLaterTimestamp() |
void |
test_getSet_boundReboundSameTimestamp() |
void |
test_getSet_neverBound()
Test get/set semantics.
|
void |
test_roundTrip01()
Tests a series of bindings for one property.
|
void |
test_roundTrip02()
Tests a series of bindings for one property where each binding of the
property uses a different
ValueType . |
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, setUp, tearDown, toString
public TestTPS()
public TestTPS(String arg0)
arg0
- public void test_getSet_neverBound()
public void test_getPrimaryKey()
public void test_getSet_boundOnce()
public void test_getSet_boundReboundSameTimestamp()
public void test_getSet_boundReboundEarlierTimestamp()
public void test_getSet_boundReboundLaterTimestamp()
public void test_getSet_boundDeleted()
public void test_roundTrip01() throws IOException, ClassNotFoundException
ClassNotFoundException
IOException
public void test_roundTrip02() throws IOException, ClassNotFoundException
ValueType
.IOException
ClassNotFoundException
public void test_currentRow()
TPS.currentRow(INameFilter)
public void test_filter()
TPS.filter(long, long, INameFilter)
protected void assertRoundTrip(TPS expected) throws IOException, ClassNotFoundException
expected
- IOException
ClassNotFoundException
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.