Package org.apache.rat.analysis.license
Class AbstractLicenseTest
java.lang.Object
org.apache.rat.analysis.license.AbstractLicenseTest
- Direct Known Subclasses:
ApacheSoftwareLicenseTest,CDDL1LicenseTest,GPLLicenseTest,IllumosLicenseTest,MITLicenseTest,OASISLicenseTest,W3CLicenseTest
Test to see if short form license information will be recognized correctly.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ILicenseextractCategory(String famId, String id) voidsetup()voidvoid
-
Field Details
-
data
-
-
Constructor Details
-
AbstractLicenseTest
protected AbstractLicenseTest()
-
-
Method Details
-
setup
@BeforeEach public void setup() -
extractCategory
-
testMatchProcessing
@ParameterizedTest @MethodSource("parameterProvider") public void testMatchProcessing(String id, String familyPattern, String name, String notes, String[][] targets) throws IOException - Throws:
IOException
-
testEmbeddedStrings
@ParameterizedTest @MethodSource("parameterProvider") public void testEmbeddedStrings(String id, String family, String name, String notes, String[][] targets) throws IOException - Throws:
IOException
-