Home
last modified time | relevance | path

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

123

/build/soong/java/
Dravenwood_test.go93 …CheckModuleHasDependency(t, ctx.TestContext, "ravenwood-runtime", "android_common", "framework-min…
94 …CheckModuleHasDependency(t, ctx.TestContext, "ravenwood-runtime", "android_common", "framework-ser…
95 …CheckModuleHasDependency(t, ctx.TestContext, "ravenwood-runtime", "android_common", "ravenwood-run…
96 …CheckModuleHasDependency(t, ctx.TestContext, "ravenwood-utils", "android_common", "framework-rules…
151 …CheckModuleHasDependency(t, ctx.TestContext, "ravenwood-test", "android_common", "ravenwood-buildt…
152 CheckModuleHasDependency(t, ctx.TestContext, "ravenwood-test", "android_common", "ravenwood-utils")
153 CheckModuleHasDependency(t, ctx.TestContext, "ravenwood-test", "android_common", "jni-lib")
Drro_test.go105 androidMkEntries := android.AndroidMkEntriesForTest(t, result.TestContext, m.Module())[0]
119 androidMkEntries = android.AndroidMkEntriesForTest(t, result.TestContext, m.Module())[0]
167 …path := android.AndroidMkEntriesForTest(t, result.TestContext, m.Module())[0].EntryMap["LOCAL_MODU…
184 …path = android.AndroidMkEntriesForTest(t, result.TestContext, m.Module())[0].EntryMap["LOCAL_MODUL…
344 mkEntries := android.AndroidMkEntriesForTest(t, result.TestContext, module.Module())[0]
443 CheckModuleHasDependency(t, result.TestContext, "foo", "android_common", "bar"))
446 CheckModuleHasDependency(t, result.TestContext, "foo", "android_common", "baz"))
Ddexpreopt_test.go221 ctx := result.TestContext
315 ctx := result.TestContext
346 ctx = result.TestContext
402 ctx := result.TestContext
433 ctx = result.TestContext
459 ctx := result.TestContext
Dsystemserver_classpath_fragment_test.go71 entries := android.AndroidMkEntriesForTest(t, result.TestContext, p)
87 entries := android.AndroidMkEntriesForTest(t, result.TestContext, p)
Dlint_test.go191 …sboxProto := android.RuleBuilderSboxProtoForTests(t, result.TestContext, foo.Output("lint.sbox.tex…
198 …sboxProto = android.RuleBuilderSboxProtoForTests(t, result.TestContext, bar.Output("lint.sbox.text…
259 …sboxProto := android.RuleBuilderSboxProtoForTests(t, result.TestContext, foo.Output("lint.sbox.tex…
Daar_test.go121 CheckModuleHasDependency(t, result.TestContext, "foo", "android_common", "bar"))
124 CheckModuleHasDependency(t, result.TestContext, "foo", "android_common", "baz"))
Dtesting.go591 func getModuleDependencies(t *testing.T, ctx *android.TestContext, name, variant string) []string { argument
605 func CheckModuleDependencies(t *testing.T, ctx *android.TestContext, name, variant string, expected… argument
614 func CheckModuleHasDependency(t *testing.T, ctx *android.TestContext, name, variant string, expecte… argument
628 pairs := ApexNamePairsFromModules(result.TestContext, platformBootclasspath.configuredModules)
644 func ApexNamePairsFromModules(ctx *android.TestContext, modules []android.Module) []string { argument
652 func apexNamePairFromModule(ctx *android.TestContext, module android.Module) string { argument
670 pairs := ApexNamePairsFromModules(result.TestContext, platformBootclasspath.fragments)
Dplatform_bootclasspath_test.go225 entries := android.AndroidMkEntriesForTest(t, result.TestContext, p)
234 entries := android.AndroidMkEntriesForTest(t, result.TestContext, p)
252 entries := android.AndroidMkEntriesForTest(t, result.TestContext, p)
299 entries := android.AndroidMkEntriesForTest(t, result.TestContext, platformBootclasspath)
Dandroidmk_test.go167 entries := android.AndroidMkEntriesForTest(t, result.TestContext, mod)[0]
186 entries := android.AndroidMkEntriesForTest(t, result.TestContext, mod)[0]
299 entries := android.AndroidMkEntriesForTest(t, ctx.TestContext, mod)[0]
/build/soong/apex/
Dsystemserver_classpath_fragment_test.go98 ctx := result.TestContext
161 ensureExactContents(t, result.TestContext, "myapex", "android_common_myapex", []string{
165 java.CheckModuleDependencies(t, result.TestContext, "myapex", "android_common_myapex", []string{
274 ctx := result.TestContext
368 ctx := result.TestContext
434 ctx := result.TestContext
453 func assertProfileGuided(t *testing.T, ctx *android.TestContext, moduleName string, variant string,… argument
461 func assertProfileGuidedPrebuilt(t *testing.T, ctx *android.TestContext, apexName string, moduleNam… argument
Dbootclasspath_fragment_test.go315 …ensureExactContents(t, result.TestContext, "com.android.art", "android_common_com.android.art", []…
322 …java.CheckModuleDependencies(t, result.TestContext, "com.android.art", "android_common_com.android…
346 …ensureExactContents(t, result.TestContext, "com.android.art", "android_common_com.mycompany.androi…
366 …ensureExactContents(t, result.TestContext, "com.android.art", "android_common_com.android.art", []…
385 files := getFiles(t, result.TestContext, "com.android.art", "android_common_com.android.art")
408 …ensureExactDeapexedContents(t, result.TestContext, "prebuilt_com.android.art", "android_common", […
414 …java.CheckModuleDependencies(t, result.TestContext, "com.android.art", "android_common_com.android…
563 …java.CheckModuleDependencies(t, result.TestContext, "com.android.art", "android_common_com.android…
571 …java.CheckModuleDependencies(t, result.TestContext, "art-bootclasspath-fragment", "android_common_…
674 ensureExactContents(t, result.TestContext, "myapex", "android_common_myapex", []string{
[all …]
Dclasspath_element_test.go31 testContext *android.TestContext
234 OtherModuleProviderContext: result.TestContext.OtherModuleProviderAdaptor(),
235 testContext: result.TestContext,
/build/soong/android/
Dtesting.go33 func newTestContextForFixture(config Config) *TestContext {
34 ctx := &TestContext{
48 func NewTestContext(config Config) *TestContext {
167 FixtureModifyContext(func(ctx *TestContext) {
177 func NewTestArchContext(config Config) *TestContext {
183 type TestContext struct { struct
196 func (ctx *TestContext) PreArchMutators(f RegisterMutatorFunc) { argument
200 func (ctx *TestContext) HardCodedPreArchMutators(f RegisterMutatorFunc) { argument
205 func (ctx *TestContext) moduleProvider(m blueprint.Module, p blueprint.AnyProviderKey) (any, bool) { argument
209 func (ctx *TestContext) PreDepsMutators(f RegisterMutatorFunc) { argument
[all …]
Dfixture.go265 func FixtureModifyConfigAndContext(mutator func(config Config, ctx *TestContext)) FixturePreparer { argument
272 func FixtureModifyContext(mutator func(ctx *TestContext)) FixturePreparer { argument
280 func FixtureModifyContextWithMockFs(mutator func(ctx *TestContext)) FixturePreparer { argument
288 return FixtureModifyContext(func(ctx *TestContext) { registeringFunc(ctx) })
687 Context() *TestContext
698 *TestContext anonMember
853 ctx *TestContext
869 func (f *fixture) Context() *TestContext {
951 result.TestContext.Register()
957 ctx := result.TestContext
/build/soong/linkerconfig/
Dlinkerconfig_test.go55 entries := android.AndroidMkEntriesForTest(t, result.TestContext, p)[0]
83 entries := android.AndroidMkEntriesForTest(t, result.TestContext, p)[0]
/build/soong/snapshot/
Dhost_test.go128 …ctx := result.TestContext.ModuleForTests("test-host-snapshot", result.Config.BuildOS.String()+"_co…
149 ctx := result.TestContext.SingletonForTests("host-fake-snapshot")
165 ctx := result.TestContext.SingletonForTests("host-fake-snapshot")
/build/soong/aidl_library/
Daidl_library_test.go46 ).RunTest(t).TestContext
95 ).RunTest(t).TestContext
/build/soong/etc/
Dinstall_symlink_test.go43 androidMkEntries := android.AndroidMkEntriesForTest(t, result.TestContext, foo)
74 androidMkEntries := android.AndroidMkEntriesForTest(t, result.TestContext, foo)
/build/soong/sh/
Dsh_binary_test.go41 func testShBinary(t *testing.T, bp string) (*android.TestContext, android.Config) {
46 return result.TestContext, result.Config
63 entries := android.AndroidMkEntriesForTest(t, result.TestContext, mod)[0]
88 entries := android.AndroidMkEntriesForTest(t, result.TestContext, mod)[0]
/build/soong/tradefed_modules/
Dtest_module_config_test.go70 entries := android.AndroidMkEntriesForTest(t, ctx.TestContext, derived.Module())[0]
249 entries := android.AndroidMkEntriesForTest(t, ctx.TestContext, derived.Module())[0]
265 entries := android.AndroidMkEntriesForTest(t, ctx.TestContext, derived.Module())[0]
304 allEntries := android.AndroidMkEntriesForTest(t, ctx.TestContext, mod)
406 …if provider, ok := android.OtherModuleProvider(ctx.TestContext.OtherModuleProviderAdaptor(), m, an…
/build/soong/aconfig/codegen/
Daconfig_declarations_group_test.go70 java.CheckModuleDependencies(t, result.TestContext, "my_group", "", []string{
Djava_aconfig_library_test.go62 entry := android.AndroidMkEntriesForTest(t, result.TestContext, module)[0]
286 entry := android.AndroidMkEntriesForTest(t, result.TestContext, module)[0]
/build/soong/cc/
Dtesting.go697 func CreateTestContext(config android.Config) *android.TestContext {
715 func checkSnapshotIncludeExclude(t *testing.T, ctx *android.TestContext, singleton android.TestingS… argument
744 func CheckSnapshot(t *testing.T, ctx *android.TestContext, singleton android.TestingSingleton, modu… argument
749 func CheckSnapshotExclude(t *testing.T, ctx *android.TestContext, singleton android.TestingSingleto… argument
754 func CheckSnapshotRule(t *testing.T, ctx *android.TestContext, singleton android.TestingSingleton, … argument
759 func GetOutputPaths(ctx *android.TestContext, variant string, moduleNames []string) (paths android.… argument
Dcc_test_only_property_test.go60 …if provider, ok := android.OtherModuleProvider(ctx.TestContext.OtherModuleProviderAdaptor(), m, an…
98 …if provider, ok := android.OtherModuleProvider(ctx.TestContext.OtherModuleProviderAdaptor(), m, an…
214 outProto := []byte(android.ContentFromFileRuleForTests(t, ctx.TestContext, out))
/build/soong/python/
Dpython_test.go359 expectModule(t, result.TestContext, e.name, e.actualVersion, e.srcsZip, e.pyRunfiles)
389 …if provider, ok := android.OtherModuleProvider(ctx.TestContext.OtherModuleProviderAdaptor(), m, an…
436 func expectModule(t *testing.T, ctx *android.TestContext, name, variant, expectedSrcsZip string, ex… argument

123