public class TestBlockingBufferWithChunksDeque extends TestCase2
BlockingBuffer
and its IAsynchronousIterator
when using an array type for the elements (chunk processing) and a
BlockingDeque
, which permits combination of chunks as they are added
to the buffer.TestCase2.MyProperties, TestCase2.RandomType
_randomType, log
Constructor and Description |
---|
TestBlockingBufferWithChunksDeque() |
TestBlockingBufferWithChunksDeque(String arg0) |
Modifier and Type | Method and Description |
---|---|
protected void |
tearDown() |
void |
test_blockingBuffer()
Basic test of the ability to add to a buffer with a fixed capacity queue
and to drain the elements from the queue including tests of the
non-blocking aspects of the API.
|
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, toString
public TestBlockingBufferWithChunksDeque()
public TestBlockingBufferWithChunksDeque(String arg0)
arg0
- protected void tearDown() throws Exception
tearDown
in class junit.framework.TestCase
Exception
public void test_blockingBuffer() throws InterruptedException, ExecutionException, TimeoutException
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.