public class T_Recovery extends T_Generic
| Modifier and Type | Field and Description |
|---|---|
(package private) static org.apache.derby.iapi.services.io.FormatableBitSet |
BS_COL_0 |
(package private) org.apache.derby.iapi.services.context.ContextService |
contextService |
(package private) org.apache.derby.iapi.store.raw.RawStoreFactory |
factory |
private java.io.RandomAccessFile |
filein |
private java.io.RandomAccessFile |
fileout |
private static java.lang.String |
infoPath |
(package private) org.apache.derby.iapi.services.locks.LockFactory |
lf |
(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_NULL |
(package private) static java.lang.String |
REC_UNDO |
private static java.lang.String |
RECOVERY_TESTPATH |
private static java.lang.String |
SETUP_RECOVERY |
private boolean |
setupRecovery |
(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_RECOVERY |
private boolean |
testRecovery |
private static java.lang.String |
testService |
(package private) org.apache.derby.iapi.services.uuid.UUIDFactory |
uuidfactory |
out, shortModuleToTestName, startParams| Constructor and Description |
|---|
T_Recovery() |
| 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) |
protected void |
R001() |
protected void |
R002() |
protected void |
R003() |
protected void |
R004() |
protected void |
R005() |
protected void |
R006() |
protected void |
R007() |
protected void |
R008() |
protected void |
R009() |
protected void |
R010() |
protected void |
R011() |
protected void |
R012() |
protected void |
R020() |
protected void |
R022() |
protected void |
R100() |
protected void |
R101() |
protected void |
R200() |
protected void |
R201() |
protected void |
R202() |
protected void |
R203() |
protected void |
R204() |
protected void |
R300() |
protected void |
R301() |
protected void |
R302() |
protected void |
R303() |
protected void |
R304() |
protected void |
R999() |
private void |
register(long key,
long value) |
void |
runTests()
Tests in here come in pairs (Snnn Rnnn), one to set it up, one to test
it after recovery.
|
protected void |
S001() |
protected void |
S002() |
protected void |
S003() |
protected void |
S004() |
protected void |
S005() |
protected void |
S006() |
protected void |
S007() |
protected void |
S008() |
protected void |
S009() |
protected void |
S010() |
protected void |
S011() |
protected void |
S012() |
protected void |
S020() |
protected void |
S022() |
protected void |
S100() |
protected void |
S101() |
protected void |
S200() |
protected void |
S201() |
protected void |
S202() |
protected void |
S203() |
protected void |
S204() |
protected void |
S300() |
protected void |
S301() |
protected void |
S302() |
protected void |
S303()
Test space reclaimation - purging of a row with serveral long columns
rollback and repurge them again.
|
protected void |
S304()
Test space reclaimation - purging of a long rows with a rollback and
purging again after recovery in R304
|
protected void |
S999() |
boot, Execute, FAIL, PASS, REPORT, stop, UnitTestDuration, UnitTestTypeprivate static final 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 REC_NULL
static final java.lang.String SP1
static final java.lang.String SP2
static final org.apache.derby.iapi.services.io.FormatableBitSet BS_COL_0
private java.io.RandomAccessFile filein
private java.io.RandomAccessFile fileout
private boolean setupRecovery
private boolean testRecovery
private static final java.lang.String infoPath
private static final java.lang.String SETUP_RECOVERY
private static final java.lang.String TEST_RECOVERY
private static final java.lang.String RECOVERY_TESTPATH
org.apache.derby.iapi.store.raw.RawStoreFactory factory
org.apache.derby.iapi.services.locks.LockFactory lf
org.apache.derby.iapi.services.context.ContextService contextService
org.apache.derby.iapi.services.uuid.UUIDFactory uuidfactory
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 key(int test,
int param)
protected void S001()
throws T_Fail,
org.apache.derby.iapi.error.StandardException
T_Failorg.apache.derby.iapi.error.StandardExceptionprotected void R001()
throws T_Fail,
org.apache.derby.iapi.error.StandardException
T_Failorg.apache.derby.iapi.error.StandardExceptionprotected void S002()
throws T_Fail,
org.apache.derby.iapi.error.StandardException
T_Failorg.apache.derby.iapi.error.StandardExceptionprotected void R002()
throws T_Fail,
org.apache.derby.iapi.error.StandardException
T_Failorg.apache.derby.iapi.error.StandardExceptionprotected void S003()
throws T_Fail,
org.apache.derby.iapi.error.StandardException
T_Failorg.apache.derby.iapi.error.StandardExceptionprotected void R003()
throws T_Fail,
org.apache.derby.iapi.error.StandardException
T_Failorg.apache.derby.iapi.error.StandardExceptionprotected void S004()
throws T_Fail,
org.apache.derby.iapi.error.StandardException
T_Failorg.apache.derby.iapi.error.StandardExceptionprotected void R004()
throws T_Fail,
org.apache.derby.iapi.error.StandardException
T_Failorg.apache.derby.iapi.error.StandardExceptionprotected void S005()
throws T_Fail,
org.apache.derby.iapi.error.StandardException
T_Failorg.apache.derby.iapi.error.StandardExceptionprotected void R005()
throws T_Fail,
org.apache.derby.iapi.error.StandardException
T_Failorg.apache.derby.iapi.error.StandardExceptionprotected void S006()
throws T_Fail,
org.apache.derby.iapi.error.StandardException
T_Failorg.apache.derby.iapi.error.StandardExceptionprotected void R006()
throws T_Fail,
org.apache.derby.iapi.error.StandardException
T_Failorg.apache.derby.iapi.error.StandardExceptionprotected void S007()
throws T_Fail,
org.apache.derby.iapi.error.StandardException
T_Failorg.apache.derby.iapi.error.StandardExceptionprotected void R007()
throws T_Fail,
org.apache.derby.iapi.error.StandardException
T_Failorg.apache.derby.iapi.error.StandardExceptionprotected void S008()
throws T_Fail,
org.apache.derby.iapi.error.StandardException
T_Failorg.apache.derby.iapi.error.StandardExceptionprotected void R008()
throws T_Fail,
org.apache.derby.iapi.error.StandardException
T_Failorg.apache.derby.iapi.error.StandardExceptionprotected void S009()
throws T_Fail,
org.apache.derby.iapi.error.StandardException
T_Failorg.apache.derby.iapi.error.StandardExceptionprotected void R009()
throws T_Fail,
org.apache.derby.iapi.error.StandardException
T_Failorg.apache.derby.iapi.error.StandardExceptionprotected void S010()
throws T_Fail,
org.apache.derby.iapi.error.StandardException
T_Failorg.apache.derby.iapi.error.StandardExceptionprotected void R010()
throws T_Fail,
org.apache.derby.iapi.error.StandardException
T_Failorg.apache.derby.iapi.error.StandardExceptionprotected void S011()
throws T_Fail,
org.apache.derby.iapi.error.StandardException
T_Failorg.apache.derby.iapi.error.StandardExceptionprotected void R011()
throws T_Fail,
org.apache.derby.iapi.error.StandardException
T_Failorg.apache.derby.iapi.error.StandardExceptionprotected void S012()
throws T_Fail,
org.apache.derby.iapi.error.StandardException
T_Failorg.apache.derby.iapi.error.StandardExceptionprotected void R012()
throws T_Fail,
org.apache.derby.iapi.error.StandardException
T_Failorg.apache.derby.iapi.error.StandardExceptionprotected void S020()
throws T_Fail,
org.apache.derby.iapi.error.StandardException
T_Failorg.apache.derby.iapi.error.StandardExceptionprotected void R020()
throws T_Fail,
org.apache.derby.iapi.error.StandardException
T_Failorg.apache.derby.iapi.error.StandardExceptionprotected void S022()
throws T_Fail,
org.apache.derby.iapi.error.StandardException
T_Failorg.apache.derby.iapi.error.StandardExceptionprotected void R022()
throws T_Fail,
org.apache.derby.iapi.error.StandardException
T_Failorg.apache.derby.iapi.error.StandardExceptionprotected void S100()
throws T_Fail,
org.apache.derby.iapi.error.StandardException
T_Failorg.apache.derby.iapi.error.StandardExceptionprotected void R100()
throws T_Fail,
org.apache.derby.iapi.error.StandardException
T_Failorg.apache.derby.iapi.error.StandardExceptionprotected void S101()
throws T_Fail,
org.apache.derby.iapi.error.StandardException
T_Failorg.apache.derby.iapi.error.StandardExceptionprotected void R101()
throws T_Fail,
org.apache.derby.iapi.error.StandardException
T_Failorg.apache.derby.iapi.error.StandardExceptionprotected void S200()
throws T_Fail,
org.apache.derby.iapi.error.StandardException
T_Failorg.apache.derby.iapi.error.StandardExceptionprotected void R200()
throws T_Fail,
org.apache.derby.iapi.error.StandardException
T_Failorg.apache.derby.iapi.error.StandardExceptionprotected void S201()
throws T_Fail,
org.apache.derby.iapi.error.StandardException
T_Failorg.apache.derby.iapi.error.StandardExceptionprotected void R201()
throws T_Fail,
org.apache.derby.iapi.error.StandardException
T_Failorg.apache.derby.iapi.error.StandardExceptionprotected void S202()
throws T_Fail,
org.apache.derby.iapi.error.StandardException
T_Failorg.apache.derby.iapi.error.StandardExceptionprotected void R202()
throws T_Fail,
org.apache.derby.iapi.error.StandardException
T_Failorg.apache.derby.iapi.error.StandardExceptionprotected void S203()
throws T_Fail,
org.apache.derby.iapi.error.StandardException
T_Failorg.apache.derby.iapi.error.StandardExceptionprotected void R203()
throws T_Fail,
org.apache.derby.iapi.error.StandardException
T_Failorg.apache.derby.iapi.error.StandardExceptionprotected void S204()
throws T_Fail,
org.apache.derby.iapi.error.StandardException
T_Failorg.apache.derby.iapi.error.StandardExceptionprotected void R204()
throws T_Fail,
org.apache.derby.iapi.error.StandardException
T_Failorg.apache.derby.iapi.error.StandardExceptionprotected void S300()
throws T_Fail,
org.apache.derby.iapi.error.StandardException
T_Failorg.apache.derby.iapi.error.StandardExceptionprotected void R300()
throws T_Fail,
org.apache.derby.iapi.error.StandardException
T_Failorg.apache.derby.iapi.error.StandardExceptionprotected void S301()
throws T_Fail,
org.apache.derby.iapi.error.StandardException
T_Failorg.apache.derby.iapi.error.StandardExceptionprotected void R301()
throws T_Fail,
org.apache.derby.iapi.error.StandardException
T_Failorg.apache.derby.iapi.error.StandardExceptionprotected void S302()
throws T_Fail,
org.apache.derby.iapi.error.StandardException
T_Failorg.apache.derby.iapi.error.StandardExceptionprotected void R302()
throws T_Fail,
org.apache.derby.iapi.error.StandardException
T_Failorg.apache.derby.iapi.error.StandardExceptionprotected void S303()
throws org.apache.derby.iapi.error.StandardException,
T_Fail
T_Fail - Unexpected behaviour from the APIorg.apache.derby.iapi.error.StandardException - Unexpected exception from the implementationprotected void R303()
throws T_Fail,
org.apache.derby.iapi.error.StandardException
T_Failorg.apache.derby.iapi.error.StandardExceptionprotected void S304()
throws org.apache.derby.iapi.error.StandardException,
T_Fail
T_Fail - Unexpected behaviour from the APIorg.apache.derby.iapi.error.StandardException - Unexpected exception from the implementationprotected void R304()
throws T_Fail,
org.apache.derby.iapi.error.StandardException
T_Failorg.apache.derby.iapi.error.StandardExceptionprotected void S999()
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.