A C D E F G I L N O P R S T U V 
All Classes All Packages

A

AbstractFileLocator<T> - Class in com.univocity.test
 
AbstractFileLocator() - Constructor for class com.univocity.test.AbstractFileLocator
 

C

CASE_INSENSITIVE - Static variable in class com.univocity.test.AbstractFileLocator
 
CASE_SENSITIVE - Static variable in class com.univocity.test.AbstractFileLocator
 
classLoaderReader - Variable in class com.univocity.test.OutputTester
 
ClassPathResourceReader - Class in com.univocity.test
 
ClassPathResourceReader() - Constructor for class com.univocity.test.ClassPathResourceReader
 
classResourceReader - Variable in class com.univocity.test.OutputTester
 
cleanup(String) - Method in class com.univocity.test.OutputTester
 
clear() - Method in class com.univocity.test.OutputTester
Discards any output stored in the internal buffer.
com.univocity.test - package com.univocity.test
 

D

dumpMismatchedOutputToFile - Variable in class com.univocity.test.OutputTester
 
dumpOutput(String, String, String, File, String) - Static method in class com.univocity.test.ResultHelper
 

E

expectedOutputEncoding - Variable in class com.univocity.test.OutputTester
 
expectedOutputsDirPath - Variable in class com.univocity.test.OutputTester
 

F

fileLocator - Static variable in class com.univocity.test.ResultHelper
 
FileLocator - Class in com.univocity.test
 
FileLocator() - Constructor for class com.univocity.test.FileLocator
 
fileReader - Variable in class com.univocity.test.OutputTester
 
FilesystemResourceReader - Class in com.univocity.test
 
FilesystemResourceReader() - Constructor for class com.univocity.test.FilesystemResourceReader
 
findExpectedResultFile(String, String, ResourceReader<T>) - Static method in class com.univocity.test.ResultHelper
 

G

getExpectedOutputDir() - Method in class com.univocity.test.OutputTester
 
getMethodWithArgs(String, Object[]) - Static method in class com.univocity.test.ResultHelper
 
getOutputAndClear() - Method in class com.univocity.test.OutputTester
 
getResourceDir() - Method in class com.univocity.test.OutputTester
Returns the project's actual resource directory, where the expected output files are located.
getResultData(String, String) - Method in class com.univocity.test.OutputTester
 
getSafeArg(Object) - Static method in class com.univocity.test.ResultHelper
 
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

isCaseSensitive() - Method in class com.univocity.test.AbstractFileLocator
 
isCaseSensitive() - Method in class com.univocity.test.ClassPathResourceReader
 
isCaseSensitive() - Method in interface com.univocity.test.ResourceReader
 
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.
isTestMethod(String, String) - Method in class com.univocity.test.OutputTester
 

L

listResourcesUnder(String) - Method in class com.univocity.test.AbstractFileLocator
 
listResourcesUnder(String) - Method in class com.univocity.test.ClassPathResourceReader
 
listResourcesUnder(String) - Method in interface com.univocity.test.ResourceReader
 

N

normalizeLineSeparators - Variable in class com.univocity.test.OutputTester
 

O

open(File) - Method in class com.univocity.test.AbstractFileLocator
 
open(File) - Method in class com.univocity.test.FileLocator
 
open(File) - Method in class com.univocity.test.FilesystemResourceReader
 
open(String) - Method in class com.univocity.test.AbstractFileLocator
 
open(String) - Method in interface com.univocity.test.ResourceReader
 
out - Variable in class com.univocity.test.OutputTester
 
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

packageName - Variable in class com.univocity.test.OutputTester
 
performValidation(boolean, boolean, String, String, Object[], String, File) - Method in class com.univocity.test.OutputTester
 
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.
print(String, String, String) - Method in class com.univocity.test.OutputTester
 
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}
printAndValidateOutput(boolean, boolean, String, File, Object[]) - Method in class com.univocity.test.OutputTester
Finds out the test method being executed and compares the output against the expected output in expectedOutputsDirPath.
printAndValidateOutput(boolean, boolean, String, Object[]) - Method in class com.univocity.test.OutputTester
Finds out the test method being executed and compares the output against the expected output in expectedOutputsDirPath.
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.

R

readExpectedResult(InputStream, String) - Static method in class com.univocity.test.ResultHelper
 
resourceDir - Variable in class com.univocity.test.OutputTester
 
ResourceReader<T> - Interface in com.univocity.test
 
ResultHelper - Class in com.univocity.test
 
ResultHelper() - Constructor for class com.univocity.test.ResultHelper
 

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.

T

testResourcesFolder - Variable in class com.univocity.test.OutputTester
 
testRoot - Variable in class com.univocity.test.OutputTester
 

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.
updateExpectedOutput(String, String, String, File) - Method in class com.univocity.test.OutputTester
 
updateExpectedOutputs - Variable in class com.univocity.test.OutputTester
 

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}
validateExampleOutput(String, String, String, File) - Method in class com.univocity.test.OutputTester
 
A C D E F G I L N O P R S T U V 
All Classes All Packages