public class XMLQueryReader extends Object implements QueryReader
PROP_QUERY_FILES_DIR_LOC, PROP_QUERY_FILES_ROOT_DIR| Constructor and Description |
|---|
XMLQueryReader(String queryScenarioID,
Properties properties) |
| Modifier and Type | Method and Description |
|---|---|
static File[] |
findAllFilesInDirectoryHavingExtension(String dir,
String extension)
Returns a
File array that will contain all the files that
exist in the directory that have the specified extension. |
List<QueryTest> |
getQueries(String querySetID)
Return a
List containing QueryTest |
Collection<String> |
getQuerySetIDs()
Return the
querySetIDs that identifies all the query sets
that are available to execute during this test. |
static void |
main(String[] args) |
public XMLQueryReader(String queryScenarioID, Properties properties) throws QueryTestFailedException
QueryTestFailedExceptionpublic List<QueryTest> getQueries(String querySetID) throws QueryTestFailedException
QueryReaderList containing QueryTestgetQueries in interface QueryReaderQueryTestFailedExceptionpublic Collection<String> getQuerySetIDs()
QueryReaderquerySetIDs that identifies all the query sets
that are available to execute during this test.getQuerySetIDs in interface QueryReaderpublic static void main(String[] args)
Copyright © 2019. All rights reserved.