[
https://issues.apache.org/jira/browse/RAT-541?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18123174#comment-18123174
]
ASF subversion and git services commented on RAT-541:
-----------------------------------------------------
Commit cf6423309fae4aa3d3dd9f6cdd6af9fbadcf0039 in creadur-rat's branch
refs/heads/master from Claude Warren
[ https://gitbox.apache.org/repos/asf?p=creadur-rat.git;h=cf6423309 ]
RAT-541: create testhelpers.data package (#655)
* fix DocumentName issues
* Fixed several parsing errors in DocumentName.Builder
Add testing
Expanded testing to include multiple file system types
Fix recursion issue in DocumentName equals and compareTo
Additional migration to assertj
Changed File options to return DocumentName instances.
Cleaned up Sonar review issues
* created testhelper and updated tests
* Change to Reporter.Output usage
Change to ReportConfiguration.IODescriptor usage
* updated UI strategy
* Remove ArchiveEntryDocument and clean up ArchiveWalker.
* Switch to UnmodifiableSets for licences
* fix spotbugs issues
* created TempDir replacement to support Windows
* Fixed issues with DocumentName and DocumentNameBuilder.
Reworked tests for more complete coverage.
Fixed issue with ReportTestDataProvider.java
* fixes for DocumentName errors
* fix DocumentName issues
* Fixed several parsing errors in DocumentName.Builder
Add testing
Expanded testing to include multiple file system types
Fix recursion issue in DocumentName equals and compareTo
Additional migration to assertj
Changed File options to return DocumentName instances.
Cleaned up Sonar review issues
* RAT-559: Shorten tests
* Fixed UIOption build issues
* removed dead code
* removed unnecessary check
* fixed tests
* updated javadocs etc.
* fixed encoding name and bad override annotation
* RAT-541: Minor changes during review
* RAT-541: Minor changes during review, adapt RAT HTML5 xslt
* RAT-541: Try to get rid of deprecated ArgType processing - fails in
MavenGenerator
* RAT-541: Replace with non-deprecated jUnit5 method
* RAT-541: Review docs
* RAT-541: Fix warning
* RAT-541: Simplify data creation
* RAT-541: Cleanup Ant Javadoc
* RAT-541: Raise test coverage, add tests for delete()
* fixed regex escaped string
* RAT-541: Replace String.format by regular String
* Remove redundant escape in RegExp
* RAT-541: Raise coverage and fix sonarcloud issues
* fixed deprecated usage code in MavenGenerator
* RAT-541: Reduce complexity in method
* RAT-541: Add more tests for MavenGenerator
* RAT-541: Add more tests and refactor existing ones
* RAT-541: Get rid of deprecated stuff and review changes
* removed unused code, fixed IDE warning
* RAT-541: Update changes.xml entry
---------
Co-authored-by: P. Ottlinger <[email protected]>
> Create testhelper/data package
> ------------------------------
>
> Key: RAT-541
> URL: https://issues.apache.org/jira/browse/RAT-541
> Project: Apache RAT
> Issue Type: Sub-task
> Components: Client - cli, core engine
> Affects Versions: 0.18
> Reporter: Claude Warren
> Assignee: Claude Warren
> Priority: Major
> Fix For: 1.0.0
>
>
> Create a testhelper/data package that contains
> * TestData class that contains
> ** the name of the test
> ** A list of command line <Option, String[]> pairs that represent the
> command line to be executed.
> ** A Consumer<Path> to create any files necessary for the test.
> ** A Consumer<ValidatorData> to validate the test succeeded.
> ** An expectedException if one is expected during operation.
> * ValidatorData a class that contains the Reporter.Output and the Path of
> the directory where the test was executed.
> * TestDataProvider instances that provide a set of TestData for a
> UIOptionCollection.
>
> This package will provide implementation agnostic test data to the UI
> implementations to ensure that they properly handle all the supported
> standard command line options.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)