Skip to content

Commit add2dc1

Browse files
committed
tests: examples
Signed-off-by: Jan Kowalleck <[email protected]>
1 parent d1f83ff commit add2dc1

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

tools/src/test/resources/1.7/valid-license-expression-with-text-1.7.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,14 @@
3737
},
3838
{
3939
"licenseIdentifier": "MIT",
40+
"bom-ref": "LicenseDetails-component-C",
4041
"text": {
4142
"content": "MIT License\n\nCopyright (c) 1996 Component-B-Creators Inc.\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"),...\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software..."
4243
}
4344
},
4445
{
4546
"licenseIdentifier": "MIT",
47+
"bom-ref": "LicenseDetails-component-C",
4648
"text": {
4749
"content": "MIT License\n\nCopyright (c) 2001 Component-C-Creators Org\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"),...\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software..."
4850
}

tools/src/test/resources/1.7/valid-license-expression-with-text-1.7.textproto

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,14 @@ components {
3535
}
3636
details {
3737
license_identifier: "MIT"
38+
bom_ref: "LicenseDetails-component-B"
3839
text {
3940
value: "MIT License\n\nCopyright (c) 1996 Component-B-Creators Inc.\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"),...\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software..."
4041
}
4142
}
4243
details {
4344
license_identifier: "MIT"
45+
bom_ref: "LicenseDetails-component-C"
4446
text {
4547
value: "MIT License\n\nCopyright (c) 2001 Component-C-Creators Org\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"),...\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software..."
4648
}

tools/src/test/resources/1.7/valid-license-expression-with-text-1.7.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
3939
Linking this library statically or dynamically with other modules is making a combined work based on this library...]]></text>
4040
</details>
41-
<details license-identifier="MIT">
41+
<details license-identifier="MIT" bom-ref="LicenseDetails-component-B">
4242
<text><![CDATA[MIT License
4343
4444
Copyright (c) 1996 Component-B-Creators Inc.
@@ -49,7 +49,7 @@ of this software and associated documentation files (the "Software"),...
4949
The above copyright notice and this permission notice shall be included in all
5050
copies or substantial portions of the Software...]]></text>
5151
</details>
52-
<details license-identifier="MIT">
52+
<details license-identifier="MIT" bom-ref="LicenseDetails-component-C">
5353
<text><![CDATA[MIT License
5454
5555
Copyright (c) 2001 Component-C-Creators Org

0 commit comments

Comments
 (0)