Home
last modified time | relevance | path

Searched refs:TestContext (Results 1 – 25 of 29) sorted by relevance

12

/build/soong/android/
Dtesting.go28 func NewTestContext() *TestContext {
34 ctx := &TestContext{
46 func NewTestArchContext() *TestContext {
52 type TestContext struct { struct
59 func (ctx *TestContext) PreArchMutators(f RegisterMutatorFunc) { argument
63 func (ctx *TestContext) HardCodedPreArchMutators(f RegisterMutatorFunc) { argument
68 func (ctx *TestContext) PreDepsMutators(f RegisterMutatorFunc) { argument
72 func (ctx *TestContext) PostDepsMutators(f RegisterMutatorFunc) { argument
76 func (ctx *TestContext) FinalDepsMutators(f RegisterMutatorFunc) { argument
80 func (ctx *TestContext) Register(config Config) { argument
[all …]
Dnamespace_test.go635 func setupTestFromFiles(bps map[string][]byte) (ctx *TestContext, errs []error) {
656 func setupTestExpectErrs(bps map[string]string) (ctx *TestContext, errs []error) {
665 func setupTest(t *testing.T, bps map[string]string) (ctx *TestContext) {
672 func dependsOn(ctx *TestContext, module TestingModule, possibleDependency TestingModule) bool { argument
683 func numDeps(ctx *TestContext, module TestingModule) int { argument
692 func getModule(ctx *TestContext, moduleName string) TestingModule { argument
696 func findModuleById(ctx *TestContext, id string) (module TestingModule) { argument
Dcsuite_config_test.go21 func testCSuiteConfig(test *testing.T, bpFileContents string) *TestContext {
Dvts_config_test.go21 func testVtsConfig(test *testing.T, bpFileContents string) *TestContext {
Dpackage_test.go84 func testPackage(fs map[string][]byte) (*TestContext, []error) {
Darch_test.go340 enabledVariants := func(ctx *TestContext, name string) []string {
429 enabledVariants := func(ctx *TestContext, name string) []string {
Dregister.go166 var _ RegistrationContext = (*TestContext)(nil)
Dneverallow_test.go361 func testNeverallow(config Config) (*TestContext, []error) {
Dvisibility_test.go1156 func checkEffectiveVisibility(t *testing.T, ctx *TestContext, effectiveVisibility map[qualifiedModu… argument
1166 func testVisibility(buildDir string, fs map[string][]byte) (*TestContext, []error) {
/build/soong/sysprop/
Dsysprop_test.go58 func testContext(config android.Config) *android.TestContext {
84 func run(t *testing.T, ctx *android.TestContext, config android.Config) { argument
151 func test(t *testing.T, bp string) *android.TestContext {
/build/soong/dexpreopt/
Dtesting.go37 func RegisterToolModulesForTest(ctx *android.TestContext) { argument
/build/soong/rust/
Drust_test.go74 func testRust(t *testing.T, bp string) *android.TestContext {
78 func testRustCov(t *testing.T, bp string) *android.TestContext {
82 func testRustContext(t *testing.T, bp string, coverage bool) *android.TestContext {
Dtesting.go78 func CreateTestContext() *android.TestContext {
/build/soong/bpf/
Dbpf_test.go60 func testContext(config android.Config) *android.TestContext {
/build/soong/cc/
Dgenrule_test.go24 func testGenruleContext(config android.Config) *android.TestContext {
Dprebuilt_test.go25 func testPrebuilt(t *testing.T, bp string, fs map[string][]byte) *android.TestContext {
Dcc_test.go55 func testCcWithConfig(t *testing.T, config android.Config) *android.TestContext {
68 func testCc(t *testing.T, bp string) *android.TestContext {
77 func testCcNoVndk(t *testing.T, bp string) *android.TestContext {
220 func checkVndkModule(t *testing.T, ctx *android.TestContext, name, subDir string, argument
261 func checkSnapshot(t *testing.T, ctx *android.TestContext, singleton android.TestingSingleton, modu… argument
287 func checkVndkOutput(t *testing.T, ctx *android.TestContext, output string, expected []string) { argument
293 func checkVndkLibrariesOutput(t *testing.T, ctx *android.TestContext, module string, expected []str… argument
2483 func getOutputPaths(ctx *android.TestContext, variant string, moduleNames []string) (paths android.… argument
Dtesting.go560 func CreateTestContext() *android.TestContext {
/build/soong/sdk/
Dtesting.go32 …string, fs map[string][]byte, extraOsTypes []android.OsType) (*android.TestContext, android.Config…
136 func runTests(t *testing.T, ctx *android.TestContext, config android.Config) *testSdkResult { argument
224 ctx *android.TestContext
/build/soong/java/
Djava_test.go74 func testContext() *android.TestContext {
109 func run(t *testing.T, ctx *android.TestContext, config android.Config) { argument
122 func testJavaError(t *testing.T, pattern string, bp string) (*android.TestContext, android.Config) {
127 …hConfig(t *testing.T, pattern string, config android.Config) (*android.TestContext, android.Config…
151 func testJavaWithFS(t *testing.T, bp string, fs map[string][]byte) (*android.TestContext, android.C…
156 func testJava(t *testing.T, bp string) (*android.TestContext, android.Config) {
161 func testJavaWithConfig(t *testing.T, config android.Config) (*android.TestContext, android.Config)…
1221 func checkSystemModulesUseByDroidstubs(t *testing.T, ctx *android.TestContext, moduleName string, s… argument
1797 func checkPatchModuleFlag(t *testing.T, ctx *android.TestContext, moduleName string, expected strin… argument
1990 func checkBootClasspathForSystemModule(t *testing.T, ctx *android.TestContext, moduleName string, e… argument
Dtesting.go230 func CheckModuleDependencies(t *testing.T, ctx *android.TestContext, name, variant string, expected… argument
/build/soong/xml/
Dxml_test.go51 func testXml(t *testing.T, bp string) *android.TestContext {
/build/soong/sh/
Dsh_binary_test.go37 func testShBinary(t *testing.T, bp string) (*android.TestContext, android.Config) {
/build/soong/etc/
Dprebuilt_etc_test.go52 func testPrebuiltEtcContext(t *testing.T, bp string) (*android.TestContext, android.Config) {
74 func testPrebuiltEtc(t *testing.T, bp string) (*android.TestContext, android.Config) {
/build/soong/python/
Dpython_test.go382 func expectModule(t *testing.T, ctx *android.TestContext, buildDir, name, variant, expectedSrcsZip … argument

12