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 |
---|---|
private static java.lang.Object |
createPersistentService(java.lang.String factoryInterface,
java.lang.String serviceName,
java.util.Properties properties)
Privileged startup.
|
(package private) static org.apache.derby.iapi.services.context.ContextService |
getContextService()
Privileged lookup of the ContextService.
|
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
static org.apache.derby.iapi.services.context.ContextService getContextService()
private static java.lang.Object createPersistentService(java.lang.String factoryInterface, java.lang.String serviceName, java.util.Properties properties) throws org.apache.derby.iapi.error.StandardException
org.apache.derby.iapi.error.StandardException
Apache Derby V10.13 Internals - Copyright © 2004,2016 The Apache Software Foundation. All Rights Reserved.