diff options
Diffstat (limited to 'apex/aconfig_test.go')
-rw-r--r-- | apex/aconfig_test.go | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/apex/aconfig_test.go b/apex/aconfig_test.go index 14c0b6394..bb811f58a 100644 --- a/apex/aconfig_test.go +++ b/apex/aconfig_test.go @@ -74,6 +74,8 @@ func TestValidationAcrossContainersExportedPass(t *testing.T) { apex_available: [ "myapex", ], + sdk_version: "none", + system_modules: "none", }`, }, { @@ -122,6 +124,8 @@ func TestValidationAcrossContainersExportedPass(t *testing.T) { apex_available: [ "myapex", ], + sdk_version: "none", + system_modules: "none", }`, }, { @@ -345,6 +349,8 @@ func TestValidationAcrossContainersNotExportedFail(t *testing.T) { apex_available: [ "myapex", ], + sdk_version: "none", + system_modules: "none", }`, expectedError: `.*my_java_library_foo/myapex depends on my_java_aconfig_library_foo/otherapex/production across containers`, }, @@ -392,6 +398,8 @@ func TestValidationAcrossContainersNotExportedFail(t *testing.T) { apex_available: [ "myapex", ], + sdk_version: "none", + system_modules: "none", }`, expectedError: `.*my_android_app_foo/myapex depends on my_java_aconfig_library_foo/otherapex/production across containers`, }, @@ -693,6 +701,8 @@ func TestValidationAcrossContainersNotExportedFail(t *testing.T) { apex_available: [ "myapex", ], + sdk_version: "none", + system_modules: "none", }`, expectedError: `.*my_android_app_foo/myapex depends on my_java_aconfig_library_foo/otherapex/production across containers`, }, @@ -769,6 +779,8 @@ func TestValidationNotPropagateAcrossShared(t *testing.T) { apex_available: [ "myapex", ], + sdk_version: "none", + system_modules: "none", }`, }, } |