Package net.hydromatic.sqllogictest
Class TestLoader
- java.lang.Object
 - 
- net.hydromatic.sqllogictest.TestLoader
 
 
- 
public class TestLoader extends Object
A test loader is invoked for each test file. It parses the file into a set of tests and then executes the tests found in the file. 
- 
- 
Field Summary
Fields Modifier and Type Field Description OptionsParser.SuppliedOptionsoptionsOptions that guide the test execution.TestStatisticsstatisticsStatistics about the tests executed, including all errors found. 
- 
Constructor Summary
Constructors Constructor Description TestLoader(OptionsParser.SuppliedOptions options)Creates a new class that reads tests from a directory tree and executes them. 
 - 
 
- 
- 
Field Detail
- 
statistics
public final TestStatistics statistics
Statistics about the tests executed, including all errors found. 
- 
options
public final OptionsParser.SuppliedOptions options
Options that guide the test execution. 
 - 
 
- 
Constructor Detail
- 
TestLoader
public TestLoader(OptionsParser.SuppliedOptions options)
Creates a new class that reads tests from a directory tree and executes them. 
 - 
 
- 
Method Detail
- 
visitFile
public boolean visitFile(String file)
Function executed for each test file.- Parameters:
 file- File to process.- Returns:
 - A decision whether the processing should continue or not.
 
 
 - 
 
 -