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, setupDataStore
assertReaderEquals, 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, walkResults
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getConnection, setConnection
public TestClientTransaction(QueryScenario querySet)
public void init(TestResultsSummary testResultsSummary, ExpectedResults expectedResults, QueryTest query)
public String getTestName()
TransactionQueryTestCase
getTestName
in interface TransactionQueryTestCase
getTestName
in class AbstractQueryTransactionTest
public void before()
AbstractQueryTransactionTest
before
if there is behavior that needs to be
performed prior to AbstractQueryTransactionTest.testCase()
being called.before
in interface TransactionQueryTestCase
before
in class AbstractQueryTransactionTest
public void testCase() throws Exception
AbstractQueryTransactionTest
testCase
in interface TransactionQueryTestCase
testCase
in class AbstractQueryTransactionTest
Exception
public void after()
AbstractQueryTransactionTest
after
if there is behavior that needs to be
performed after AbstractQueryTransactionTest.testCase()
being called.after
in interface TransactionQueryTestCase
after
in class AbstractQueryTransactionTest
protected Statement createStatement() throws SQLException
createStatement
in class org.teiid.jdbc.AbstractQueryTest
SQLException
public boolean exceptionExpected()
exceptionExpected
in interface TransactionQueryTestCase
exceptionExpected
in class org.teiid.jdbc.AbstractQueryTest
public void cleanup()
cleanup
in interface TransactionQueryTestCase
cleanup
in class AbstractQueryTransactionTest
TestClient.runTest();
Copyright © 2018 JBoss by Red Hat. All rights reserved.