Class ReportTestDataProvider

java.lang.Object
org.apache.rat.testhelpers.data.AbstractTestDataProvider
org.apache.rat.testhelpers.data.ReportTestDataProvider

public class ReportTestDataProvider extends AbstractTestDataProvider
Generates a list of TestData for executing the Report. The tests work by creating a Path Consumer to construct a directory under the test base directory and creating files and/or directories within that directory. A test validator is created to validate the expected results of the operation and a TestData object is created for each test.
Each TestData represents a single test of a command line option or set of options.
These tests generally validate the results in the generated XML are as expected.