-
Notifications
You must be signed in to change notification settings - Fork 3
Description
I would like to use this code to replace the Java license matching used in the SPDX online tools.
Before making that change, I would like to test all of the SPDX listed licenses.
This can be done by downloaded all of the license templates from the License List Data templates repo and downloading text files from the License List XML test files repo.
If we do license compares against all the files in the test files and it matches all the templates from the templates directory that would demonstrate we have no false negatives.
We can also test for false positives by finding any matches against more than one template. There are some expected duplicates which are all documented in the License List XML expected-warnings file.
Note that to keep the test and template files consistent, you should download the same tagged version (e.g. v3.12 used in the above links).