public class T_RecoverBadLog extends T_Generic
| Modifier and Type | Field and Description |
|---|---|
private boolean |
checksumTest |
(package private) org.apache.derby.iapi.services.context.ContextService |
contextService |
(package private) org.apache.derby.iapi.store.raw.RawStoreFactory |
factory |
private java.io.RandomAccessFile |
infofile |
private java.lang.String |
infoPath |
(package private) org.apache.derby.iapi.services.locks.LockFactory |
lf |
(package private) org.apache.derby.impl.store.raw.log.LogToFile |
logFactory |
(package private) static java.lang.String |
REC_001 |
(package private) static java.lang.String |
REC_002 |
(package private) static java.lang.String |
REC_003 |
(package private) static java.lang.String |
REC_004 |
(package private) static java.lang.String |
REC_005 |
(package private) static java.lang.String |
REC_006 |
(package private) static java.lang.String |
REC_UNDO |
private boolean |
setup |
(package private) static java.lang.String |
SP1 |
(package private) static java.lang.String |
SP2 |
(package private) T_Util |
t_util |
private static java.lang.String |
TEST_BAD_CHECKSUM_LOG |
private static java.lang.String |
TEST_BADCHECKSUMLOG_INFO |
private static java.lang.String |
TEST_BADLOG_INFO |
private static java.lang.String |
TEST_BADLOG_SETUP |
private static java.lang.String |
TEST_BADLOG1 |
private static java.lang.String |
TEST_BADLOG2 |
private static java.lang.String |
TEST_BADLOG3 |
private static java.lang.String |
TEST_BADLOG4 |
private static java.lang.String |
TEST_BADLOG5 |
private static java.lang.String |
TEST_BADLOG6 |
private static java.lang.String |
TEST_BADLOG7 |
private boolean |
test1 |
private boolean |
test2 |
private boolean |
test3 |
private boolean |
test4 |
private boolean |
test5 |
private boolean |
test6 |
private boolean |
test7 |
private java.lang.String |
testService |
out, shortModuleToTestName, startParams| Constructor and Description |
|---|
T_RecoverBadLog() |
| Modifier and Type | Method and Description |
|---|---|
private long |
find(long inkey) |
private void |
getConfig() |
java.lang.String |
getModuleToTestProtocolName()
Get the name of the protocol for the module to test.
|
private long |
key(int test,
int param) |
private void |
register(long key,
long value) |
(package private) void |
RTest1() |
(package private) void |
RTest2() |
(package private) void |
RTest3() |
(package private) void |
RTest4() |
(package private) void |
RTest5() |
(package private) void |
RTest6() |
(package private) void |
RTest7() |
void |
runTests()
See T_Recovery for the general testing frame work
|
private void |
simulateLogFileCorruption() |
protected void |
STest1() |
protected void |
STest2() |
protected void |
STest3() |
protected void |
STest4() |
protected void |
STest5() |
protected void |
STest6() |
protected void |
STest7() |
boot, Execute, FAIL, PASS, REPORT, stop, UnitTestDuration, UnitTestTypeprivate java.lang.String testService
static final java.lang.String REC_001
static final java.lang.String REC_002
static final java.lang.String REC_003
static final java.lang.String REC_004
static final java.lang.String REC_005
static final java.lang.String REC_006
static final java.lang.String REC_UNDO
static final java.lang.String SP1
static final java.lang.String SP2
private java.io.RandomAccessFile infofile
private boolean setup
private boolean test1
private boolean test2
private boolean test3
private boolean test4
private boolean test5
private boolean test6
private boolean test7
private boolean checksumTest
private java.lang.String infoPath
private static final java.lang.String TEST_BADLOG_SETUP
private static final java.lang.String TEST_BADLOG1
private static final java.lang.String TEST_BADLOG2
private static final java.lang.String TEST_BADLOG3
private static final java.lang.String TEST_BADLOG4
private static final java.lang.String TEST_BADLOG5
private static final java.lang.String TEST_BADLOG6
private static final java.lang.String TEST_BADLOG7
private static final java.lang.String TEST_BAD_CHECKSUM_LOG
private static final java.lang.String TEST_BADLOG_INFO
private static final java.lang.String TEST_BADCHECKSUMLOG_INFO
org.apache.derby.iapi.store.raw.RawStoreFactory factory
org.apache.derby.iapi.services.locks.LockFactory lf
org.apache.derby.impl.store.raw.log.LogToFile logFactory
org.apache.derby.iapi.services.context.ContextService contextService
T_Util t_util
public java.lang.String getModuleToTestProtocolName()
T_GenericgetModuleToTestProtocolName in class T_Genericprivate void getConfig()
public void runTests()
throws T_Fail
private long find(long inkey)
private long key(int test,
int param)
protected void STest1()
throws T_Fail,
org.apache.derby.iapi.error.StandardException
T_Failorg.apache.derby.iapi.error.StandardExceptionvoid RTest1()
throws T_Fail,
org.apache.derby.iapi.error.StandardException
T_Failorg.apache.derby.iapi.error.StandardExceptionprotected void STest2()
throws T_Fail,
org.apache.derby.iapi.error.StandardException
T_Failorg.apache.derby.iapi.error.StandardExceptionvoid RTest2()
throws T_Fail,
org.apache.derby.iapi.error.StandardException
T_Failorg.apache.derby.iapi.error.StandardExceptionprotected void STest3()
throws T_Fail,
org.apache.derby.iapi.error.StandardException
T_Failorg.apache.derby.iapi.error.StandardExceptionvoid RTest3()
throws T_Fail,
org.apache.derby.iapi.error.StandardException
T_Failorg.apache.derby.iapi.error.StandardExceptionprotected void STest4()
throws T_Fail,
org.apache.derby.iapi.error.StandardException
T_Failorg.apache.derby.iapi.error.StandardExceptionvoid RTest4()
throws T_Fail,
org.apache.derby.iapi.error.StandardException
T_Failorg.apache.derby.iapi.error.StandardExceptionprotected void STest5()
throws T_Fail,
org.apache.derby.iapi.error.StandardException
T_Failorg.apache.derby.iapi.error.StandardExceptionvoid RTest5()
throws T_Fail,
org.apache.derby.iapi.error.StandardException
T_Failorg.apache.derby.iapi.error.StandardExceptionprotected void STest6()
throws T_Fail,
org.apache.derby.iapi.error.StandardException
T_Failorg.apache.derby.iapi.error.StandardExceptionvoid RTest6()
throws T_Fail,
org.apache.derby.iapi.error.StandardException
T_Failorg.apache.derby.iapi.error.StandardExceptionprotected void STest7()
throws T_Fail,
org.apache.derby.iapi.error.StandardException
T_Failorg.apache.derby.iapi.error.StandardExceptionvoid RTest7()
throws T_Fail,
org.apache.derby.iapi.error.StandardException
T_Failorg.apache.derby.iapi.error.StandardExceptionApache Derby V10.10 Internals - Copyright © 2004,2014 The Apache Software Foundation. All Rights Reserved.