Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 53e5f2a9 authored by Paul Duffin's avatar Paul Duffin Committed by Gerrit Code Review
Browse files

Merge "Migrate sdk tests away from checkAndroidBpContents"

parents ebf17ee0 e1381887
Loading
Loading
Loading
Loading
+10 −6
Original line number Diff line number Diff line
@@ -43,20 +43,23 @@ func TestModuleExportsSnapshot(t *testing.T) {
		})

	CheckSnapshot(t, result, "myexports", "package",
		checkAndroidBpContents(`
		checkUnversionedAndroidBpContents(`
// This is auto-generated. DO NOT EDIT.

java_import {
    name: "myexports_myjavalib@current",
    sdk_member_name: "myjavalib",
    name: "myjavalib",
    prefer: false,
    visibility: ["//visibility:public"],
    apex_available: ["//apex_available:platform"],
    jars: ["java/myjavalib.jar"],
}
`),
		checkVersionedAndroidBpContents(`
// This is auto-generated. DO NOT EDIT.

java_import {
    name: "myjavalib",
    prefer: false,
    name: "myexports_myjavalib@current",
    sdk_member_name: "myjavalib",
    visibility: ["//visibility:public"],
    apex_available: ["//apex_available:platform"],
    jars: ["java/myjavalib.jar"],
@@ -67,5 +70,6 @@ module_exports_snapshot {
    visibility: ["//visibility:public"],
    java_libs: ["myexports_myjavalib@current"],
}
`))
`),
	)
}
+196 −141

File changed.

Preview size limit exceeded, changes collapsed.