Skip to content

Commit

Permalink
Use only expressions in tests #74
Browse files Browse the repository at this point in the history
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
  • Loading branch information
pombredanne committed May 3, 2018
1 parent 7929d1f commit 9ff3e14
Show file tree
Hide file tree
Showing 1,482 changed files with 39 additions and 4,599 deletions.
2 changes: 0 additions & 2 deletions tests/licensedcode/data/licenses/3pp-proprietary-05.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
licenses:
- proprietary
license_expressions:
- proprietary
2 changes: 0 additions & 2 deletions tests/licensedcode/data/licenses/3pp-proprietary-05_1.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
licenses:
- proprietary
license_expressions:
- proprietary
notes: Common for old Motorola code, such as MetroWerks and FreeScale-related code
3 changes: 0 additions & 3 deletions tests/licensedcode/data/licenses/COPYING.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
licenses:
- gpl-3.0
- gpl-3.0
license_expressions:
- gpl-3.0
- gpl-3.0
4 changes: 0 additions & 4 deletions tests/licensedcode/data/licenses/CRC32.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
licenses:
- apache-2.0
- bsd-new
- zlib
license_expressions:
- apache-2.0
- bsd-new
Expand Down
2 changes: 0 additions & 2 deletions tests/licensedcode/data/licenses/DefaultCRSFilterVisitor.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
licenses:
- lgpl-2.1
license_expressions:
- lgpl-2.1
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
licenses:
- gpl-2.0
license_expressions:
- gpl-2.0
4 changes: 0 additions & 4 deletions tests/licensedcode/data/licenses/EchoEncoder.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,2 @@
licenses:
- epl-1.0
- lgpl-2.1
license_choice: yes
license_expressions:
- epl-1.0 OR lgpl-2.1
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
licenses:
- apache-2.0
license_expressions:
- apache-2.0
4 changes: 0 additions & 4 deletions tests/licensedcode/data/licenses/JZlib.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
licenses:
- apache-2.0
- bsd-new
- zlib
license_expressions:
- apache-2.0
- bsd-new
Expand Down
2 changes: 0 additions & 2 deletions tests/licensedcode/data/licenses/ObjCARCAliasAnalysis.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
licenses:
- uoi-ncsa
license_expressions:
- uoi-ncsa
8 changes: 4 additions & 4 deletions tests/licensedcode/data/licenses/address_spec.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
notes: |
no license should be detected there. Orginally from
https://raw.githubusercontent.com/braintree/braintree_ruby/719eec824f39bc10bc251d5aadf5add1cfee0d42/spec/integration/braintree/address_spec.rb
The test file is itself under this license (even though it has no notice)
Copyright (c) 2009-2014 Braintree, a division of PayPal, Inc.
Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
files (the "Software"), to deal in the Software without
Expand All @@ -13,10 +13,10 @@ notes: |
copies of the Software, and to permit persons to whom the
Software is furnished to do so, subject to the following
conditions:
The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
licenses:
- adobe-acrobat-reader-eula
license_expressions:
- adobe-acrobat-reader-eula
3 changes: 0 additions & 3 deletions tests/licensedcode/data/licenses/adobe-eula.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
licenses:
- adobe-eula
- gpl-1.0-plus
license_expressions:
- adobe-eula AND gpl-1.0-plus
notes: GPL is for the Debian packaging
Original file line number Diff line number Diff line change
@@ -1,23 +1,3 @@
licenses:
- gpl-2.0-plus
- gpl-1.0-plus
- lgpl-2.0-plus
- gfdl-1.1
- gpl-2.0
- gpl-2.0-plus
- gpl-2.0-plus
- gpl-1.0-plus
- gpl-2.0
- gpl-2.0-plus
- lgpl-2.0-plus
- gfdl-1.1-plus
- afmparse
- x11-tiff
- mit
- gpl-1.0-plus
- gpl-2.0-plus
- lgpl-2.0-plus
- gfdl-1.1
license_expressions:
- gpl-2.0-plus
- gpl-1.0-plus
Expand Down
3 changes: 0 additions & 3 deletions tests/licensedcode/data/licenses/adobe.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
licenses:
- adobe-acrobat-reader-eula
- adobe-postscript
license_expressions:
- adobe-acrobat-reader-eula
- adobe-postscript
Expand Down
2 changes: 0 additions & 2 deletions tests/licensedcode/data/licenses/aes-128-3.0.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
licenses:
- public-domain-disclaimer
license_expressions:
- public-domain-disclaimer
Original file line number Diff line number Diff line change
@@ -1,126 +1,3 @@
licenses:
- proprietary
- proprietary
- proprietary
- proprietary
- proprietary
- proprietary
- proprietary
- bsd-original-uc
- x11-lucent
- bsd-new
- carnegie-mellon-contributors
- paul-mackerras
- gpl-2.0
- x11-keith-packard
- brian-clapper
- historical
- bsd-2-clause-freebsd
- gpl-2.0
- gpl-2.0-plus
- bsd-simplified
- gpl-1.0-plus
- gpl-2.0-plus
- bsd-simplified
- gpl-1.0-plus
- gpl-1.0-plus
- gpl-1.0-plus
- gpl-2.0
- gpl-2.0
- bsd-simplified
- lgpl-2.0-plus
- lgpl-2.0-plus
- lgpl-2.0-plus
- lgpl-2.0-plus
- lgpl-2.0-plus
- x11-fsf
- proprietary
- bsd-new
- bzip2-libbzip-1.0.5
- bsd-new
- brian-gladman-dual
- public-domain
- public-domain
- public-domain
- gpl-2.0
- x11-keith-packard
- x11
- gpl-2.0
- x11-keith-packard
- bsd-new
- isc
- json
- ijg
- x11-tiff
- x11-lucent
- mit-old-style-no-advert
- bsd-new
- lgpl-2.1-plus
- mpl-1.1
- gpl-2.0
- mpl-1.1
- gpl-2.0-plus
- gpl-1.0-plus
- gpl-1.0-plus
- gpl-1.0-plus
- gpl-1.0-plus
- gpl-1.0-plus
- mpl-1.1
- gpl-2.0-plus
- lgpl-2.1-plus
- mpl-1.1
- gpl-2.0-plus
- lgpl-2.1-plus
- gpl-1.0-plus
- lgpl-2.0-plus
- gpl-1.0-plus
- lgpl-2.0-plus
- gpl-1.0-plus
- lgpl-2.0-plus
- gpl-1.0-plus
- lgpl-2.0-plus
- gpl-1.0-plus
- lgpl-2.0-plus
- bsd-simplified
- bsd-new
- openssl-ssleay
- openssl-ssleay
- openssl-ssleay
- openssl
- proprietary
- bsd-original-uc
- ssleay-windows
- bsd-new
- bsla
- mit
- gpl-1.0-plus
- gpl-1.0-plus
- gpl-1.0-plus
- gpl-1.0-plus
- gpl-1.0-plus
- bsd-new
- public-domain
- bzip2-libbzip-1.0.5
- clear-bsd
- bsd-new
- unicode-mappings
- bsd-new
- gpl-2.0
- x11-keith-packard
- bsd-original-uc
- pcre
- mit
- bsd-simplified
- libpng
- lgpl-2.0-plus
- lgpl-2.0-plus
- lgpl-2.0-plus
- lgpl-2.0-plus
- bsd-new
- lgpl-2.0
- bsd-new
- bsd-new
- unknown
license_expressions:
- proprietary
- proprietary
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
licenses:
- public-domain
- gpl-2.0
- bsd-new
- public-domain-disclaimer
license_expressions:
- public-domain AND (gpl-2.0 OR bsd-new)
- public-domain-disclaimer
Original file line number Diff line number Diff line change
@@ -1,5 +1,2 @@
licenses:
- afl-2.0
- lgpl-2.0-plus
license_expressions:
- afl-2.0 OR lgpl-2.0-plus
Original file line number Diff line number Diff line change
@@ -1,16 +1,3 @@
licenses:
- bsd-new
- afl-2.1
- mpl-1.0
- lgpl-2.0-plus
- gpl-1.0-plus
- apache-2.0
- apache-2.0
- afl-2.1
- bsd-new
- bsd-new
- bsd-new
- afl-2.1
license_expressions:
- bsd-new AND afl-2.1 AND mpl-1.0 AND lgpl-2.0-plus AND gpl-1.0-plus AND apache-2.0 AND
apache-2.0
Expand Down
2 changes: 0 additions & 2 deletions tests/licensedcode/data/licenses/agg-2.4_1.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
licenses:
- boost-original
license_expressions:
- boost-original
2 changes: 0 additions & 2 deletions tests/licensedcode/data/licenses/agg-2.4_3.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
licenses:
- boost-original
license_expressions:
- boost-original
2 changes: 0 additions & 2 deletions tests/licensedcode/data/licenses/agpl-1.0.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
licenses:
- agpl-1.0
license_expressions:
- agpl-1.0
2 changes: 0 additions & 2 deletions tests/licensedcode/data/licenses/agpl-3.0.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
licenses:
- agpl-3.0
license_expressions:
- agpl-3.0
2 changes: 0 additions & 2 deletions tests/licensedcode/data/licenses/agpl-3.0_1.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
licenses:
- agpl-3.0
license_expressions:
- agpl-3.0
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
licenses:
- zlib
license_expressions:
- zlib
2 changes: 0 additions & 2 deletions tests/licensedcode/data/licenses/allegro-4.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
licenses:
- allegro-4
license_expressions:
- allegro-4
2 changes: 0 additions & 2 deletions tests/licensedcode/data/licenses/altova-eula.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
licenses:
- altova-eula
license_expressions:
- altova-eula
2 changes: 0 additions & 2 deletions tests/licensedcode/data/licenses/amazon-apache.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
licenses:
- apache-2.0
license_expressions:
- apache-2.0
2 changes: 0 additions & 2 deletions tests/licensedcode/data/licenses/amdplpa.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
licenses:
- amdplpa
license_expressions:
- amdplpa
2 changes: 0 additions & 2 deletions tests/licensedcode/data/licenses/aml.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
licenses:
- aml
license_expressions:
- aml
2 changes: 0 additions & 2 deletions tests/licensedcode/data/licenses/android-sdk-2012.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
licenses:
- android-sdk-2012
license_expressions:
- android-sdk-2012
4 changes: 0 additions & 4 deletions tests/licensedcode/data/licenses/android-sdk-preview-2015.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
licenses:
- android-sdk-preview-2015
- android-sdk-preview-2015
- cc-by-2.5
license_expressions:
- android-sdk-preview-2015
- android-sdk-preview-2015
Expand Down
2 changes: 0 additions & 2 deletions tests/licensedcode/data/licenses/antlr-pd.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
licenses:
- antlr-pd
license_expressions:
- antlr-pd
2 changes: 0 additions & 2 deletions tests/licensedcode/data/licenses/antlr-pd_1.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
licenses:
- antlr-pd
license_expressions:
- antlr-pd
3 changes: 0 additions & 3 deletions tests/licensedcode/data/licenses/apache-1.0.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,2 @@
licenses:
- apache-1.0
- public-domain
license_expressions:
- apache-1.0 AND public-domain
2 changes: 0 additions & 2 deletions tests/licensedcode/data/licenses/apache-1.1.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
licenses:
- apache-1.1
license_expressions:
- apache-1.1
2 changes: 0 additions & 2 deletions tests/licensedcode/data/licenses/apache-1.1_1.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
licenses:
- apache-1.1
license_expressions:
- apache-1.1
2 changes: 0 additions & 2 deletions tests/licensedcode/data/licenses/apache-1.1_10.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
licenses:
- apache-1.1
license_expressions:
- apache-1.1
2 changes: 0 additions & 2 deletions tests/licensedcode/data/licenses/apache-1.1_11.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
licenses:
- apache-1.1
license_expressions:
- apache-1.1
Loading

0 comments on commit 9ff3e14

Please sign in to comment.