-
- All Implemented Interfaces:
public class TestDataFilesWriter extends FilesWriter
-
-
Field Summary
Fields Modifier and Type Field Description public final static TestDataFilesWriterINSTANCE
-
Method Summary
Modifier and Type Method Description final static UnitcreateAndWriteTestDataFiles(Path inputFilePath, Charset inputFileCharset, Path outputDirectoryPath, Language language, String charClass, Integer maximumLines)Creates test data files for accuracy report generation and writes them to a directory. -
-
Method Detail
-
createAndWriteTestDataFiles
final static Unit createAndWriteTestDataFiles(Path inputFilePath, Charset inputFileCharset, Path outputDirectoryPath, Language language, String charClass, Integer maximumLines)
Creates test data files for accuracy report generation and writes them to a directory.
- Parameters:
inputFilePath- The path to a txt file used for test data creation.inputFileCharset- The encoding of inputFilePath.outputDirectoryPath- The directory where the test data files are to be written.language- The language for which to create test data.charClass- A regex character class as supported by java.util.regex.Pattern to restrict the set of characters that the test data files are built from.maximumLines- The maximum number of lines each test data files should have.
-
-
-
-