Policy change: GPL+CE is permissive.
Bug: 210546823 Test: m cts compliance_checkshare compliancenotice_bom \ compliancenotice_shippedlibs compliance_listshare \ compliance_dumpgraph compliance_dumpresolutions htmlnotice \ compliance_rtrace textnotice xmlnotice Change-Id: I7da36972ffbb1494e33fd63db8e5ec851d47704c
This commit is contained in:
@@ -40,9 +40,7 @@ func TestResolveSourceSharing(t *testing.T) {
|
||||
edges: []annotated{
|
||||
{"apacheBin.meta_lic", "gplWithClasspathException.meta_lic", []string{"dynamic"}},
|
||||
},
|
||||
expectedResolutions: []res{
|
||||
{"gplWithClasspathException.meta_lic", "gplWithClasspathException.meta_lic", "gplWithClasspathException.meta_lic", "restricted"},
|
||||
},
|
||||
expectedResolutions: []res{},
|
||||
},
|
||||
{
|
||||
name: "independentmodulestaticrestricted",
|
||||
@@ -50,10 +48,7 @@ func TestResolveSourceSharing(t *testing.T) {
|
||||
edges: []annotated{
|
||||
{"apacheBin.meta_lic", "gplWithClasspathException.meta_lic", []string{"static"}},
|
||||
},
|
||||
expectedResolutions: []res{
|
||||
{"apacheBin.meta_lic", "apacheBin.meta_lic", "gplWithClasspathException.meta_lic", "restricted"},
|
||||
{"apacheBin.meta_lic", "gplWithClasspathException.meta_lic", "gplWithClasspathException.meta_lic", "restricted"},
|
||||
},
|
||||
expectedResolutions: []res{},
|
||||
},
|
||||
{
|
||||
name: "dependentmodulerestricted",
|
||||
@@ -61,9 +56,7 @@ func TestResolveSourceSharing(t *testing.T) {
|
||||
edges: []annotated{
|
||||
{"dependentModule.meta_lic", "gplWithClasspathException.meta_lic", []string{"dynamic"}},
|
||||
},
|
||||
expectedResolutions: []res{
|
||||
{"dependentModule.meta_lic", "dependentModule.meta_lic", "gplWithClasspathException.meta_lic", "restricted"},
|
||||
},
|
||||
expectedResolutions: []res{},
|
||||
},
|
||||
{
|
||||
name: "dependentmodulerestrictedshipclasspath",
|
||||
@@ -71,11 +64,7 @@ func TestResolveSourceSharing(t *testing.T) {
|
||||
edges: []annotated{
|
||||
{"dependentModule.meta_lic", "gplWithClasspathException.meta_lic", []string{"dynamic"}},
|
||||
},
|
||||
expectedResolutions: []res{
|
||||
{"dependentModule.meta_lic", "dependentModule.meta_lic", "gplWithClasspathException.meta_lic", "restricted"},
|
||||
{"dependentModule.meta_lic", "gplWithClasspathException.meta_lic", "gplWithClasspathException.meta_lic", "restricted"},
|
||||
{"gplWithClasspathException.meta_lic", "gplWithClasspathException.meta_lic", "gplWithClasspathException.meta_lic", "restricted"},
|
||||
},
|
||||
expectedResolutions: []res{},
|
||||
},
|
||||
{
|
||||
name: "lgplonfprestricted",
|
||||
@@ -185,9 +174,7 @@ func TestResolveSourceSharing(t *testing.T) {
|
||||
edges: []annotated{
|
||||
{"gplWithClasspathException.meta_lic", "apacheBin.meta_lic", []string{"dynamic"}},
|
||||
},
|
||||
expectedResolutions: []res{
|
||||
{"gplWithClasspathException.meta_lic", "gplWithClasspathException.meta_lic", "gplWithClasspathException.meta_lic", "restricted"},
|
||||
},
|
||||
expectedResolutions: []res{},
|
||||
},
|
||||
{
|
||||
name: "independentmodulereversestaticrestricted",
|
||||
@@ -195,10 +182,7 @@ func TestResolveSourceSharing(t *testing.T) {
|
||||
edges: []annotated{
|
||||
{"gplWithClasspathException.meta_lic", "apacheBin.meta_lic", []string{"static"}},
|
||||
},
|
||||
expectedResolutions: []res{
|
||||
{"gplWithClasspathException.meta_lic", "gplWithClasspathException.meta_lic", "gplWithClasspathException.meta_lic", "restricted"},
|
||||
{"gplWithClasspathException.meta_lic", "apacheBin.meta_lic", "gplWithClasspathException.meta_lic", "restricted"},
|
||||
},
|
||||
expectedResolutions: []res{},
|
||||
},
|
||||
{
|
||||
name: "dependentmodulereverserestricted",
|
||||
@@ -206,9 +190,7 @@ func TestResolveSourceSharing(t *testing.T) {
|
||||
edges: []annotated{
|
||||
{"gplWithClasspathException.meta_lic", "dependentModule.meta_lic", []string{"dynamic"}},
|
||||
},
|
||||
expectedResolutions: []res{
|
||||
{"gplWithClasspathException.meta_lic", "gplWithClasspathException.meta_lic", "gplWithClasspathException.meta_lic", "restricted"},
|
||||
},
|
||||
expectedResolutions: []res{},
|
||||
},
|
||||
{
|
||||
name: "dependentmodulereverserestrictedshipdependent",
|
||||
@@ -216,11 +198,7 @@ func TestResolveSourceSharing(t *testing.T) {
|
||||
edges: []annotated{
|
||||
{"gplWithClasspathException.meta_lic", "dependentModule.meta_lic", []string{"dynamic"}},
|
||||
},
|
||||
expectedResolutions: []res{
|
||||
{"gplWithClasspathException.meta_lic", "gplWithClasspathException.meta_lic", "gplWithClasspathException.meta_lic", "restricted"},
|
||||
{"gplWithClasspathException.meta_lic", "dependentModule.meta_lic", "gplWithClasspathException.meta_lic", "restricted"},
|
||||
{"dependentModule.meta_lic", "dependentModule.meta_lic", "gplWithClasspathException.meta_lic", "restricted"},
|
||||
},
|
||||
expectedResolutions: []res{},
|
||||
},
|
||||
{
|
||||
name: "ponrrestricted",
|
||||
|
Reference in New Issue
Block a user