diff options
| author | 2021-03-24 17:59:09 +0000 | |
|---|---|---|
| committer | 2021-03-24 17:59:09 +0000 | |
| commit | 688ba5bc2b26c4e01bdc34f7ee1674c25d4f7f50 (patch) | |
| tree | 59313d2bf5c35748290cd8b09fa18827b5670cbd /sdk/java_sdk_test.go | |
| parent | c8ad86479fbeba95c892c2eecf96f9c6028fc300 (diff) | |
| parent | ac94726ef25ab786e3c5cc5fa06e7e9278142fac (diff) | |
Merge "Remove testSdkWithJava"
Diffstat (limited to 'sdk/java_sdk_test.go')
| -rw-r--r-- | sdk/java_sdk_test.go | 81 |
1 files changed, 0 insertions, 81 deletions
diff --git a/sdk/java_sdk_test.go b/sdk/java_sdk_test.go index 190cf78a1..fa0eb3fd5 100644 --- a/sdk/java_sdk_test.go +++ b/sdk/java_sdk_test.go @@ -33,87 +33,6 @@ var prepareForSdkTestWithJavaSdkLibrary = android.GroupFixturePreparers( java.FixtureWithLastReleaseApis("myjavalib"), ) -func testSdkWithJava(t *testing.T, bp string) *android.TestResult { - t.Helper() - - fs := map[string][]byte{ - "Test.java": nil, - "resource.test": nil, - "aidl/foo/bar/Test.aidl": nil, - - // For java_import - "prebuilt.jar": nil, - - // For java_sdk_library - "api/current.txt": nil, - "api/removed.txt": nil, - "api/system-current.txt": nil, - "api/system-removed.txt": nil, - "api/test-current.txt": nil, - "api/test-removed.txt": nil, - "api/module-lib-current.txt": nil, - "api/module-lib-removed.txt": nil, - "api/system-server-current.txt": nil, - "api/system-server-removed.txt": nil, - "build/soong/scripts/gen-java-current-api-files.sh": nil, - "docs/known_doctags": nil, - "100/public/api/myjavalib.txt": nil, - "100/public/api/myjavalib-removed.txt": nil, - "100/system/api/myjavalib.txt": nil, - "100/system/api/myjavalib-removed.txt": nil, - "100/module-lib/api/myjavalib.txt": nil, - "100/module-lib/api/myjavalib-removed.txt": nil, - "100/system-server/api/myjavalib.txt": nil, - "100/system-server/api/myjavalib-removed.txt": nil, - } - - // for java_sdk_library tests - bp = ` -java_system_modules_import { - name: "core-current-stubs-system-modules", -} -java_system_modules_import { - name: "stable-core-platform-api-stubs-system-modules", -} -java_import { - name: "stable.core.platform.api.stubs", -} -java_import { - name: "android_stubs_current", -} -java_import { - name: "android_system_stubs_current", -} -java_import { - name: "android_test_stubs_current", -} -java_import { - name: "android_module_lib_stubs_current", -} -java_import { - name: "android_system_server_stubs_current", -} -java_import { - name: "core-lambda-stubs", - sdk_version: "none", -} -java_import { - name: "ext", - sdk_version: "none", -} -java_import { - name: "framework", - sdk_version: "none", -} -prebuilt_apis { - name: "sdk", - api_dirs: ["100"], -} -` + bp - - return testSdkWithFs(t, bp, fs) -} - // Contains tests for SDK members provided by the java package. func TestSdkDependsOnSourceEvenWhenPrebuiltPreferred(t *testing.T) { |