Share runBp2BuildTestCase & runPythonTestCase
Pull along bp2buildTestCase as well Because none are specific to their current hosts Move `errored` up to the "generic" block vs. the "custom" block Test: Existing tests pass Change-Id: Ie8d5322a5554ebd88f0c142a4c541791687be326
This commit is contained in:
parent
b3c68004af
commit
1c92aeff4e
@@ -40,17 +40,6 @@ toolchain_library {
|
||||
}`
|
||||
)
|
||||
|
||||
type bp2buildTestCase struct {
|
||||
description string
|
||||
moduleTypeUnderTest string
|
||||
moduleTypeUnderTestFactory android.ModuleFactory
|
||||
moduleTypeUnderTestBp2BuildMutator func(android.TopDownMutatorContext)
|
||||
blueprint string
|
||||
expectedBazelTargets []string
|
||||
filesystem map[string]string
|
||||
dir string
|
||||
}
|
||||
|
||||
func TestCcLibraryHeadersLoadStatement(t *testing.T) {
|
||||
testCases := []struct {
|
||||
bazelTargets BazelTargets
|
||||
|
Reference in New Issue
Block a user