Home
last modified time | relevance | path

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

12345678910>>...12

/build/soong/apex/
Dapex_test.go51 func testApexError(t *testing.T, pattern, bp string, preparers ...android.FixturePreparer) {
61 func testApex(t *testing.T, bp string, preparers ...android.FixturePreparer) *android.TestContext {
235 func ensureEquals(t *testing.T, result string, expected string) {
243 func ensureContains(t *testing.T, result string, expected string) {
251 func ensureContainsOnce(t *testing.T, result string, expected string) {
260 func ensureNotContains(t *testing.T, result string, notExpected string) {
267 func ensureMatches(t *testing.T, result string, expectedRex string) {
278 func ensureListContains(t *testing.T, result []string, expected string) {
285 func ensureListNotContains(t *testing.T, result []string, notExpected string) {
292 func ensureListEmpty(t *testing.T, result []string) {
[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.go28 func TestJavaSdkLibrary(t *testing.T) {
175 func TestJavaSdkLibrary_UpdatableLibrary(t *testing.T) {
222 func TestJavaSdkLibrary_UpdatableLibrary_Validation_ValidVersion(t *testing.T) {
249 func TestJavaSdkLibrary_UpdatableLibrary_Validation_AtLeastTAttributes(t *testing.T) {
278 func TestJavaSdkLibrary_UpdatableLibrary_Validation_MinAndMaxDeviceSdk(t *testing.T) {
305 func TestJavaSdkLibrary_UpdatableLibrary_Validation_MinAndMaxDeviceSdkAndModuleMinSdk(t *testing.T)…
333 func TestJavaSdkLibrary_UpdatableLibrary_usesNewTag(t *testing.T) {
355 func TestJavaSdkLibrary_StubOrImplOnlyLibs(t *testing.T) {
412 func TestJavaSdkLibrary_DoNotAccessImplWhenItIsNotBuilt(t *testing.T) {
441 func TestJavaSdkLibrary_AccessOutputFiles(t *testing.T) {
[all …]
Djava_test.go68 func testJavaError(t *testing.T, pattern string, bp string) (*android.TestContext, android.Config) {
82 func testJavaWithFS(t *testing.T, bp string, fs android.MockFS) (*android.TestContext, android.Conf…
100 func testJava(t *testing.T, bp string) (*android.TestContext, android.Config) {
121 func TestPrepareForTestWithJavaDefaultModules(t *testing.T) {
128 func TestJavaLinkType(t *testing.T) {
216 func TestSimple(t *testing.T) {
256 func TestExportedPlugins(t *testing.T) {
362 func TestSdkVersionByPartition(t *testing.T) {
403 func TestArchSpecific(t *testing.T) {
422 func TestBinary(t *testing.T) {
[all …]
Dapp_import_test.go29 func TestAndroidAppImport(t *testing.T) {
63 func TestAndroidAppImport_NoDexPreopt(t *testing.T) {
90 func TestAndroidAppImport_Presigned(t *testing.T) {
124 func TestAndroidAppImport_SigningLineage(t *testing.T) {
167 func TestAndroidAppImport_SigningLineageFilegroup(t *testing.T) {
199 func TestAndroidAppImport_DefaultDevCert(t *testing.T) {
234 func TestAndroidAppImport_DpiVariants(t *testing.T) {
325 func TestAndroidAppImport_Filename(t *testing.T) {
385 func TestAndroidAppImport_ArchVariants(t *testing.T) {
488 func TestAndroidAppImport_overridesDisabledAndroidApp(t *testing.T) {
[all …]
/build/soong/bp2build/
Dcc_library_conversion_test.go46 func runCcLibraryTestCase(t *testing.T, tc bp2buildTestCase) {
59 func TestCcLibrarySimple(t *testing.T) {
153 func TestCcLibraryTrimmedLdAndroid(t *testing.T) {
221 func TestCcLibraryExcludeSrcs(t *testing.T) {
272 func TestCcLibrarySharedStaticProps(t *testing.T) {
407 func TestCcLibraryDeps(t *testing.T) {
534 func TestCcLibraryWholeStaticLibsAlwaysLink(t *testing.T) {
580 func TestCcLibrarySharedStaticPropsInArch(t *testing.T) {
730 func TestCcLibrarySharedStaticPropsWithMixedSources(t *testing.T) {
862 func TestCcLibraryNonConfiguredVersionScript(t *testing.T) {
[all …]
Dcc_library_static_conversion_test.go33 func TestCcLibraryStaticLoadStatement(t *testing.T) {
67 func runCcLibraryStaticTestCase(t *testing.T, tc bp2buildTestCase) {
75 func TestCcLibraryStaticSimple(t *testing.T) {
214 func TestCcLibraryStaticSubpackage(t *testing.T) {
248 func TestCcLibraryStaticExportIncludeDir(t *testing.T) {
271 func TestCcLibraryStaticExportSystemIncludeDir(t *testing.T) {
294 func TestCcLibraryStaticManyIncludeDirs(t *testing.T) {
337 func TestCcLibraryStaticIncludeBuildDirectoryDisabled(t *testing.T) {
362 func TestCcLibraryStaticIncludeBuildDirectoryEnabled(t *testing.T) {
392 func TestCcLibraryStaticArchSpecificStaticLib(t *testing.T) {
[all …]
Dsoong_config_module_type_conversion_test.go23 func runSoongConfigModuleTypeTest(t *testing.T, tc bp2buildTestCase) {
39 func TestSoongConfigModuleType(t *testing.T) {
78 func TestSoongConfigModuleTypeImport(t *testing.T) {
126 func TestSoongConfigModuleType_StringVar(t *testing.T) {
177 func TestSoongConfigModuleType_StringAndBoolVar(t *testing.T) {
253 func TestSoongConfigModuleType_StringVar_LabelListDeps(t *testing.T) {
320 func TestSoongConfigModuleType_Defaults_SingleNamespace(t *testing.T) {
383 func TestSoongConfigModuleType_MultipleDefaults_SingleNamespace(t *testing.T) {
486 func TestSoongConfigModuleType_Defaults_MultipleNamespaces(t *testing.T) {
577 func TestSoongConfigModuleType_Defaults(t *testing.T) {
[all …]
Dcc_library_shared_conversion_test.go38 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 TestCcLibrarySharedVersionScript(t *testing.T) {
362 func TestCcLibrarySharedNoCrtTrue(t *testing.T) {
385 func TestCcLibrarySharedNoCrtFalse(t *testing.T) {
[all …]
Dbuild_conversion_test.go27 func TestGenerateSoongModuleTargets(t *testing.T) {
231 func TestGenerateBazelTargetModules(t *testing.T) {
504 func TestLoadStatements(t *testing.T) {
603 func TestGenerateBazelTargetModules_OneToMany_LoadedFromStarlark(t *testing.T) {
672 func TestModuleTypeBp2Build(t *testing.T) {
844 func TestAllowlistingBp2buildTargetsExplicitly(t *testing.T) {
920 func TestAllowlistingBp2buildTargetsWithConfig(t *testing.T) {
1036 func TestCombineBuildFilesBp2buildTargets(t *testing.T) {
1185 func TestGlobExcludeSrcs(t *testing.T) {
1255 func TestCommonBp2BuildModuleAttrs(t *testing.T) {
Dcc_object_conversion_test.go29 func runCcObjectTestCase(t *testing.T, tc bp2buildTestCase) {
36 func TestCcObjectSimple(t *testing.T) {
83 func TestCcObjectDefaults(t *testing.T) {
121 func TestCcObjectCcObjetDepsInObjs(t *testing.T) {
158 func TestCcObjectIncludeBuildDirFalse(t *testing.T) {
182 func TestCcObjectProductVariable(t *testing.T) {
211 func TestCcObjectCflagsOneArch(t *testing.T) {
245 func TestCcObjectCflagsFourArch(t *testing.T) {
295 func TestCcObjectLinkerScript(t *testing.T) {
315 func TestCcObjectDepsAndLinkerScriptSelects(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) {
65 func TestJavaLibraryConvertsStaticLibsToDepsAndExports(t *testing.T) {
99 func TestJavaLibraryConvertsStaticLibsToExportsIfNoSrcs(t *testing.T) {
120 func TestJavaLibraryFailsToConvertLibsWithNoSrcs(t *testing.T) {
138 func TestJavaLibraryPlugins(t *testing.T) {
161 func TestJavaLibraryErrorproneJavacflagsEnabledManually(t *testing.T) {
184 func TestJavaLibraryErrorproneJavacflagsErrorproneDisabledByDefault(t *testing.T) {
203 func TestJavaLibraryErrorproneJavacflagsErrorproneDisabledManually(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) {
197 func TestHostSdkWithCc(t *testing.T) {
220 func TestSdkWithCc(t *testing.T) {
250 func TestSnapshotWithObject(t *testing.T) {
330 func TestSnapshotWithCcDuplicateHeaders(t *testing.T) {
367 func TestSnapshotWithCcExportGeneratedHeaders(t *testing.T) {
447 func TestSnapshotWithCcSharedLibraryCommonProperties(t *testing.T) {
[all …]
Djava_sdk_test.go49 func TestSdkDependsOnSourceEvenWhenPrebuiltPreferred(t *testing.T) {
75 func TestSnapshotWithJavaHeaderLibrary(t *testing.T) {
137 func TestHostSnapshotWithJavaHeaderLibrary(t *testing.T) {
205 func TestDeviceAndHostSnapshotWithJavaHeaderLibrary(t *testing.T) {
276 func TestSnapshotWithJavaImplLibrary(t *testing.T) {
337 func TestSnapshotWithJavaBootLibrary(t *testing.T) {
402 func TestSnapshotWithJavaBootLibrary_UpdatableMedia(t *testing.T) {
456 func TestSnapshotWithJavaSystemserverLibrary(t *testing.T) {
521 func TestHostSnapshotWithJavaImplLibrary(t *testing.T) {
589 func TestSnapshotWithJavaTest(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) {
111 func runTestWithSuffixes(t *testing.T, existentPaths []string, expectedMatches []string) {
150 func testAgainstSeveralThreadcounts(t *testing.T, tester func(t *testing.T, numThreads int)) {
166 func TestSingleFile(t *testing.T) {
173 func TestIncludeFiles(t *testing.T) {
[all …]
/build/soong/cc/
Dcc_test.go47 func testCcWithConfig(t *testing.T, config android.Config) *android.TestContext {
64 func testCc(t *testing.T, bp string) *android.TestContext {
75 func testCcNoVndk(t *testing.T, bp string) *android.TestContext {
88 func testCcNoProductVndk(t *testing.T, bp string) *android.TestContext {
102 func testCcErrorWithConfig(t *testing.T, pattern string, config android.Config) {
115 func testCcError(t *testing.T, pattern string, bp string) {
129 func testCcErrorProductVndk(t *testing.T, pattern string, bp string) {
148 func TestPrepareForTestWithCcDefaultModules(t *testing.T) {
155 func TestVendorSrc(t *testing.T) {
182 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) {
174 func TestPrebuiltLibraryShared(t *testing.T) {
191 func TestPrebuiltLibraryStatic(t *testing.T) {
205 func TestPrebuiltLibrary(t *testing.T) {
231 func TestPrebuiltLibraryStem(t *testing.T) {
258 func TestPrebuiltLibrarySharedStem(t *testing.T) {
276 func TestPrebuiltSymlinkedHostBinary(t *testing.T) {
323 func TestPrebuiltLibrarySanitized(t *testing.T) {
384 func TestPrebuiltLibrarySharedWithBazelWithoutToc(t *testing.T) {
[all …]
Dlibrary_test.go25 func TestLibraryReuse(t *testing.T) {
193 func TestStubsVersions(t *testing.T) {
216 func TestStubsVersions_NotSorted(t *testing.T) {
231 func TestStubsVersions_ParseError(t *testing.T) {
245 func TestCcLibraryWithBazel(t *testing.T) {
304 func TestLibraryVersionScript(t *testing.T) {
321 func TestLibraryDynamicList(t *testing.T) {
338 func TestCcLibrarySharedWithBazel(t *testing.T) {
383 func TestWholeStaticLibPrebuilts(t *testing.T) {
/build/soong/bazel/
Daquery_test.go23 func TestAqueryMultiArchGenrule(t *testing.T) {
251 func TestInvalidOutputId(t *testing.T) {
287 func TestInvalidInputDepsetId(t *testing.T) {
323 func TestInvalidInputArtifactId(t *testing.T) {
359 func TestInvalidPathFragmentId(t *testing.T) {
396 func TestDepfiles(t *testing.T) {
451 func TestMultipleDepfiles(t *testing.T) {
499 func TestTransitiveInputDepsets(t *testing.T) {
721 func TestMiddlemenAction(t *testing.T) {
808 func TestSimpleSymlink(t *testing.T) {
[all …]
/build/soong/android/
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 …]
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/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) {
156 func TestPrebuiltEtcRelativeInstallPathInstallDirPath(t *testing.T) {
170 func TestPrebuiltEtcCannotSetRelativeInstallPathAndSubDir(t *testing.T) {
183 func TestPrebuiltEtcHost(t *testing.T) {
198 func TestPrebuiltRootInstallDirPath(t *testing.T) {
212 func TestPrebuiltRootInstallDirPathValidate(t *testing.T) {
222 func TestPrebuiltUserShareInstallDirPath(t *testing.T) {
[all …]
/build/soong/rust/
Dlibrary_test.go25 func TestLibraryVariants(t *testing.T) {
73 func TestDylibPreferDynamic(t *testing.T) {
89 func TestAndroidDylib(t *testing.T) {
104 func TestValidateLibraryStem(t *testing.T) {
141 func TestSharedLibrary(t *testing.T) {
163 func TestSharedLibraryToc(t *testing.T) {
183 func TestStaticLibraryLinkage(t *testing.T) {
200 func TestAutoDeps(t *testing.T) {
260 func TestStrippedLibrary(t *testing.T) {
292 func TestLibstdLinkage(t *testing.T) {
/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/bpfix/bpfix/
Dbpfix_test.go55 func implFilterListTest(t *testing.T, local_include_dirs []string, export_include_dirs []string, ex…
118 func TestSimplifyKnownVariablesDuplicatingEachOther(t *testing.T) {
128 func checkError(t *testing.T, in, expectedErr string, innerTest func(*Fixer) error) {
133 func runTestOnce(t *testing.T, in, expected string, innerTest func(*Fixer) error) {
200 func runPassOnce(t *testing.T, in, out string, innerTest func(*Fixer) error) {
209 func runPass(t *testing.T, in, out string, innerTest func(*Fixer) error) {
240 func TestMergeMatchingProperties(t *testing.T) {
329 func TestReorderCommonProperties(t *testing.T) {
415 func TestRemoveMatchingModuleListProperties(t *testing.T) {
570 func TestReplaceJavaStaticLibs(t *testing.T) {
[all …]

12345678910>>...12