Home
last modified time | relevance | path

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

12345678910>>...14

/build/soong/bp2build/
Dcc_library_conversion_test.go55 func runCcLibraryTestCase(t *testing.T, tc Bp2buildTestCase) {
68 func TestCcLibrarySimple(t *testing.T) {
164 func TestCcLibraryTrimmedLdAndroid(t *testing.T) {
232 func TestCcLibraryExcludeSrcs(t *testing.T) {
283 func TestCcLibrarySharedStaticProps(t *testing.T) {
418 func TestCcLibraryDeps(t *testing.T) {
545 func TestCcLibraryWholeStaticLibsAlwaysLink(t *testing.T) {
591 func TestCcLibrarySharedStaticPropsInArch(t *testing.T) {
741 func TestCcLibrarySharedStaticPropsWithMixedSources(t *testing.T) {
873 func TestCcLibraryNonConfiguredVersionScriptAndDynamicList(t *testing.T) {
[all …]
Dcc_library_static_conversion_test.go34 func TestCcLibraryStaticLoadStatement(t *testing.T) {
68 func runCcLibraryStaticTestCase(t *testing.T, tc Bp2buildTestCase) {
76 func TestCcLibraryStaticSimple(t *testing.T) {
215 func TestCcLibraryStaticSubpackage(t *testing.T) {
249 func TestCcLibraryStaticExportIncludeDir(t *testing.T) {
272 func TestCcLibraryStaticExportSystemIncludeDir(t *testing.T) {
295 func TestCcLibraryStaticManyIncludeDirs(t *testing.T) {
338 func TestCcLibraryStaticIncludeBuildDirectoryDisabled(t *testing.T) {
363 func TestCcLibraryStaticIncludeBuildDirectoryEnabled(t *testing.T) {
393 func TestCcLibraryStaticArchSpecificStaticLib(t *testing.T) {
[all …]
Dcc_library_shared_conversion_test.go37 func runCcLibrarySharedTestCase(t *testing.T, tc Bp2buildTestCase) {
45 func TestCcLibrarySharedSimple(t *testing.T) {
186 func TestCcLibrarySharedArchSpecificSharedLib(t *testing.T) {
219 func TestCcLibrarySharedOsSpecificSharedLib(t *testing.T) {
244 func TestCcLibrarySharedBaseArchOsSpecificSharedLib(t *testing.T) {
282 func TestCcLibrarySharedSimpleExcludeSrcs(t *testing.T) {
308 func TestCcLibrarySharedStrip(t *testing.T) {
341 func TestCcLibrarySharedVersionScriptAndDynamicList(t *testing.T) {
370 func TestCcLibraryLdflagsSplitBySpaceSoongAdded(t *testing.T) {
406 func TestCcLibrarySharedNoCrtTrue(t *testing.T) {
[all …]
Djava_library_conversion_test.go25 func runJavaLibraryTestCaseWithRegistrationCtxFunc(t *testing.T, tc Bp2buildTestCase, registrationC…
32 func runJavaLibraryTestCase(t *testing.T, tc Bp2buildTestCase) {
37 func TestJavaLibrary(t *testing.T) {
67 func TestJavaLibraryConvertsStaticLibsToDepsAndExports(t *testing.T) {
102 func TestJavaLibraryConvertsStaticLibsToExportsIfNoSrcs(t *testing.T) {
124 func TestJavaLibraryFailsToConvertLibsWithNoSrcs(t *testing.T) {
142 func TestJavaLibraryPlugins(t *testing.T) {
166 func TestJavaLibraryJavaVersion(t *testing.T) {
186 func TestJavaLibraryErrorproneJavacflagsEnabledManually(t *testing.T) {
210 func TestJavaLibraryErrorproneJavacflagsErrorproneDisabledByDefault(t *testing.T) {
[all …]
Dapex_conversion_test.go29 func runApexTestCase(t *testing.T, tc Bp2buildTestCase) {
48 func runOverrideApexTestCase(t *testing.T, tc Bp2buildTestCase) {
71 func TestApexBundleSimple(t *testing.T) {
196 func TestApexBundleSimple_fileContextsInAnotherAndroidBp(t *testing.T) {
226 func TestApexBundleSimple_fileContextsIsFile(t *testing.T) {
246 func TestApexBundleSimple_fileContextsIsNotSpecified(t *testing.T) {
275 func TestApexBundleCompileMultilibBoth(t *testing.T) {
322 func TestApexBundleCompileMultilibFirstAndDefaultValue(t *testing.T) {
387 func TestApexBundleCompileMultilib32(t *testing.T) {
419 func TestApexBundleCompileMultilib64(t *testing.T) {
[all …]
Dsoong_config_module_type_conversion_test.go24 func runSoongConfigModuleTypeTest(t *testing.T, tc Bp2buildTestCase) {
38 func TestErrorInBpFileDoesNotPanic(t *testing.T) {
61 func TestSoongConfigModuleType(t *testing.T) {
101 func TestSoongConfigModuleTypeImport(t *testing.T) {
150 func TestSoongConfigModuleType_StringVar(t *testing.T) {
203 func TestSoongConfigModuleType_StringAndBoolVar(t *testing.T) {
281 func TestSoongConfigModuleType_StringVar_LabelListDeps(t *testing.T) {
351 func TestSoongConfigModuleType_Defaults_SingleNamespace(t *testing.T) {
415 func TestSoongConfigModuleType_MultipleDefaults_SingleNamespace(t *testing.T) {
520 func TestSoongConfigModuleType_Defaults_MultipleNamespaces(t *testing.T) {
[all …]
Dbuild_conversion_test.go27 func TestGenerateSoongModuleTargets(t *testing.T) {
231 func TestGenerateBazelTargetModules(t *testing.T) {
555 func TestBp2buildHostAndDevice(t *testing.T) {
764 func TestLoadStatements(t *testing.T) {
863 func TestGenerateBazelTargetModules_OneToMany_LoadedFromStarlark(t *testing.T) {
933 func TestModuleTypeBp2Build(t *testing.T) {
1093 func TestAllowlistingBp2buildTargetsExplicitly(t *testing.T) {
1169 func TestAllowlistingBp2buildTargetsWithConfig(t *testing.T) {
1306 func TestCombineBuildFilesBp2buildTargets(t *testing.T) {
1446 func TestGlob(t *testing.T) {
[all …]
Dcc_binary_conversion_test.go64 func runCcBinaryTests(t *testing.T, tc ccBinaryBp2buildTestCase) {
70 func runCcBinaryTestCase(t *testing.T, testCase ccBinaryBp2buildTestCase) {
88 func runCcHostBinaryTestCase(t *testing.T, testCase ccBinaryBp2buildTestCase) {
104 func TestBasicCcBinary(t *testing.T) {
165 func TestCcBinaryWithSharedLdflagDisableFeature(t *testing.T) {
185 func TestCcBinaryWithLinkStatic(t *testing.T) {
204 func TestCcBinaryVersionScriptAndDynamicList(t *testing.T) {
231 func TestCcBinaryLdflagsSplitBySpaceExceptSoongAdded(t *testing.T) {
263 func TestCcBinarySplitSrcsByLang(t *testing.T) {
298 func TestCcBinaryDoNotDistinguishBetweenDepsAndImplementationDeps(t *testing.T) {
[all …]
Dandroid_app_conversion_test.go24 func runAndroidAppTestCase(t *testing.T, tc Bp2buildTestCase) {
34 func TestMinimalAndroidApp(t *testing.T) {
61 func TestAndroidAppAllSupportedFields(t *testing.T) {
102 func TestAndroidAppArchVariantSrcs(t *testing.T) {
141 func TestAndroidAppCertIsModule(t *testing.T) {
162 func TestAndroidAppCertIsSrcFile(t *testing.T) {
185 func TestAndroidAppCertIsNotSrcOrModule(t *testing.T) {
208 func TestAndroidAppLibs(t *testing.T) {
234 func TestAndroidAppKotlinSrcs(t *testing.T) {
274 func TestAndroidAppCommonSrcs(t *testing.T) {
[all …]
/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) {
181 func TestJavaSdkLibrary_UpdatableLibrary(t *testing.T) {
228 func TestJavaSdkLibrary_UpdatableLibrary_Validation_ValidVersion(t *testing.T) {
255 func TestJavaSdkLibrary_UpdatableLibrary_Validation_AtLeastTAttributes(t *testing.T) {
284 func TestJavaSdkLibrary_UpdatableLibrary_Validation_MinAndMaxDeviceSdk(t *testing.T) {
311 func TestJavaSdkLibrary_UpdatableLibrary_Validation_MinAndMaxDeviceSdkAndModuleMinSdk(t *testing.T)…
339 func TestJavaSdkLibrary_UpdatableLibrary_usesNewTag(t *testing.T) {
361 func TestJavaSdkLibrary_StubOrImplOnlyLibs(t *testing.T) {
418 func TestJavaSdkLibrary_DoNotAccessImplWhenItIsNotBuilt(t *testing.T) {
447 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) {
480 func TestAndroidAppImport_overridesDisabledAndroidApp(t *testing.T) {
[all …]
Ddroidstubs_test.go27 func TestDroidstubs(t *testing.T) {
105 func getAndroidJarPatternsForDroidstubs(t *testing.T, sdkType string) []string {
139 func TestPublicDroidstubs(t *testing.T) {
148 func TestSystemDroidstubs(t *testing.T) {
159 func TestModuleLibDroidstubs(t *testing.T) {
172 func TestSystemServerDroidstubs(t *testing.T) {
187 func TestDroidstubsSandbox(t *testing.T) {
219 func TestDroidstubsWithSystemModules(t *testing.T) {
267 func checkSystemModulesUseByDroidstubs(t *testing.T, ctx *android.TestContext, moduleName string, s…
278 func TestDroidstubsWithSdkExtensions(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) {
155 func TestHostSdkWithCc(t *testing.T) {
178 func TestSdkWithCc(t *testing.T) {
208 func TestSnapshotWithObject(t *testing.T) {
257 func TestSnapshotWithCcDuplicateHeaders(t *testing.T) {
294 func TestSnapshotWithCcExportGeneratedHeaders(t *testing.T) {
374 func TestSnapshotWithCcSharedLibraryCommonProperties(t *testing.T) {
[all …]
Djava_sdk_test.go52 func TestSdkDependsOnSourceEvenWhenPrebuiltPreferred(t *testing.T) {
78 func TestSnapshotWithJavaHeaderLibrary(t *testing.T) {
122 func TestHostSnapshotWithJavaHeaderLibrary(t *testing.T) {
169 func TestDeviceAndHostSnapshotWithJavaHeaderLibrary(t *testing.T) {
214 func TestSnapshotWithJavaImplLibrary(t *testing.T) {
258 func TestSnapshotWithJavaBootLibrary(t *testing.T) {
304 func TestSnapshotWithJavaBootLibrary_UpdatableMedia(t *testing.T) {
358 func TestSnapshotWithJavaLibrary_MinSdkVersion(t *testing.T) {
425 func TestSnapshotWithJavaSystemserverLibrary(t *testing.T) {
472 func TestHostSnapshotWithJavaImplLibrary(t *testing.T) {
[all …]
/build/soong/apex/
Dapex_test.go52 func testApexError(t *testing.T, pattern, bp string, preparers ...android.FixturePreparer) {
62 func testApex(t *testing.T, bp string, preparers ...android.FixturePreparer) *android.TestContext {
236 func ensureEquals(t *testing.T, result string, expected string) {
244 func ensureContains(t *testing.T, result string, expected string) {
252 func ensureContainsOnce(t *testing.T, result string, expected string) {
261 func ensureNotContains(t *testing.T, result string, notExpected string) {
268 func ensureMatches(t *testing.T, result string, expectedRex string) {
279 func ensureListContains(t *testing.T, result []string, expected string) {
286 func ensureListNotContains(t *testing.T, result []string, notExpected string) {
293 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/cc/
Dcc_test.go83 func testCcWithConfig(t *testing.T, config android.Config) *android.TestContext {
100 func testCc(t *testing.T, bp string) *android.TestContext {
111 func testCcNoVndk(t *testing.T, bp string) *android.TestContext {
124 func testCcNoProductVndk(t *testing.T, bp string) *android.TestContext {
138 func testCcErrorWithConfig(t *testing.T, pattern string, config android.Config) {
151 func testCcError(t *testing.T, pattern string, bp string) {
165 func testCcErrorProductVndk(t *testing.T, pattern string, bp string) {
184 func TestPrepareForTestWithCcDefaultModules(t *testing.T) {
191 func TestVendorSrc(t *testing.T) {
219 func checkInstallPartition(t *testing.T, ctx *android.TestContext, name, variant, expected string) {
[all …]
Dprebuilt_test.go32 func testPrebuilt(t *testing.T, bp string, fs android.MockFS, handlers ...android.FixturePreparer) …
45 func TestPrebuilt(t *testing.T) {
179 func TestPrebuiltLibraryShared(t *testing.T) {
196 func TestPrebuiltLibraryStatic(t *testing.T) {
210 func TestPrebuiltLibrary(t *testing.T) {
236 func TestPrebuiltLibraryStem(t *testing.T) {
263 func TestPrebuiltLibrarySharedStem(t *testing.T) {
281 func TestPrebuiltSymlinkedHostBinary(t *testing.T) {
328 func TestPrebuiltLibrarySanitized(t *testing.T) {
389 func TestPrebuiltLibraryWithBazel(t *testing.T) {
[all …]
Dlibrary_test.go25 func TestLibraryReuse(t *testing.T) {
194 func TestStubsVersions(t *testing.T) {
218 func TestStubsVersions_NotSorted(t *testing.T) {
234 func TestStubsVersions_ParseError(t *testing.T) {
249 func TestCcLibraryWithBazel(t *testing.T) {
311 func TestCcLibraryWithBazelValidations(t *testing.T) {
380 func TestLibraryVersionScript(t *testing.T) {
398 func TestLibraryDynamicList(t *testing.T) {
416 func TestCcLibrarySharedWithBazelValidations(t *testing.T) {
470 func TestCcLibrarySharedWithBazel(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) {
235 func TestInvalidInputDepsetIdFromDepset(t *testing.T) {
266 func TestInvalidInputArtifactId(t *testing.T) {
297 func TestInvalidPathFragmentId(t *testing.T) {
328 func TestDepfiles(t *testing.T) {
374 func TestMultipleDepfiles(t *testing.T) {
411 func TestTransitiveInputDepsets(t *testing.T) {
516 func TestSymlinkTree(t *testing.T) {
[all …]
/build/soong/etc/
Dprebuilt_etc_test.go55 func TestPrebuiltEtcVariants(t *testing.T) {
89 func TestPrebuiltEtcOutputPath(t *testing.T) {
102 func TestPrebuiltEtcGlob(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) {
237 func TestPrebuiltRootInstallDirPathValidate(t *testing.T) {
[all …]
/build/soong/android/
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 …]
Dutil_test.go63 func TestFirstUniqueStrings(t *testing.T) {
123 func TestLastUniqueStrings(t *testing.T) {
135 func TestJoinWithPrefix(t *testing.T) {
174 func TestIndexList(t *testing.T) {
213 func TestInList(t *testing.T) {
244 func TestPrefixInList(t *testing.T) {
279 func TestFilterList(t *testing.T) {
303 func TestFilterListPred(t *testing.T) {
311 func TestRemoveListFromList(t *testing.T) {
325 func TestRemoveFromList(t *testing.T) {
[all …]

12345678910>>...14