org.eigenbase.test
Class ExclusivePipeTest
java.lang.Object
junit.framework.Assert
junit.framework.TestCase
org.eigenbase.test.ExclusivePipeTest
- All Implemented Interfaces:
- Test
public class ExclusivePipeTest
- extends TestCase
Testcase for ExclusivePipe
.
Nested Class Summary |
private static class |
ExclusivePipeTest.Consumer
Consumer thread reads words from a pipe, comparing with the list of
expected words, until it has read all of the words it expects to see. |
private static class |
ExclusivePipeTest.Producer
Producer thread writes a list of words into a pipe. |
Method Summary |
void |
test()
|
Methods inherited from class junit.framework.TestCase |
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, tearDown, toString |
Methods inherited from class junit.framework.Assert |
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, fail, fail, failNotEquals, failNotSame, failSame, format |
BUF_BYTES
private static final int BUF_BYTES
- See Also:
- Constant Field Values
timeoutMillis
private static final int timeoutMillis
- See Also:
- Constant Field Values
words
private static final String[] words
ExclusivePipeTest
public ExclusivePipeTest()
test
public void test()