Interface | Description |
---|---|
TextResource |
Abstracts access to textual resources needed during testing, such as test data or hql scripts
By using this interface, code that uses testing resources can be written agnostic to the origin or nature of the resource
|
Class | Description |
---|---|
InputStreamResource |
Provides an abstract TextResource for building TextResource classes that access InputStream accessible resources
InputStreamResource handles the utility of reading out the content of an InputStream into a String
Child classes provide the InputStream to read from
|
LocalFileResource |
Handles access to text resources contained in files on the local file system
|
ResourceFolderResource |
Jars can have files packaged into the resources folder of the jar
This TextResource handles access to said resource folder files
|
TextLiteralResource |
The most basic TextResource - wraps text literals or Java strings as a TextResource
|
Copyright © 2016. All rights reserved.