Refactor some tests to not use bp2build_avail
Bug: 301312260 Test: presubmits Change-Id: I67ca45f17d11e9b893fae5f6c6df1239ae4220b6
This commit is contained in:
@@ -32,8 +32,9 @@ func runJavaTestHostTestCase(t *testing.T, tc Bp2buildTestCase) {
|
||||
|
||||
func TestJavaTestHostGeneral(t *testing.T) {
|
||||
runJavaTestHostTestCase(t, Bp2buildTestCase{
|
||||
Description: "java_test_host general",
|
||||
Filesystem: map[string]string{},
|
||||
Description: "java_test_host general",
|
||||
Filesystem: map[string]string{},
|
||||
StubbedBuildDefinitions: []string{"lib_a", "lib_b"},
|
||||
Blueprint: `
|
||||
java_test_host {
|
||||
name: "java_test_host-1",
|
||||
@@ -47,12 +48,10 @@ java_test_host {
|
||||
|
||||
java_library {
|
||||
name: "lib_a",
|
||||
bazel_module: { bp2build_available: false },
|
||||
}
|
||||
|
||||
java_library {
|
||||
name: "static_libs_a",
|
||||
bazel_module: { bp2build_available: false },
|
||||
}
|
||||
`,
|
||||
ExpectedBazelTargets: []string{
|
||||
|
Reference in New Issue
Block a user