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
querySetID s 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
QueryTestFailedException
public List<QueryTest> getQueries(String querySetID) throws QueryTestFailedException
QueryReader
List
containing QueryTest
getQueries
in interface QueryReader
QueryTestFailedException
public Collection<String> getQuerySetIDs()
QueryReader
querySetID
s that identifies all the query sets
that are available to execute during this test.getQuerySetIDs
in interface QueryReader
public static void main(String[] args)
Copyright © 2019. All rights reserved.