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, toString
protected void setUp()
setUp
in class junit.framework.TestCase
protected void tearDown()
tearDown
in class junit.framework.TestCase
public void testSimpleRWWriter() throws FileNotFoundException, IOException
FileNotFoundException
IOException
public void testSimpleRWWriterReader() throws FileNotFoundException, IOException
FileNotFoundException
IOException
public void testDisableLogFile() throws IOException
IOException
public void testStressConcurrentRWWriterReader() throws FileNotFoundException, IOException
FileNotFoundException
IOException
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.