Class LicenseTester

java.lang.Object
org.spdx.licenselistpublisher.licensegenerator.LicenseTester
All Implemented Interfaces:
ILicenseTester

public class LicenseTester
extends Object
implements ILicenseTester
Test SPDX licenses against a directory of test licenses. The directory of test licenses contains license text with the following file naming convention: {license-id}/(license|header|exception)/(good|bad)/{test-id}.txt
Author:
Gary O'Neall
  • Constructor Details

    • LicenseTester

      public LicenseTester​(File licenseTestDirectory)
      Parameters:
      licenseTestDirectory - Directory of license text files for comparison in the form {license-id}/(license|header|exception)/(good|bad)/{test-id}.txt
  • Method Details