Home
last modified time | relevance | path

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

12345678910>>...13

/build/soong/java/
Dapp_test.go37 func testApp(t *testing.T, bp string) *android.TestContext {
43 func TestApp(t *testing.T) {
102 func TestAppSplits(t *testing.T) {
129 func TestPlatformAPIs(t *testing.T) {
163 func TestAndroidAppLinkType(t *testing.T) {
252 func TestUpdatableApps(t *testing.T) {
377 func TestUpdatableApps_TransitiveDepsShouldSetMinSdkVersion(t *testing.T) {
395 func TestUpdatableApps_JniLibsShouldShouldSupportMinSdkVersion(t *testing.T) {
415 func TestUpdatableApps_JniLibShouldBeBuiltAgainstMinSdkVersion(t *testing.T) {
470 func TestUpdatableApps_ErrorIfJniLibDoesntSupportMinSdkVersion(t *testing.T) {
[all …]
Dsdk_library_test.go29 func TestJavaSdkLibrary(t *testing.T) {
198 func TestJavaSdkLibrary_UpdatableLibrary(t *testing.T) {
247 func TestJavaSdkLibrary_UpdatableLibrary_Validation_ValidVersion(t *testing.T) {
274 func TestJavaSdkLibrary_UpdatableLibrary_Validation_AtLeastTAttributes(t *testing.T) {
303 func TestJavaSdkLibrary_UpdatableLibrary_Validation_MinAndMaxDeviceSdk(t *testing.T) {
330 func TestJavaSdkLibrary_UpdatableLibrary_Validation_MinAndMaxDeviceSdkAndModuleMinSdk(t *testing.T)…
358 func TestJavaSdkLibrary_UpdatableLibrary_usesNewTag(t *testing.T) {
381 func TestJavaSdkLibrary_StubOrImplOnlyLibs(t *testing.T) {
437 func TestJavaSdkLibrary_DoNotAccessImplWhenItIsNotBuilt(t *testing.T) {
466 func TestJavaSdkLibrary_AccessOutputFiles(t *testing.T) {
[all …]
Djava_test.go65 func testJavaError(t *testing.T, pattern string, bp string) (*android.TestContext, android.Config) {
79 func testJavaWithFS(t *testing.T, bp string, fs android.MockFS) (*android.TestContext, android.Conf…
97 func testJava(t *testing.T, bp string) (*android.TestContext, android.Config) {
118 func TestPrepareForTestWithJavaDefaultModules(t *testing.T) {
125 func TestJavaLinkType(t *testing.T) {
213 func TestSimple(t *testing.T) {
253 func TestExportedPlugins(t *testing.T) {
359 func TestSdkVersionByPartition(t *testing.T) {
400 func TestArchSpecific(t *testing.T) {
419 func TestBinary(t *testing.T) {
[all …]
Dapp_import_test.go28 func TestAndroidAppImport(t *testing.T) {
62 func TestAndroidAppImport_NoDexPreopt(t *testing.T) {
89 func TestAndroidAppImport_Presigned(t *testing.T) {
123 func TestAndroidAppImport_SigningLineage(t *testing.T) {
166 func TestAndroidAppImport_SigningLineageFilegroup(t *testing.T) {
198 func TestAndroidAppImport_DefaultDevCert(t *testing.T) {
233 func TestAndroidAppImport_DpiVariants(t *testing.T) {
319 func TestAndroidAppImport_Filename(t *testing.T) {
382 func TestAndroidAppImport_ArchVariants(t *testing.T) {
532 func TestAndroidAppImport_SoongConfigVariables(t *testing.T) {
[all …]
Ddroidstubs_test.go29 func TestDroidstubs(t *testing.T) {
107 func getAndroidJarPatternsForDroidstubs(t *testing.T, sdkType string) []string {
141 func TestPublicDroidstubs(t *testing.T) {
150 func TestSystemDroidstubs(t *testing.T) {
161 func TestModuleLibDroidstubs(t *testing.T) {
174 func TestSystemServerDroidstubs(t *testing.T) {
189 func TestDroidstubsSandbox(t *testing.T) {
221 func TestDroidstubsWithSystemModules(t *testing.T) {
269 func checkSystemModulesUseByDroidstubs(t *testing.T, ctx *android.TestContext, moduleName string, s…
280 func TestDroidstubsWithSdkExtensions(t *testing.T) {
[all …]
Ddex_test.go26 func TestR8(t *testing.T) {
93 func TestR8TransitiveDeps(t *testing.T) {
261 func TestR8Flags(t *testing.T) {
290 func TestD8(t *testing.T) {
331 func TestProguardFlagsInheritanceStatic(t *testing.T) {
385 func TestProguardFlagsInheritance(t *testing.T) {
644 func TestProguardFlagsInheritanceAppImport(t *testing.T) {
666 func TestR8FlagsArtProfile(t *testing.T) {
698 func TestEnableProfileRewritingIsRequiredForOptimizedApps(t *testing.T) {
Dandroidmk_test.go25 func TestRequired(t *testing.T) {
44 func TestHostdex(t *testing.T) {
74 func TestHostdexRequired(t *testing.T) {
105 func TestHostdexSpecificRequired(t *testing.T) {
138 func TestJavaSdkLibrary_RequireXmlPermissionFile(t *testing.T) {
175 func TestImportSoongDexJar(t *testing.T) {
193 func TestAndroidTestHelperApp_LocalDisableTestConfig(t *testing.T) {
211 func TestGetOverriddenPackages(t *testing.T) {
257 func TestJniAsRequiredDeps(t *testing.T) {
Dbootclasspath_fragment_test.go33 func TestBootclasspathFragment_UnknownImageName(t *testing.T) {
52 func TestPrebuiltBootclasspathFragment_UnknownImageName(t *testing.T) {
70 func TestBootclasspathFragmentInconsistentArtConfiguration_Platform(t *testing.T) {
101 func TestBootclasspathFragmentInconsistentArtConfiguration_ApexMixture(t *testing.T) {
133 func TestBootclasspathFragment_Coverage(t *testing.T) {
219 func TestBootclasspathFragment_StubLibs(t *testing.T) {
324 func TestFromTextWidestApiScope(t *testing.T) {
378 func TestSnapshotWithBootclasspathFragment_HiddenAPI(t *testing.T) {
491 func TestBootclasspathFragment_Test(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 {
237 func ensureEquals(t *testing.T, result string, expected string) {
245 func ensureContains(t *testing.T, result string, expected string) {
253 func ensureContainsOnce(t *testing.T, result string, expected string) {
262 func ensureNotContains(t *testing.T, result string, notExpected string) {
269 func ensureMatches(t *testing.T, result string, expectedRex string) {
280 func ensureListContains(t *testing.T, result []string, expected string) {
287 func ensureListNotContains(t *testing.T, result []string, notExpected string) {
294 func ensureListEmpty(t *testing.T, result []string) {
[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/sdk/
Dcc_sdk_test.go53 func testSdkWithCc(t *testing.T, bp string) *android.TestResult {
60 func TestSingleDeviceOsAssumption(t *testing.T) {
74 func TestSdkIsCompileMultilibBoth(t *testing.T) {
104 func TestSdkCompileMultilibOverride(t *testing.T) {
160 func TestHostSdkWithCc(t *testing.T) {
183 func TestSdkWithCc(t *testing.T) {
213 func TestSnapshotWithObject(t *testing.T) {
267 func TestSnapshotWithCcDuplicateHeaders(t *testing.T) {
304 func TestSnapshotWithCcExportGeneratedHeaders(t *testing.T) {
389 func TestSnapshotWithCcSharedLibraryCommonProperties(t *testing.T) {
[all …]
Djava_sdk_test.go57 func TestSdkDependsOnSourceEvenWhenPrebuiltPreferred(t *testing.T) {
83 func TestSnapshotWithJavaHeaderLibrary(t *testing.T) {
132 func TestHostSnapshotWithJavaHeaderLibrary(t *testing.T) {
184 func TestDeviceAndHostSnapshotWithJavaHeaderLibrary(t *testing.T) {
234 func TestSnapshotWithJavaImplLibrary(t *testing.T) {
283 func TestSnapshotWithJavaBootLibrary(t *testing.T) {
334 func TestSnapshotWithJavaBootLibrary_UpdatableMedia(t *testing.T) {
391 func TestSnapshotWithJavaLibrary_MinSdkVersion(t *testing.T) {
463 func TestSnapshotWithJavaSystemserverLibrary(t *testing.T) {
515 func TestHostSnapshotWithJavaImplLibrary(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 TestPrebuiltEtcAndroidMk(t *testing.T) {
157 func TestPrebuiltEtcRelativeInstallPathInstallDirPath(t *testing.T) {
171 func TestPrebuiltEtcCannotSetRelativeInstallPathAndSubDir(t *testing.T) {
184 func TestPrebuiltEtcHost(t *testing.T) {
199 func TestPrebuiltEtcAllowMissingDependencies(t *testing.T) {
223 func TestPrebuiltRootInstallDirPath(t *testing.T) {
[all …]
/build/soong/cc/
Dcc_test.go70 func testCcWithConfig(t *testing.T, config android.Config) *android.TestContext {
87 func testCc(t *testing.T, bp string) *android.TestContext {
98 func testCcErrorWithConfig(t *testing.T, pattern string, config android.Config) {
111 func testCcError(t *testing.T, pattern string, bp string) {
127 func TestPrepareForTestWithCcDefaultModules(t *testing.T) {
134 func TestVendorSrc(t *testing.T) {
162 func checkInstallPartition(t *testing.T, ctx *android.TestContext, name, variant, expected string) {
201 func TestInstallPartition(t *testing.T) {
277 func checkWriteFileOutput(t *testing.T, ctx *android.TestContext, params android.TestingBuildParams…
284 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) {
178 func TestPrebuiltLibraryShared(t *testing.T) {
195 func TestPrebuiltLibraryStatic(t *testing.T) {
209 func TestPrebuiltLibrary(t *testing.T) {
235 func TestPrebuiltLibraryStem(t *testing.T) {
262 func TestPrebuiltLibrarySharedStem(t *testing.T) {
280 func TestPrebuiltSymlinkedHostBinary(t *testing.T) {
327 func TestPrebuiltLibrarySanitized(t *testing.T) {
388 func TestPrebuiltStubNoinstall(t *testing.T) {
[all …]
/build/soong/bazel/
Daquery_test.go30 func TestAqueryMultiArchGenrule(t *testing.T) {
173 func TestInvalidOutputId(t *testing.T) {
204 func TestInvalidInputDepsetIdFromAction(t *testing.T) {
239 func TestInvalidInputDepsetIdFromDepset(t *testing.T) {
270 func TestInvalidInputArtifactId(t *testing.T) {
301 func TestInvalidPathFragmentId(t *testing.T) {
332 func TestDepfiles(t *testing.T) {
380 func TestMultipleDepfiles(t *testing.T) {
417 func TestTransitiveInputDepsets(t *testing.T) {
522 func TestSymlinkTree(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/rust/
Dlibrary_test.go25 func TestLibraryVariants(t *testing.T) {
79 func TestDylibPreferDynamic(t *testing.T) {
95 func TestAndroidDylib(t *testing.T) {
110 func TestValidateLibraryStem(t *testing.T) {
147 func TestSharedLibrary(t *testing.T) {
169 func TestSharedLibraryToc(t *testing.T) {
189 func TestStaticLibraryLinkage(t *testing.T) {
210 func TestNativeDependencyOfRlib(t *testing.T) {
278 func TestAutoDeps(t *testing.T) {
339 func TestStrippedLibrary(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/tradefed_modules/
Dtest_module_config_test.go56 func TestModuleConfigAndroidTest(t *testing.T) {
106 func TestModuleConfigOptions(t *testing.T) {
121 func TestModuleConfigWithHostBaseShouldFailWithExplicitMessage(t *testing.T) {
144 func TestModuleConfigBadBaseShouldFailWithGeneralMessage(t *testing.T) {
167 func TestModuleConfigNoBaseShouldFail(t *testing.T) {
190 func TestModuleConfigNoFiltersOrAnnotationsShouldFail(t *testing.T) {
214 func TestModuleConfigMultipleDerivedTestsWriteDistinctMakeEntries(t *testing.T) {
280 func TestModuleConfigHostBasics(t *testing.T) {
320 func TestModuleConfigHostBadBaseShouldFailWithVariantWarning(t *testing.T) {
343 func TestModuleConfigHostNeedsATestSuite(t *testing.T) {
[all …]
/build/soong/bpfix/bpfix/
Dbpfix_test.go56 func implFilterListTest(t *testing.T, local_include_dirs []string, export_include_dirs []string, ex…
119 func TestSimplifyKnownVariablesDuplicatingEachOther(t *testing.T) {
129 func checkError(t *testing.T, in, expectedErr string, innerTest func(*Fixer) error) {
134 func runTestOnce(t *testing.T, in, expected string, innerTest func(*Fixer) error) {
201 func runPassOnce(t *testing.T, in, out string, innerTest func(*Fixer) error) {
210 func runPass(t *testing.T, in, out string, innerTest func(*Fixer) error) {
241 func TestMergeMatchingProperties(t *testing.T) {
330 func TestReorderCommonProperties(t *testing.T) {
416 func TestRemoveMatchingModuleListProperties(t *testing.T) {
571 func TestReplaceJavaStaticLibs(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 …]

12345678910>>...13