A B C F I M O P R S T W 
All Classes All Packages

A

assertActualFileContentSameAsExpected() - Method in class it.tidalwave.util.test.BaseTestHelper.TestResource
Assert that the content of the actual file are the same as the expected file.
assertSameContents(File, File) - Static method in class it.tidalwave.util.test.FileComparisonUtils
Asserts that two files have the same contents.
assertSameContents(Path, Path) - Static method in class it.tidalwave.util.test.FileComparisonUtils
Asserts that two files have the same contents.
assertSameContents(List<String>, List<String>) - Static method in class it.tidalwave.util.test.FileComparisonUtils
Asserts that two collections of strings have the same contents.

B

BaseTestHelper - Class in it.tidalwave.util.test
A facility that provides some common tasks for testing, such as manipulating test files.
BaseTestHelper() - Constructor for class it.tidalwave.util.test.BaseTestHelper
 
BaseTestHelper.TestResource - Class in it.tidalwave.util.test
A manipulator of a pair of (actual file, expected file).

C

CALLS_DEFAULT_METHODS - Static variable in class it.tidalwave.util.test.MoreAnswers
An Answer that calls default methods of an interface.
checkSameContents(Path, Path) - Static method in class it.tidalwave.util.test.FileComparisonUtils
Checks whether two files have the same contents.
commonPrefix(String, String) - Static method in class it.tidalwave.util.test.FileComparisonUtils
Given a string that represents a path whose segments are separated by the standard separator of the platform, returns the common prefix - which means the common directory parents.
createSpringContext(String...) - Method in class it.tidalwave.util.test.SpringTestHelper
Creates a Spring context configured with the given files.
createSpringContext(Consumer<? super GenericApplicationContext>, String...) - Method in class it.tidalwave.util.test.SpringTestHelper
Creates a Spring context configured with the given files.
createSpringContext(Map<String, Object>, String...) - Method in class it.tidalwave.util.test.SpringTestHelper
Creates a Spring context configured with the given files.
createSpringContext(Map<String, Object>, Consumer<? super GenericApplicationContext>, String...) - Method in class it.tidalwave.util.test.SpringTestHelper
Creates a Spring context configured with the given files.
currentInstant() - Method in class it.tidalwave.util.test.MockTimeProvider
 

F

FileComparisonUtils - Class in it.tidalwave.util.test
A utility class to compare two text files and assert that they have the same contents.
FileComparisonUtils() - Constructor for class it.tidalwave.util.test.FileComparisonUtils
 
fileToStrings(Path) - Static method in class it.tidalwave.util.test.FileComparisonUtils
Reads a file into a list of strings.

I

it.tidalwave.util.test - package it.tidalwave.util.test
 

M

MockTimeProvider - Class in it.tidalwave.util.test
A mock implementation of TimeProvider which returns a fixed value that can be set (the zero epoch instant by default).
MockTimeProvider() - Constructor for class it.tidalwave.util.test.MockTimeProvider
 
MoreAnswers - Class in it.tidalwave.util.test
A repository of reusable Answers for Mockito.
MoreAnswers() - Constructor for class it.tidalwave.util.test.MoreAnswers
 

O

onConfigurationFailure(ITestResult) - Method in class it.tidalwave.util.test.TestLogger
 
onConfigurationSkip(ITestResult) - Method in class it.tidalwave.util.test.TestLogger
 
onFinish(ITestContext) - Method in class it.tidalwave.util.test.TestLogger
 
onStart(ITestContext) - Method in class it.tidalwave.util.test.TestLogger
 
onTestFailedButWithinSuccessPercentage(ITestResult) - Method in class it.tidalwave.util.test.TestLogger
 
onTestFailure(ITestResult) - Method in class it.tidalwave.util.test.TestLogger
 
onTestSkipped(ITestResult) - Method in class it.tidalwave.util.test.TestLogger
 
onTestStart(ITestResult) - Method in class it.tidalwave.util.test.TestLogger
 
onTestSuccess(ITestResult) - Method in class it.tidalwave.util.test.TestLogger
 

P

P_TABULAR_LIMIT - Static variable in class it.tidalwave.util.test.FileComparisonUtils
 
P_TABULAR_OUTPUT - Static variable in class it.tidalwave.util.test.FileComparisonUtils
 

R

readStringFromResource() - Method in class it.tidalwave.util.test.BaseTestHelper.TestResource
Reads the content from the resource file as a single string.
readStringFromResource(String) - Method in class it.tidalwave.util.test.BaseTestHelper
Reads the content from the resource file as a single string.
resourceFileFor(String) - Method in class it.tidalwave.util.test.BaseTestHelper
Returns a Path for a resource file.
resourceToStrings(InputStream) - Static method in class it.tidalwave.util.test.FileComparisonUtils
Reads an input stream into a list of strings.
resourceToStrings(String) - Static method in class it.tidalwave.util.test.FileComparisonUtils
Reads a classpath resource (not a regular file) into a list of strings.

S

SpringTestHelper - Class in it.tidalwave.util.test
A facility that provides some common tasks for testing, such as creating a Spring context and manipulating files.
SpringTestHelper(Object) - Constructor for class it.tidalwave.util.test.SpringTestHelper
 
stringToStrings(String) - Static method in class it.tidalwave.util.test.FileComparisonUtils
Converts a string which contains newlines into a list of strings.

T

test - Variable in class it.tidalwave.util.test.BaseTestHelper
 
TestLogger - Class in it.tidalwave.util.test
 
TestLogger() - Constructor for class it.tidalwave.util.test.TestLogger
 
TestResource() - Constructor for class it.tidalwave.util.test.BaseTestHelper.TestResource
 
testResourceFor(String) - Method in class it.tidalwave.util.test.BaseTestHelper
Create a BaseTestHelper.TestResource for the given name.

W

writeToActualFile(byte[]) - Method in class it.tidalwave.util.test.BaseTestHelper.TestResource
Writes the given bytes to the actual file.
writeToActualFile(Iterable<String>) - Method in class it.tidalwave.util.test.BaseTestHelper.TestResource
Writes the given strings to the actual file.
writeToActualFile(String...) - Method in class it.tidalwave.util.test.BaseTestHelper.TestResource
Writes the given strings to the actual file.
A B C F I M O P R S T W 
All Classes All Packages