public class TestAltHALogWriter
extends junit.framework.TestCase
| Constructor and Description |
|---|
TestAltHALogWriter() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
setUp() |
protected void |
tearDown() |
void |
testDisableLogFile() |
void |
testSimpleRWWriter()
Simple writelog test, open file, write data and commit.
|
void |
testSimpleRWWriterReader()
Simple WriteReader, no concurrency, confirms non-delayed responses.
|
void |
testStressConcurrentRWWriterReader()
While a writer thread writes a number of HALogs, readers are opened to
process them.
|
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, toStringprotected void setUp()
setUp in class junit.framework.TestCaseprotected void tearDown()
tearDown in class junit.framework.TestCasepublic void testSimpleRWWriter()
throws FileNotFoundException,
IOException
FileNotFoundExceptionIOExceptionpublic void testSimpleRWWriterReader()
throws FileNotFoundException,
IOException
FileNotFoundExceptionIOExceptionpublic void testDisableLogFile()
throws IOException
IOExceptionpublic void testStressConcurrentRWWriterReader()
throws FileNotFoundException,
IOException
FileNotFoundExceptionIOExceptionCopyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.