public class TestSliceOp extends TestCase2
SliceOp
.TestCase2.MyProperties, TestCase2.RandomType
_randomType, log
Constructor and Description |
---|
TestSliceOp() |
TestSliceOp(String name) |
Modifier and Type | Method and Description |
---|---|
protected int |
doStressTest(long offset,
long limit,
long timeout,
int ntrials,
int poolSize) |
void |
setUp() |
void |
tearDown() |
void |
test_slice_correctRejection_badLimit() |
void |
test_slice_correctRejection_badOffset() |
void |
test_slice_offset0_limitAll()
Unit test where the slice accepts everything.
|
void |
test_slice_offset1_limit3()
Unit test for correct visitation for a variety of offset/limit values.
|
void |
test_slice_offset2_limit3()
Unit test for correct visitation for a variety of offset/limit values.
|
void |
test_slice_offsetNeverSatisfied()
Unit test where the offset is never satisfied.
|
void |
test_slice_offsetPlusLimitNeverSatisfied()
Unit test where the offset plus the limit is never satisfied.
|
void |
test_slice_threadSafe() |
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 TestSliceOp()
public TestSliceOp(String name)
name
- public void setUp() throws Exception
setUp
in class junit.framework.TestCase
Exception
public void tearDown() throws Exception
tearDown
in class junit.framework.TestCase
Exception
public void test_slice_offset2_limit3() throws InterruptedException, ExecutionException
public void test_slice_offset1_limit3() throws InterruptedException, ExecutionException
public void test_slice_offsetNeverSatisfied() throws InterruptedException, ExecutionException
public void test_slice_offsetPlusLimitNeverSatisfied() throws InterruptedException, ExecutionException
public void test_slice_offset0_limitAll() throws InterruptedException, ExecutionException
public void test_slice_correctRejection_badOffset() throws InterruptedException
InterruptedException
public void test_slice_correctRejection_badLimit() throws InterruptedException
InterruptedException
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.