|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
TransactionQueryTestCase
.after
if there is behavior that needs to be
performed after AbstractQueryTransactionTest.testCase()
being called.
after
if there is behavior that needs to be
performed after TransactionQueryTestCase.testCase()
being called.
before
if there is behavior that needs to be
performed prior to AbstractQueryTransactionTest.testCase()
being called.
before
if there is behavior that needs to be
performed prior to TransactionQueryTestCase.testCase()
being called.
ResultSet
from the executed query to the expected results
and return the errors.
TransactionContainer#
test.
ConfigPropertyLoader.DEFAULT_CONFIG_FILE_NAME
will be loaded.
CONNECTION_STRATEGY
execution optionsConfigPropertyNames.CONNECTION_TYPE
regarding setting the specific connection type to use
when connecting to TeiidDISABLE_DATASTORES
is specified, then the assumption is that configuration related
to the datastores is being handled out side of the test framework.
ClassFactory.EXPECTED_RESULTS_CLASSNAME
property indicates the implementation of
ExpectedResults
to use.
ClassFactory.EXPECTED_RESULTS_CLASSNAME
is not defined.
ExpectedResults.getQuerySetID()
.String
representation of the exception.
ExpectedResults
for the specified
querySetID
.
List
containing QueryTest
Map
containing the query identifier as the key, and
the value is the query.
TestResult.getQuerySetID()
.
QueryReader
that is to be used to obtain the queries
to process.
querySetID
s that identifies all the query sets
that are available to execute during this test.
Collection
of querySetID
s that the
QueryReader
will be providing.
File
location for the actual results for the specified
query identifier.
ResultsGenerator
that is to be used to create new sets
of expected results.
TestProperties.PROP_RESULT_MODE
DataStore
processing.
DataStore
processing.
Exception
to be thrown when the
query is executed.
ConfigPropertyNames.OVERRIDE_DATASOURCES_LOC
, when specified, will override the default
defined for DataSourceMgr.DEFAULT_DATASOURCES_LOC
;
XMLVisitor
is invoked on each node during the traversal.
ExpectedResults.PROP_EXPECTED_RESULTS_ROOT_DIR
, if specified, indicates the root directory
to be prepended to the ExpectedResults.PROP_EXPECTED_RESULTS_DIR_LOC
to create the full
directory to find the expected results files.
ResultsGenerator.PROP_GENERATE_DIR
property indicates where newly generated results
files should be written to.
TestProperties.PROP_OUTPUT_DIR
property indicates the root directory that output
files will be written.
QueryReader.PROP_QUERY_FILES_DIR_LOC
indicates the location to find the query files
QueryReader.PROP_QUERY_FILES_ROOT_DIR
, if specified, indicates the root directory
to be prepended to the QueryReader.PROP_QUERY_FILES_DIR_LOC
to create the full
directory to find the query files.
ClassFactory.QUERY_READER_CLASSNAME
property indicates the implementation of
QueryReader
to use.
ClassFactory.QUERY_READER_CLASSNAME
is not defined.
ClassFactory.QUERY_SCENARIO_CLASSNAME
property indicates the implementation of
QueryScenario
to use.
ClassFactory.QUERY_SCENARIO_CLASSNAME
is not defined.
TestProperties.QUERY_SET_NAME
property indicates the name of directory that contains
the set of queries and expected results that will be used.
querySetID
.Test
.ClassFactory.RESULTS_GENERATOR_CLASSNAME
property indicates the implementation of
ResultsGenerator
to use.
ClassFactory.QUERY_READER_CLASSNAME
is not defined.
querySetID
and queryIdentifier
.AbstractQueryTransactionTest.testCase()
TransactionQueryTestCase.testCase()
setupDataSource
if there is different mechanism for
setting up the datasources for the testcase
TransactionContainer
prior to testcase processing
so that the responsibility for performing an setup duties (ie..,
datasource setup) can be done
#printThrowable(Throwable, PrintStream)
method
in order to call out.print instead of out.println
This is because the println adds a line terminator, and when the result file is in turn used for
comparison it fails because of the line terminator.TransactionContainer
can be dynamically loaded
based on a property.Document
to a file with the specified name.
Document
to a file with the specified name.
Document
to the output stream.
Document
to the output stream.
Document
to the output stream.
Document
to the writter.
Document
as a String.
Document
as a String.
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |