Modifier and Type | Field and Description |
---|---|
(package private) byte[] |
branch_id |
(package private) byte[] |
global_id |
(package private) org.apache.derby.iapi.store.access.AccessFactory |
store |
private static java.lang.String |
testService |
out, shortModuleToTestName, startParams
Constructor and Description |
---|
T_XA() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getModuleToTestProtocolName()
Get the name of the protocol for the module to test.
|
protected void |
runTests()
Run the test.
|
(package private) void |
XATest_1(commit_method commit_method)
one phase commit xa transaction.
|
(package private) void |
XATest_2(commit_method commit_method)
simple two phase commit xa transaction.
|
(package private) void |
XATest_3(commit_method commit_method)
Test aborts of unprepared xa transaction.
|
(package private) void |
XATest_4(commit_method commit_method)
Test aborts of prepared two phase commit xa transaction.
|
(package private) void |
XATest_5(commit_method commit_method)
Very simple testing of the recover() call.
|
(package private) void |
XATest_6(commit_method commit_method)
Very simple testing of changing a local transaction to a global.
|
boot, Execute, FAIL, PASS, REPORT, stop, UnitTestDuration, UnitTestType
private static final java.lang.String testService
byte[] global_id
byte[] branch_id
org.apache.derby.iapi.store.access.AccessFactory store
public java.lang.String getModuleToTestProtocolName()
T_Generic
getModuleToTestProtocolName
in class T_Generic
protected void runTests() throws T_Fail
T_Generic
void XATest_1(commit_method commit_method) throws org.apache.derby.iapi.error.StandardException, T_Fail
org.apache.derby.iapi.error.StandardException
- Standard exception policy.T_Fail
void XATest_2(commit_method commit_method) throws org.apache.derby.iapi.error.StandardException, T_Fail
org.apache.derby.iapi.error.StandardException
- Standard exception policy.T_Fail
void XATest_3(commit_method commit_method) throws org.apache.derby.iapi.error.StandardException, T_Fail
org.apache.derby.iapi.error.StandardException
- Standard exception policy.T_Fail
void XATest_4(commit_method commit_method) throws org.apache.derby.iapi.error.StandardException, T_Fail
org.apache.derby.iapi.error.StandardException
- Standard exception policy.T_Fail
void XATest_5(commit_method commit_method) throws org.apache.derby.iapi.error.StandardException, T_Fail
org.apache.derby.iapi.error.StandardException
- Standard exception policy.T_Fail
void XATest_6(commit_method commit_method) throws org.apache.derby.iapi.error.StandardException, T_Fail
org.apache.derby.iapi.error.StandardException
- Standard exception policy.T_Fail
Apache Derby V10.11 Internals - Copyright © 2004,2014 The Apache Software Foundation. All Rights Reserved.