Package com.github.robtimus.junit.support.extension.testresource
Provides interfaces and classes for the
TestResource
extension.-
Class Summary Class Description TestResourceLoaders TestResourceLoaders
contains some utility methods that can be used withLoadWith
to load resource into objects. -
Annotation Types Summary Annotation Type Description AsLines AsLinesArray AsProperties Encoding Encoding
can be used in combination withTestResource
to specify a specific encoding or charset to use.EOL EOL
can be used in combination withTestResource
to specify a specific line separator to use.LoadWith LoadWith
can be used in combination withTestResource
to specify a factory method to load the contents of a resource into an object.TestResource TestResource
can be used to annotate a field or a parameter in a lifecycle method or test method that should be resolved into the contents of a (test) resource.