We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
mainLicense()
1 parent f1d6e97 commit 8f6fa62Copy full SHA for 8f6fa62
model/src/test/kotlin/licenses/ResolvedLicenseInfoTest.kt
@@ -47,6 +47,13 @@ import org.ossreviewtoolkit.utils.spdx.toSpdx
47
48
@DelicateCoroutinesApi
49
class ResolvedLicenseInfoTest : WordSpec({
50
+ "mainLicense()" should {
51
+ "return declared and detected licenses, but no concluded license" {
52
+ RESOLVED_LICENSE_INFO.mainLicense() shouldBe
53
+ "($APACHE OR $MIT) AND ($MIT OR $GPL) AND ($BSD OR $GPL)".toSpdx()
54
+ }
55
56
+
57
"effectiveLicense()" should {
58
"apply choices for LicenseView.ALL on all resolved licenses" {
59
// All: (Apache-2.0 WITH LLVM-exception OR MIT) AND (MIT OR GPL-2.0-only) AND (0BSD OR GPL-2.0-only)
0 commit comments