public class TestClientTransaction extends AbstractQueryTransactionTest
connStrategy, fetchSize, queryTimeout, testname| Constructor and Description |
|---|
TestClientTransaction(QueryScenario querySet) |
| Modifier and Type | Method and Description |
|---|---|
void |
after()
Override
after if there is behavior that needs to be
performed after AbstractQueryTransactionTest.testCase() being called. |
void |
before()
Override
before if there is behavior that needs to be
performed prior to AbstractQueryTransactionTest.testCase() being called. |
void |
cleanup()
Override the super cleanup() so that the connection to Teiid is not
cleaned up at this time.
|
protected Statement |
createStatement() |
boolean |
exceptionExpected() |
String |
getTestName()
Returns the name of the test so that better tracing of what tests are
running/completing.
|
void |
init(TestResultsSummary testResultsSummary,
ExpectedResults expectedResults,
QueryTest query) |
void |
testCase()
Implement testCase(), it is the entry point to the execution of the test.
|
assignExecutionProperties, exceptionOccurred, getApplicationException, getConnectionStrategy, getLastException, getSource, getXAConnection, getXASource, rollbackAllways, setApplicationException, setup, setupDataStoreassertReaderEquals, assertResults, assertResultsSetEquals, assertResultsSetEquals, assertResultsSetEquals, assertResultsSetEquals, assertResultsSetEquals, assertResultsSetEquals, assertResultsSetMetadataEquals, assertResultsSetMetadataEquals, assertRowCount, assertUpdateCount, cancelQuery, closeConnection, closeResultSet, closeStatement, compareCaseSensitive, compareResults, createPrepareCallStatement, createPrepareStatement, execute, execute, executeAndAssertResults, executeBatch, executeBatch, getConnection, getRowCount, print, print, printResults, printResults, printResults, read, setConnection, tearDown, walkResultsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetConnection, setConnectionpublic TestClientTransaction(QueryScenario querySet)
public void init(TestResultsSummary testResultsSummary, ExpectedResults expectedResults, QueryTest query)
public String getTestName()
TransactionQueryTestCasegetTestName in interface TransactionQueryTestCasegetTestName in class AbstractQueryTransactionTestpublic void before()
AbstractQueryTransactionTestbefore if there is behavior that needs to be
performed prior to AbstractQueryTransactionTest.testCase() being called.before in interface TransactionQueryTestCasebefore in class AbstractQueryTransactionTestpublic void testCase()
throws Exception
AbstractQueryTransactionTesttestCase in interface TransactionQueryTestCasetestCase in class AbstractQueryTransactionTestExceptionpublic void after()
AbstractQueryTransactionTestafter if there is behavior that needs to be
performed after AbstractQueryTransactionTest.testCase() being called.after in interface TransactionQueryTestCaseafter in class AbstractQueryTransactionTestprotected Statement createStatement() throws SQLException
createStatement in class org.teiid.jdbc.AbstractQueryTestSQLExceptionpublic boolean exceptionExpected()
exceptionExpected in interface TransactionQueryTestCaseexceptionExpected in class org.teiid.jdbc.AbstractQueryTestpublic void cleanup()
cleanup in interface TransactionQueryTestCasecleanup in class AbstractQueryTransactionTestTestClient.runTest();Copyright © 2018 JBoss by Red Hat. All rights reserved.