|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of QueryTestFailedException in org.teiid.test.client |
---|
Methods in org.teiid.test.client that throw QueryTestFailedException | |
---|---|
java.lang.Object |
ExpectedResults.compareResults(java.lang.String queryIdentifier,
java.lang.String sql,
java.sql.ResultSet resultSet,
java.lang.Throwable actualException,
int testStatus,
boolean isOrdered,
int updateCnt,
boolean resultFromQuery)
Called to compare the ResultSet from the executed query to the expected results
and return the errors. |
static TransactionContainer |
TransactionFactory.create(ConfigPropertyLoader config)
|
java.lang.String |
ResultsGenerator.generateErrorFile(java.lang.String querySetID,
java.lang.String queryIdentifier,
java.lang.String sql,
java.sql.ResultSet resultSet,
java.lang.Throwable queryError,
java.lang.Object results)
Call to generate an error file as the result of incompatibilities in the comparison of the expected results to the actual results. |
void |
ResultsGenerator.generateQueryResultFile(java.lang.String querySetID,
java.lang.String queryIdentfier,
java.lang.String query,
java.sql.ResultSet result,
java.lang.Throwable queryError,
int testStatus)
Call to generate the results file from an executed query. |
java.util.List<QueryTest> |
QueryReader.getQueries(java.lang.String querySetID)
Return a List containing QueryTest |
java.io.File |
ExpectedResults.getResultsFile(java.lang.String queryidentifier)
Returns the File location for the actual results for the specified
query identifier. |
boolean |
ExpectedResults.isExceptionExpected(java.lang.String queryidentifier)
Indicates if a query expects to have an Exception to be thrown when the
query is executed. |
Uses of QueryTestFailedException in org.teiid.test.client.ctc |
---|
Methods in org.teiid.test.client.ctc that throw QueryTestFailedException | |
---|---|
protected void |
XMLExpectedResults.assertStringsMatch(java.lang.String expectedStr,
java.lang.String actualStr,
int row,
int col,
java.lang.String eMsg)
|
protected void |
XMLExpectedResults.compareIdentifiers(java.util.List actualIdentifiers,
java.util.List expectedIdentifiers,
java.util.List actualDataTypes,
java.util.List expectedDatatypes)
|
protected void |
XMLExpectedResults.compareResults(ResultsHolder actualResults,
ResultsHolder expectedResults,
java.lang.String eMsg,
boolean isOrdered)
Added primarily for public access to the compare code for testing. |
java.lang.Object |
XMLExpectedResults.compareResults(java.lang.String queryIdentifier,
java.lang.String sql,
java.sql.ResultSet resultSet,
java.lang.Throwable actualException,
int testStatus,
boolean isOrdered,
int batchSize,
boolean resultFromQuery)
Compare the results of a query with those that were expected. |
protected void |
XMLExpectedResults.compareResultSets(java.util.List actualResults,
java.util.List actualDatatypes,
java.util.List actualIdentifiers,
java.util.List expectedResults,
java.util.List expectedDatatypes,
java.util.List expectedIdentifiers,
java.lang.String eMsg)
Compare actual results, identifiers and types with expected. |
java.lang.String |
XMLGenerateResults.generateErrorFile_keep(java.lang.String querySetID,
java.lang.String queryID,
java.lang.String sql,
java.sql.ResultSet resultSet,
java.lang.Throwable queryError,
java.lang.Object results)
|
java.lang.String |
XMLGenerateResults.generateErrorFile(java.lang.String querySetID,
java.lang.String queryID,
java.lang.String sql,
java.sql.ResultSet resultSet,
java.lang.Throwable queryError,
java.lang.Object expectedResultsFile)
|
void |
XMLGenerateResults.generateQueryResultFile(java.lang.String querySetID,
java.lang.String queryID,
java.lang.String query,
java.sql.ResultSet result,
java.lang.Throwable ex,
int testStatus)
Generate query results. |
java.util.List<QueryTest> |
XMLQueryReader.getQueries(java.lang.String querySetID)
|
java.io.File |
XMLExpectedResults.getResultsFile(java.lang.String queryidentifier)
|
boolean |
XMLExpectedResults.isExceptionExpected(java.lang.String queryidentifier)
|
Constructors in org.teiid.test.client.ctc that throw QueryTestFailedException | |
---|---|
XMLQueryReader(java.lang.String queryScenarioID,
java.util.Properties properties)
|
Uses of QueryTestFailedException in org.teiid.test.client.impl |
---|
Methods in org.teiid.test.client.impl that throw QueryTestFailedException | |
---|---|
java.lang.Object |
ExpectedResultsImpl.compareResults(java.lang.String queryIdentifier,
java.lang.String sql,
java.sql.ResultSet resultSet,
java.lang.Throwable actualException,
int testStatus,
boolean isOrdered,
int updateCnt,
boolean resultFromQuery)
Compare the results of a query with those that were expected. |
java.lang.String |
ResultsGeneratorImpl.generateErrorFile(java.lang.String querySetID,
java.lang.String queryID,
java.lang.String sql,
java.sql.ResultSet resultSet,
java.lang.Throwable queryError,
java.lang.Object results)
|
void |
ResultsGeneratorImpl.generateQueryResultFile(java.lang.String querySetID,
java.lang.String queryID,
java.lang.String query,
java.sql.ResultSet result,
java.lang.Throwable ex,
int testStatus)
Generate query results. |
java.io.File |
ExpectedResultsImpl.getResultsFile(java.lang.String queryidentifier)
|
boolean |
ExpectedResultsImpl.isExceptionExpected(java.lang.String queryidentifier)
|
Uses of QueryTestFailedException in org.teiid.test.framework |
---|
Methods in org.teiid.test.framework that throw QueryTestFailedException | |
---|---|
void |
TransactionQueryTestCase.setup()
Called by the TransactionContainer prior to testcase processing
so that the responsibility for performing an setup duties (ie..,
datasource setup) can be done |
Uses of QueryTestFailedException in org.teiid.test.framework.connection |
---|
Methods in org.teiid.test.framework.connection that throw QueryTestFailedException | |
---|---|
javax.sql.XAConnection |
ConnectionStrategy.createDataSourceConnection(java.lang.String identifier)
|
java.sql.Connection |
ConnectionStrategy.createDriverConnection(java.lang.String identifier)
|
java.sql.Connection |
ConnectionStrategy.getAdminConnection()
|
java.sql.Connection |
DataSourceConnection.getConnection()
|
abstract java.sql.Connection |
ConnectionStrategy.getConnection()
Returns a connection |
java.sql.Connection |
JEEConnection.getConnection()
|
java.sql.Connection |
DriverConnection.getConnection()
|
javax.sql.XAConnection |
DataSourceConnection.getXAConnection()
|
javax.sql.XAConnection |
ConnectionStrategy.getXAConnection()
|
Constructors in org.teiid.test.framework.connection that throw QueryTestFailedException | |
---|---|
DataSourceConnection(java.util.Properties props)
|
|
DriverConnection(java.util.Properties props)
|
|
JEEConnection(java.util.Properties props)
|
Uses of QueryTestFailedException in org.teiid.test.framework.datasource |
---|
Methods in org.teiid.test.framework.datasource that throw QueryTestFailedException | |
---|---|
java.sql.Connection |
DataSource.getConnection()
|
DataSource |
DataSourceFactory.getDatasource(java.lang.String modelName)
|
javax.sql.XAConnection |
DataSource.getXAConnection()
|
Uses of QueryTestFailedException in org.teiid.test.framework.query |
---|
Methods in org.teiid.test.framework.query that throw QueryTestFailedException | |
---|---|
java.sql.Connection |
AbstractQueryTransactionTest.getSource(java.lang.String identifier)
The source connection must be asked from the connection strategy because only here is it known which model was mapped to which datasource. |
javax.sql.XAConnection |
AbstractQueryTransactionTest.getXASource(java.lang.String identifier)
|
void |
AbstractQueryTransactionTest.setup()
Override setupDataSource if there is different mechanism for
setting up the datasources for the testcase |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |