C F G I O P S U V 
All Classes All Packages

C

clear() - Method in class com.univocity.test.OutputTester
Discards any output stored in the internal buffer.
com.univocity.test - package com.univocity.test
 

F

FileLocator - Class in com.univocity.test
 
FileLocator() - Constructor for class com.univocity.test.FileLocator
 

G

getResourceDir() - Method in class com.univocity.test.OutputTester
Returns the project's actual resource directory, where the expected output files are located.
getTestResourcesFolder() - Method in class com.univocity.test.OutputTester
Returns the project's test resources folder (relative to the project root), where the expected output files are located.
getUpdateExpectedOutputs() - Method in class com.univocity.test.OutputTester
Returns a flag indicating whether all tests of the test class should have their outputs updated.

I

isDumpMismatchedOutputToFile() - Method in class com.univocity.test.OutputTester
Indicates whether the output produced by a given test method should be written into a temporary file.
isNormalizeLineSeparators() - Method in class com.univocity.test.OutputTester
Indicates whether line separators in both produced and expected outputs will be normalized (i.e.

O

open(File) - Method in class com.univocity.test.FileLocator
 
OutputTester - Class in com.univocity.test
A very simple class to facilitate testing of outputs produced by test cases.
OutputTester(Class<?>, String) - Constructor for class com.univocity.test.OutputTester
Creates an output tester to validate outputs produced by test methods of a given class.
OutputTester(Class<?>, String, String) - Constructor for class com.univocity.test.OutputTester
Creates an output tester to validate outputs produced by test methods of a given class.
OutputTester(String) - Constructor for class com.univocity.test.OutputTester
Creates an output tester to validate outputs produced by test methods of a subclass
OutputTester(String, String) - Constructor for class com.univocity.test.OutputTester
Creates an output tester to validate outputs produced by test methods of a subclass

P

print(Object) - Method in class com.univocity.test.OutputTester
Appends some content to the output.
print(StringBuilder, Object) - Method in class com.univocity.test.OutputTester
Appends some content to the output.
printAndDontValidate(CharSequence, Object...) - Method in class com.univocity.test.OutputTester
Prints the result to the standard output without validating its contents
printAndDontValidate(Object...) - Method in class com.univocity.test.OutputTester
Prints the result to the standard output without validating its contents
printAndValidate(CharSequence, Object...) - Method in class com.univocity.test.OutputTester
Prints the result to the standard output and validates it against the expected output stored in {expectedOutputsDirPath}/{test_class_name}/{test_method_name}
printAndValidate(Object...) - Method in class com.univocity.test.OutputTester
Prints the result to the standard output and validates it against the expected output stored in {expectedOutputsDirPath}/{test_class_name}/{test_method_name}
println() - Method in class com.univocity.test.OutputTester
Appends a newline to the output
println(Object) - Method in class com.univocity.test.OutputTester
Appends some content to the output and adds a newline at the end.
println(StringBuilder) - Method in class com.univocity.test.OutputTester
Appends a newline to the output
println(StringBuilder, Object) - Method in class com.univocity.test.OutputTester
Appends some content to the output and adds a newline at the end.

S

setDumpMismatchedOutputToFile(boolean) - Method in class com.univocity.test.OutputTester
Defines whether the output produced by a given test method should be written into a temporary file.
setNormalizeLineSeparators(boolean) - Method in class com.univocity.test.OutputTester
Enables/disables normalization of line separators.
setResourceDir(File) - Method in class com.univocity.test.OutputTester
Defines the project's actual resource directory, where the expected output files are located.
setTestResourcesFolder(String) - Method in class com.univocity.test.OutputTester
Defines the project's test resources folder (relative to the project root), where the expected output files are located.
setUpdateExpectedOutputs(boolean) - Method in class com.univocity.test.OutputTester
Used to indicate when all tests of the test class should have their outputs updated.

U

updateExpectedOutput(CharSequence, Object...) - Method in class com.univocity.test.OutputTester
Updates or creates the expected output file under the given expected output directory.
updateExpectedOutput(Object...) - Method in class com.univocity.test.OutputTester
Updates or creates the expected output file under the given expected output directory.

V

validate(CharSequence, Object...) - Method in class com.univocity.test.OutputTester
Validates the result against the expected output stored in {expectedOutputsDirPath}/{test_class_name}/{test_method_name}
validate(Object...) - Method in class com.univocity.test.OutputTester
Validates the result against the expected output stored in {expectedOutputsDirPath}/{test_class_name}/{test_method_name}
C F G I O P S U V 
All Classes All Packages