Home
last modified time | relevance | path

Searched defs:T (Results 1 – 25 of 327) sorted by relevance

12345678910>>...14

/build/soong/java/
Dapp_test.go38 func testApp(t *testing.T, bp string) *android.TestContext {
44 func TestApp(t *testing.T) {
105 func TestAppSplits(t *testing.T) {
130 func TestPlatformAPIs(t *testing.T) {
165 func TestAndroidAppLinkType(t *testing.T) {
255 func TestUpdatableApps(t *testing.T) {
382 func TestUpdatableApps_TransitiveDepsShouldSetMinSdkVersion(t *testing.T) {
401 func TestUpdatableApps_JniLibsShouldShouldSupportMinSdkVersion(t *testing.T) {
422 func TestUpdatableApps_JniLibShouldBeBuiltAgainstMinSdkVersion(t *testing.T) {
478 func TestUpdatableApps_ErrorIfJniLibDoesntSupportMinSdkVersion(t *testing.T) {
[all …]
Dsdk_library_test.go27 func TestJavaSdkLibrary(t *testing.T) {
190 func TestJavaSdkLibrary_UpdatableLibrary(t *testing.T) {
240 func TestJavaSdkLibrary_UpdatableLibrary_Validation_ValidVersion(t *testing.T) {
268 func TestJavaSdkLibrary_UpdatableLibrary_Validation_AtLeastTAttributes(t *testing.T) {
298 func TestJavaSdkLibrary_UpdatableLibrary_Validation_MinAndMaxDeviceSdk(t *testing.T) {
326 func TestJavaSdkLibrary_UpdatableLibrary_Validation_MinAndMaxDeviceSdkAndModuleMinSdk(t *testing.T)…
355 func TestJavaSdkLibrary_UpdatableLibrary_usesNewTag(t *testing.T) {
379 func TestJavaSdkLibrary_StubOrImplOnlyLibs(t *testing.T) {
436 func TestJavaSdkLibrary_DoNotAccessImplWhenItIsNotBuilt(t *testing.T) {
466 func TestJavaSdkLibrary_AccessOutputFiles(t *testing.T) {
[all …]
Djava_test.go66 func testJavaError(t *testing.T, pattern string, bp string) (*android.TestContext, android.Config) {
80 func testJavaWithFS(t *testing.T, bp string, fs android.MockFS) (*android.TestContext, android.Conf…
98 func testJava(t *testing.T, bp string) (*android.TestContext, android.Config) {
119 func TestPrepareForTestWithJavaDefaultModules(t *testing.T) {
127 func TestJavaLinkType(t *testing.T) {
216 func TestSimple(t *testing.T) {
342 func TestExportedPlugins(t *testing.T) {
450 func TestSdkVersionByPartition(t *testing.T) {
492 func TestArchSpecific(t *testing.T) {
512 func TestBinary(t *testing.T) {
[all …]
Dapp_import_test.go28 func TestAndroidAppImport(t *testing.T) {
63 func TestAndroidAppImportWithDefaults(t *testing.T) {
103 func TestAndroidAppImport_NoDexPreopt(t *testing.T) {
131 func TestAndroidAppImport_Presigned(t *testing.T) {
166 func TestAndroidAppImport_SigningLineage(t *testing.T) {
210 func TestAndroidAppImport_SigningLineageFilegroup(t *testing.T) {
243 func TestAndroidAppImport_DefaultDevCert(t *testing.T) {
279 func TestAndroidAppImport_DpiVariants(t *testing.T) {
366 func TestAndroidAppImport_Filename(t *testing.T) {
459 func TestAndroidAppImport_ArchVariants(t *testing.T) {
[all …]
Ddroidstubs_test.go29 func TestDroidstubs(t *testing.T) {
108 func getAndroidJarPatternsForDroidstubs(t *testing.T, sdkType string) []string {
142 func TestPublicDroidstubs(t *testing.T) {
152 func TestSystemDroidstubs(t *testing.T) {
164 func TestModuleLibDroidstubs(t *testing.T) {
178 func TestSystemServerDroidstubs(t *testing.T) {
193 func TestDroidstubsSandbox(t *testing.T) {
225 func TestDroidstubsWithSystemModules(t *testing.T) {
273 func checkSystemModulesUseByDroidstubs(t *testing.T, ctx *android.TestContext, moduleName string, s…
284 func TestDroidstubsWithSdkExtensions(t *testing.T) {
[all …]
Ddex_test.go27 func TestR8(t *testing.T) {
96 func TestR8TransitiveDeps(t *testing.T) {
266 func TestR8Flags(t *testing.T) {
296 func TestD8(t *testing.T) {
360 func TestProguardFlagsInheritanceStatic(t *testing.T) {
415 func TestProguardFlagsInheritance(t *testing.T) {
676 func TestProguardFlagsInheritanceAppImport(t *testing.T) {
699 func TestR8FlagsArtProfile(t *testing.T) {
732 func TestEnableProfileRewritingIsRequiredForOptimizedApps(t *testing.T) {
752 func TestDebugReleaseFlags(t *testing.T) {
[all …]
Dandroidmk_test.go25 func TestRequired(t *testing.T) {
45 func TestHostdex(t *testing.T) {
76 func TestHostdexRequired(t *testing.T) {
108 func TestHostdexSpecificRequired(t *testing.T) {
142 func TestJavaSdkLibrary_RequireXmlPermissionFile(t *testing.T) {
180 func TestImportSoongDexJar(t *testing.T) {
199 func TestAndroidTestHelperApp_LocalDisableTestConfig(t *testing.T) {
218 func TestGetOverriddenPackages(t *testing.T) {
265 func TestJniAsRequiredDeps(t *testing.T) {
/build/soong/apex/
Dapex_test.go54 func testApexError(t *testing.T, pattern, bp string, preparers ...android.FixturePreparer) {
64 func testApex(t *testing.T, bp string, preparers ...android.FixturePreparer) *android.TestContext {
213 func ensureEquals(t *testing.T, result string, expected string) {
221 func ensureContains(t *testing.T, result string, expected string) {
229 func ensureContainsOnce(t *testing.T, result string, expected string) {
238 func ensureNotContains(t *testing.T, result string, notExpected string) {
245 func ensureMatches(t *testing.T, result string, expectedRex string) {
257 func ensureListContainsMatch(t *testing.T, result []string, expectedRex string) {
265 func ensureListContains(t *testing.T, result []string, expected string) {
272 func ensureListNotContains(t *testing.T, result []string, notExpected string) {
[all …]
Dplatform_bootclasspath_test.go37 func TestPlatformBootclasspath_Fragments(t *testing.T) {
180 func TestPlatformBootclasspath_LegacyPrebuiltFragment(t *testing.T) {
246 func TestPlatformBootclasspathDependencies(t *testing.T) {
422 func TestPlatformBootclasspath_AlwaysUsePrebuiltSdks(t *testing.T) {
577 func TestPlatformBootclasspath_IncludesRemainingApexJars(t *testing.T) {
637 func TestBootJarNotInApex(t *testing.T) {
684 func TestBootFragmentNotInApex(t *testing.T) {
728 func TestNonBootJarInFragment(t *testing.T) {
787 func TestNonBootJarInPrebuilts(t *testing.T) {
910 func TestNonBootJarMissingInPrebuiltFragment(t *testing.T) {
/build/soong/sdk/
Dcc_sdk_test.go53 func testSdkWithCc(t *testing.T, bp string) *android.TestResult {
60 func TestSingleDeviceOsAssumption(t *testing.T) {
75 func TestSdkIsCompileMultilibBoth(t *testing.T) {
106 func TestSdkCompileMultilibOverride(t *testing.T) {
166 func TestHostSdkWithCc(t *testing.T) {
190 func TestSdkWithCc(t *testing.T) {
221 func TestSnapshotWithObject(t *testing.T) {
276 func TestSnapshotWithCcDuplicateHeaders(t *testing.T) {
314 func TestSnapshotWithCcExportGeneratedHeaders(t *testing.T) {
403 func TestSnapshotWithCcSharedLibraryCommonProperties(t *testing.T) {
[all …]
Djava_sdk_test.go53 func TestSdkDependsOnSourceEvenWhenPrebuiltPreferred(t *testing.T) {
80 func TestSnapshotWithJavaHeaderLibrary(t *testing.T) {
130 func TestHostSnapshotWithJavaHeaderLibrary(t *testing.T) {
183 func TestDeviceAndHostSnapshotWithJavaHeaderLibrary(t *testing.T) {
234 func TestSnapshotWithJavaImplLibrary(t *testing.T) {
284 func TestSnapshotWithJavaBootLibrary(t *testing.T) {
336 func TestSnapshotWithJavaBootLibrary_UpdatableMedia(t *testing.T) {
394 func TestSnapshotWithJavaLibrary_MinSdkVersion(t *testing.T) {
467 func TestSnapshotWithJavaSystemserverLibrary(t *testing.T) {
520 func TestHostSnapshotWithJavaImplLibrary(t *testing.T) {
[all …]
/build/soong/finder/
Dfinder_test.go35 func newFinder(t *testing.T, filesystem *fs.MockFs, cacheParams CacheParams) *Finder {
39 func newFinderWithNumThreads(t *testing.T, filesystem *fs.MockFs, cacheParams CacheParams, numThrea…
47 func newFinderAndErr(t *testing.T, filesystem *fs.MockFs, cacheParams CacheParams, numThreads int) …
60 func finderWithSameParams(t *testing.T, original *Finder) *Finder {
68 func finderAndErrorWithSameParams(t *testing.T, original *Finder) (*Finder, error) {
80 func runSimpleTest(t *testing.T, existentPaths []string, expectedMatches []string) {
112 func runTestWithSuffixes(t *testing.T, existentPaths []string, expectedMatches []string) {
152 func testAgainstSeveralThreadcounts(t *testing.T, tester func(t *testing.T, numThreads int)) {
168 func TestSingleFile(t *testing.T) {
175 func TestIncludeFiles(t *testing.T) {
[all …]
/build/soong/etc/
Dprebuilt_etc_test.go41 func TestPrebuiltEtcVariants(t *testing.T) {
75 func TestPrebuiltEtcOutputPath(t *testing.T) {
88 func TestPrebuiltEtcGlob(t *testing.T) {
108 func TestPrebuiltEtcMultipleSrcs(t *testing.T) {
122 func TestPrebuiltEtcDsts(t *testing.T) {
143 func TestPrebuiltEtcDstsPlusRelativeInstallPath(t *testing.T) {
165 func TestPrebuiltEtcDstsSrcGlob(t *testing.T) {
180 func TestPrebuiltEtcDstsSrcGlobDstsTooShort(t *testing.T) {
192 func TestPrebuiltEtcDstsSrcGlobDstsTooLong(t *testing.T) {
204 func TestPrebuiltEtcCannotDstsWithSrc(t *testing.T) {
[all …]
/build/soong/rust/
Dlibrary_test.go25 func TestLibraryVariants(t *testing.T) {
77 func TestDylibPreferDynamic(t *testing.T) {
92 func TestValidateLibraryStem(t *testing.T) {
129 func TestSharedLibrary(t *testing.T) {
151 func TestSharedLibraryToc(t *testing.T) {
171 func TestStaticLibraryLinkage(t *testing.T) {
187 func TestNativeDependencyOfRlib(t *testing.T) {
247 func TestAutoDeps(t *testing.T) {
316 func TestStrippedLibrary(t *testing.T) {
348 func TestLibstdLinkage(t *testing.T) {
[all …]
Dcompiler_test.go25 func TestFeaturesToFlags(t *testing.T) {
46 func TestCfgsToFlags(t *testing.T) {
66 func TestLtoFlag(t *testing.T) {
96 func TestEnforceSingleSourceFile(t *testing.T) {
132 func TestEnforceMissingSourceFiles(t *testing.T) {
167 func TestCargoCompat(t *testing.T) {
190 func TestInstallDir(t *testing.T) {
220 func TestLints(t *testing.T) {
275 func TestStdDeviceLinkage(t *testing.T) {
302 func TestManualLinkageRejection(t *testing.T) {
Dbinary_test.go25 func TestBinaryHostLinkage(t *testing.T) {
46 func TestBinaryLinkage(t *testing.T) {
87 func TestBinaryPreferRlib(t *testing.T) {
115 func TestHostToolPath(t *testing.T) {
129 func TestBinaryFlags(t *testing.T) {
145 func TestBootstrap(t *testing.T) {
161 func TestStaticBinaryFlags(t *testing.T) {
192 func TestLinkObjects(t *testing.T) {
211 func TestStrippedBinary(t *testing.T) {
/build/soong/cc/
Dcc_test.go81 func testCcWithConfig(t *testing.T, config android.Config) *android.TestContext {
98 func testCc(t *testing.T, bp string) *android.TestContext {
109 func testCcErrorWithConfig(t *testing.T, pattern string, config android.Config) {
122 func testCcError(t *testing.T, pattern string, bp string) {
138 func TestPrepareForTestWithCcDefaultModules(t *testing.T) {
145 func TestVendorSrc(t *testing.T) {
173 func checkInstallPartition(t *testing.T, ctx *android.TestContext, name, variant, expected string) {
212 func TestInstallPartition(t *testing.T) {
288 func checkWriteFileOutput(t *testing.T, ctx *android.TestContext, params android.TestingBuildParams…
295 func TestDataLibs(t *testing.T) {
[all …]
Dprebuilt_test.go31 func testPrebuilt(t *testing.T, bp string, fs android.MockFS, handlers ...android.FixturePreparer) …
44 func TestPrebuilt(t *testing.T) {
180 func TestPrebuiltLibraryShared(t *testing.T) {
197 func TestPrebuiltLibraryStatic(t *testing.T) {
211 func TestPrebuiltLibrary(t *testing.T) {
237 func TestPrebuiltLibraryStem(t *testing.T) {
264 func TestPrebuiltLibrarySharedStem(t *testing.T) {
282 func TestPrebuiltSymlinkedHostBinary(t *testing.T) {
329 func TestPrebuiltLibrarySanitized(t *testing.T) {
390 func TestPrebuiltBinaryNoSrcsNoError(t *testing.T) {
[all …]
/build/soong/android/
Dutil_test.go65 func TestFirstUniqueStrings(t *testing.T) {
125 func TestLastUniqueStrings(t *testing.T) {
137 func TestJoinWithPrefix(t *testing.T) {
176 func TestIndexList(t *testing.T) {
215 func TestInList(t *testing.T) {
246 func TestPrefixInList(t *testing.T) {
281 func TestFilterList(t *testing.T) {
305 func TestFilterListPred(t *testing.T) {
313 func TestRemoveListFromList(t *testing.T) {
327 func TestRemoveFromList(t *testing.T) {
[all …]
Donceper_test.go22 func TestOncePer_Once(t *testing.T) {
38 func TestOncePer_Once_wait(t *testing.T) {
53 func TestOncePer_Get(t *testing.T) {
69 func TestOncePer_Get_panic(t *testing.T) {
84 func TestOncePer_Get_wait(t *testing.T) {
99 func TestOncePer_OnceStringSlice(t *testing.T) {
115 func TestOncePer_Once2StringSlice(t *testing.T) {
131 func TestNewOnceKey(t *testing.T) {
148 func TestNewCustomOnceKey(t *testing.T) {
168 func TestOncePerReentrant(t *testing.T) {
[all …]
/build/soong/aconfig/codegen/
Djava_aconfig_library_test.go29 func runJavaAndroidMkTest(t *testing.T, bp string) {
68 func TestAndroidMkJavaLibrary(t *testing.T) {
86 func TestAndroidMkAndroidApp(t *testing.T) {
104 func TestAndroidMkBinary(t *testing.T) {
123 func TestAndroidMkAndroidLibrary(t *testing.T) {
141 func TestAndroidMkBinaryThatLinksAgainstAar(t *testing.T) {
171 func testCodegenMode(t *testing.T, bpMode string, ruleMode string) {
197 func testCodegenModeWithError(t *testing.T, bpMode string, err string) {
218 func TestDefaultProdMode(t *testing.T) {
222 func TestProdMode(t *testing.T) {
[all …]
/build/soong/tradefed_modules/
Dtest_module_config_test.go61 func TestModuleConfigAndroidTest(t *testing.T) {
111 func TestModuleConfigShTest(t *testing.T) {
186 func TestModuleConfigOptions(t *testing.T) {
201 func TestModuleConfigWithHostBaseShouldFailWithExplicitMessage(t *testing.T) {
224 func TestModuleConfigBadBaseShouldFailWithGeneralMessage(t *testing.T) {
247 func TestModuleConfigNoBaseShouldFail(t *testing.T) {
270 func TestModuleConfigNoFiltersOrAnnotationsShouldFail(t *testing.T) {
294 func TestModuleConfigMultipleDerivedTestsWriteDistinctMakeEntries(t *testing.T) {
362 func TestModuleConfigHostBasics(t *testing.T) {
402 func TestModuleConfigHostBadBaseShouldFailWithVariantWarning(t *testing.T) {
[all …]
/build/soong/filesystem/
Dfilesystem_test.go47 func TestFileSystemDeps(t *testing.T) {
139 func TestFileSystemFillsLinkerConfigWithStubLibs(t *testing.T) {
206 func TestFileSystemGathersItemsOnlyInSystemPartition(t *testing.T) {
231 func TestAvbGenVbmetaImage(t *testing.T) {
250 func TestAvbAddHashFooter(t *testing.T) {
294 func TestFileSystemWithCoverageVariants(t *testing.T) {
350 func TestSystemImageDefaults(t *testing.T) {
419 func TestInconsistentPartitionTypesInDefaults(t *testing.T) {
441 func TestPreventDuplicatedEntries(t *testing.T) {
464 func TestTrackPhonyAsRequiredDep(t *testing.T) {
[all …]
/build/soong/starlark_fmt/
Dformat_test.go25 func TestPrintEmptyStringList(t *testing.T) {
35 func TestPrintSingleElementStringList(t *testing.T) {
45 func TestPrintMultiElementStringList(t *testing.T) {
58 func TestPrintEmptyList(t *testing.T) {
68 func TestPrintSingleElementList(t *testing.T) {
78 func TestPrintMultiElementList(t *testing.T) {
91 func TestListWithNonZeroIndent(t *testing.T) {
104 func TestStringListDictEmpty(t *testing.T) {
114 func TestStringListDict(t *testing.T) {
135 func TestPrintDict(t *testing.T) {
[all …]
/build/soong/sh/
Dsh_binary_test.go41 func testShBinary(t *testing.T, bp string) (*android.TestContext, android.Config) {
49 func TestShTestSubDir(t *testing.T) {
70 func TestShTest(t *testing.T) {
99 func TestShTest_dataModules(t *testing.T) {
153 func TestShTestHost(t *testing.T) {
179 func TestShTestExtraTestConfig(t *testing.T) {
195 func TestShTestHost_dataDeviceModules(t *testing.T) {
241 func TestShTestHost_dataDeviceModulesAutogenTradefedConfig(t *testing.T) {
278 func TestShTestHost_javaData(t *testing.T) {
314 func TestDefaultsForTests(t *testing.T) {
[all …]

12345678910>>...14