Package net.hydromatic.sqllogictest
Class SltTestFile
- java.lang.Object
-
- net.hydromatic.sqllogictest.SltTestFile
-
public class SltTestFile extends Object
Represents the data from a .test file from the SqlLogicTest test framework.
-
-
Field Summary
Fields Modifier and Type Field Description List<ISqlTestOperation>fileContentsA file is parsed into a list of operations: statements or queries.
-
Constructor Summary
Constructors Constructor Description SltTestFile(String testFile)Create a test file from the file with the specified name.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetTestCount()Number of tests in the file.voidparse(OptionsParser.SuppliedOptions options)Parse the contents of the test file.StringtoString()
-
-
-
Field Detail
-
fileContents
public final List<ISqlTestOperation> fileContents
A file is parsed into a list of operations: statements or queries.
-
-
Constructor Detail
-
SltTestFile
public SltTestFile(String testFile) throws IOException
Create a test file from the file with the specified name.- Throws:
IOException
-
-
Method Detail
-
parse
public void parse(OptionsParser.SuppliedOptions options) throws IOException
Parse the contents of the test file.- Parameters:
options- Options guiding execution.- Throws:
IOException
-
getTestCount
public int getTestCount()
Number of tests in the file.
-
-