Home
last modified time | relevance | path

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

123456789

/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 {
228 func ensureEquals(t *testing.T, result string, expected string) {
236 func ensureContains(t *testing.T, result string, expected string) {
244 func ensureContainsOnce(t *testing.T, result string, expected string) {
253 func ensureNotContains(t *testing.T, result string, notExpected string) {
260 func ensureMatches(t *testing.T, result string, expectedRex string) {
271 func ensureListContains(t *testing.T, result []string, expected string) {
278 func ensureListNotContains(t *testing.T, result []string, notExpected string) {
285 func ensureListEmpty(t *testing.T, result []string) {
[all …]
/build/soong/java/
Dapp_test.go38 func testApp(t *testing.T, bp string) *android.TestContext {
44 func TestApp(t *testing.T) {
103 func TestAppSplits(t *testing.T) {
130 func TestPlatformAPIs(t *testing.T) {
164 func TestAndroidAppLinkType(t *testing.T) {
253 func TestUpdatableApps(t *testing.T) {
378 func TestUpdatableApps_TransitiveDepsShouldSetMinSdkVersion(t *testing.T) {
396 func TestUpdatableApps_JniLibsShouldShouldSupportMinSdkVersion(t *testing.T) {
416 func TestUpdatableApps_JniLibShouldBeBuiltAgainstMinSdkVersion(t *testing.T) {
470 func TestUpdatableApps_ErrorIfJniLibDoesntSupportMinSdkVersion(t *testing.T) {
[all …]
Dsdk_library_test.go27 func TestJavaSdkLibrary(t *testing.T) {
164 func TestJavaSdkLibrary_StubOrImplOnlyLibs(t *testing.T) {
221 func TestJavaSdkLibrary_DoNotAccessImplWhenItIsNotBuilt(t *testing.T) {
250 func TestJavaSdkLibrary_UseSourcesFromAnotherSdkLibrary(t *testing.T) {
272 func TestJavaSdkLibrary_AccessOutputFiles_MissingScope(t *testing.T) {
296 func TestJavaSdkLibrary_Deps(t *testing.T) {
322 func TestJavaSdkLibraryImport_AccessOutputFiles(t *testing.T) {
345 func TestJavaSdkLibraryImport_AccessOutputFiles_Invalid(t *testing.T) {
399 func TestJavaSdkLibrary_InvalidScopes(t *testing.T) {
419 func TestJavaSdkLibrary_SdkVersion_ForScope(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.go28 func TestAndroidAppImport(t *testing.T) {
57 func TestAndroidAppImport_NoDexPreopt(t *testing.T) {
78 func TestAndroidAppImport_Presigned(t *testing.T) {
106 func TestAndroidAppImport_SigningLineage(t *testing.T) {
141 func TestAndroidAppImport_SigningLineageFilegroup(t *testing.T) {
167 func TestAndroidAppImport_DefaultDevCert(t *testing.T) {
196 func TestAndroidAppImport_DpiVariants(t *testing.T) {
275 func TestAndroidAppImport_Filename(t *testing.T) {
321 func TestAndroidAppImport_ArchVariants(t *testing.T) {
408 func TestAndroidAppImport_overridesDisabledAndroidApp(t *testing.T) {
[all …]
Dlint_test.go24 func TestJavaLint(t *testing.T) {
48 func TestJavaLintWithoutBaseline(t *testing.T) {
70 func TestJavaLintRequiresCustomLintFileToExist(t *testing.T) {
89 func TestJavaLintUsesCorrectBpConfig(t *testing.T) {
125 func TestJavaLintBypassUpdatableChecks(t *testing.T) {
177 func TestJavaLintStrictUpdatabilityLinting(t *testing.T) {
223 func TestJavaLintDatabaseSelectionFull(t *testing.T) {
263 func TestJavaLintDatabaseSelectionPublicFiltered(t *testing.T) {
Dandroidmk_test.go24 func TestRequired(t *testing.T) {
43 func TestHostdex(t *testing.T) {
73 func TestHostdexRequired(t *testing.T) {
104 func TestHostdexSpecificRequired(t *testing.T) {
137 func TestJavaSdkLibrary_RequireXmlPermissionFile(t *testing.T) {
174 func TestImportSoongDexJar(t *testing.T) {
192 func TestAndroidTestHelperApp_LocalDisableTestConfig(t *testing.T) {
/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/sdk/
Dcc_sdk_test.go35 func testSdkWithCc(t *testing.T, bp string) *android.TestResult {
42 func TestSingleDeviceOsAssumption(t *testing.T) {
56 func TestSdkIsCompileMultilibBoth(t *testing.T) {
86 func TestSdkCompileMultilibOverride(t *testing.T) {
178 func TestBasicSdkWithCc(t *testing.T) {
287 func TestHostSdkWithCc(t *testing.T) {
310 func TestSdkWithCc(t *testing.T) {
340 func TestSnapshotWithObject(t *testing.T) {
417 func TestSnapshotWithCcDuplicateHeaders(t *testing.T) {
454 func TestSnapshotWithCcExportGeneratedHeaders(t *testing.T) {
[all …]
Djava_sdk_test.go48 func TestSdkDependsOnSourceEvenWhenPrebuiltPreferred(t *testing.T) {
74 func TestBasicSdkWithJavaLibrary(t *testing.T) {
158 func TestSnapshotWithJavaHeaderLibrary(t *testing.T) {
220 func TestHostSnapshotWithJavaHeaderLibrary(t *testing.T) {
288 func TestDeviceAndHostSnapshotWithJavaHeaderLibrary(t *testing.T) {
359 func TestSnapshotWithJavaImplLibrary(t *testing.T) {
420 func TestSnapshotWithJavaBootLibrary(t *testing.T) {
484 func TestHostSnapshotWithJavaImplLibrary(t *testing.T) {
552 func TestSnapshotWithJavaTest(t *testing.T) {
607 func TestHostSnapshotWithJavaTest(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 TestFuchsiaDeps(t *testing.T) {
194 func TestFuchsiaTargetDecl(t *testing.T) {
[all …]
Dvendor_snapshot_test.go26 func TestVendorSnapshotCapture(t *testing.T) {
180 func TestVendorSnapshotDirected(t *testing.T) {
262 func TestVendorSnapshotUse(t *testing.T) {
931 func TestVendorSnapshotSanitizer(t *testing.T) {
1009 func assertExcludeFromVendorSnapshotIs(t *testing.T, ctx *android.TestContext, name string, expecte…
1017 func assertExcludeFromRecoverySnapshotIs(t *testing.T, ctx *android.TestContext, name string, expec…
1025 func TestVendorSnapshotExclude(t *testing.T) {
1140 func TestVendorSnapshotExcludeInVendorProprietaryPathErrors(t *testing.T) {
1184 func TestRecoverySnapshotCapture(t *testing.T) {
1310 func TestRecoverySnapshotExclude(t *testing.T) {
[all …]
Dprebuilt_test.go30 func testPrebuilt(t *testing.T, bp string, fs android.MockFS, handlers ...android.FixturePreparer) …
42 func TestPrebuilt(t *testing.T) {
171 func TestPrebuiltLibraryShared(t *testing.T) {
188 func TestPrebuiltLibraryStatic(t *testing.T) {
202 func TestPrebuiltLibrary(t *testing.T) {
228 func TestPrebuiltLibraryStem(t *testing.T) {
255 func TestPrebuiltLibrarySharedStem(t *testing.T) {
273 func TestPrebuiltSymlinkedHostBinary(t *testing.T) {
320 func TestPrebuiltLibrarySanitized(t *testing.T) {
/build/soong/etc/
Dprebuilt_etc_test.go39 func TestPrebuiltEtcVariants(t *testing.T) {
73 func TestPrebuiltEtcOutputPath(t *testing.T) {
86 func TestPrebuiltEtcGlob(t *testing.T) {
106 func TestPrebuiltEtcAndroidMk(t *testing.T) {
140 func TestPrebuiltEtcRelativeInstallPathInstallDirPath(t *testing.T) {
154 func TestPrebuiltEtcCannotSetRelativeInstallPathAndSubDir(t *testing.T) {
167 func TestPrebuiltEtcHost(t *testing.T) {
182 func TestPrebuiltRootInstallDirPath(t *testing.T) {
196 func TestPrebuiltRootInstallDirPathValidate(t *testing.T) {
206 func TestPrebuiltUserShareInstallDirPath(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 …]
Dnamespace_test.go26 func TestDependingOnModuleInSameNamespace(t *testing.T) {
50 func TestDependingOnModuleInRootNamespace(t *testing.T) {
72 func TestImplicitlyImportRootNamespace(t *testing.T) {
94 func TestDependingOnBlueprintModuleInRootNamespace(t *testing.T) {
116 func TestDependingOnModuleInImportedNamespace(t *testing.T) {
145 func TestDependingOnModuleInNonImportedNamespace(t *testing.T) {
185 func TestDependingOnModuleByFullyQualifiedReference(t *testing.T) {
212 func TestSameNameInTwoNamespaces(t *testing.T) {
262 func TestSearchOrder(t *testing.T) {
350 func TestTwoNamespacesCanImportEachOther(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 runPass(t *testing.T, in, out string, innerTest func(*Fixer) error) {
171 func TestMergeMatchingProperties(t *testing.T) {
260 func TestReorderCommonProperties(t *testing.T) {
346 func TestRemoveMatchingModuleListProperties(t *testing.T) {
501 func TestReplaceJavaStaticLibs(t *testing.T) {
559 func TestRewritePrebuilts(t *testing.T) {
625 func TestRewriteCtsModuleTypes(t *testing.T) {
696 func TestRewritePrebuiltEtc(t *testing.T) {
[all …]
/build/soong/bp2build/
Dbuild_conversion_test.go24 func TestGenerateSoongModuleTargets(t *testing.T) {
205 func TestGenerateBazelTargetModules(t *testing.T) {
355 func TestLoadStatements(t *testing.T) {
454 func TestGenerateBazelTargetModules_OneToMany_LoadedFromStarlark(t *testing.T) {
522 func TestModuleTypeBp2Build(t *testing.T) {
960 func Errored(t *testing.T, desc string, errs []error) bool {
973 func TestBp2BuildInlinesDefaults(t *testing.T) {
1166 func TestAllowlistingBp2buildTargetsExplicitly(t *testing.T) {
1244 func TestAllowlistingBp2buildTargetsWithConfig(t *testing.T) {
1362 func TestCombineBuildFilesBp2buildTargets(t *testing.T) {
[all …]
/build/blueprint/pathtools/
Dfs_test.go49 func TestMockFs_followSymlinks(t *testing.T) {
106 func runTestFs(t *testing.T, f func(t *testing.T, fs FileSystem, dir string)) {
142 func TestFs_IsDir(t *testing.T) {
202 func TestFs_ListDirsRecursiveFollowSymlinks(t *testing.T) {
248 func TestFs_ListDirsRecursiveDontFollowSymlinks(t *testing.T) {
294 func TestFs_Readlink(t *testing.T) {
353 func TestFs_Lstat(t *testing.T) {
421 func TestFs_Stat(t *testing.T) {
489 func TestMockFs_glob(t *testing.T) {
552 func checkErr(t *testing.T, want, got error) {
/build/soong/rust/
Dlibrary_test.go25 func TestLibraryVariants(t *testing.T) {
73 func TestDylibPreferDynamic(t *testing.T) {
88 func TestValidateLibraryStem(t *testing.T) {
125 func TestSharedLibrary(t *testing.T) {
147 func TestStaticLibraryLinkage(t *testing.T) {
164 func TestAutoDeps(t *testing.T) {
211 func TestStrippedLibrary(t *testing.T) {
242 func TestLibstdLinkage(t *testing.T) {
Dproject_json_test.go30 func testProjectJson(t *testing.T, bp string) []byte {
51 func validateJsonCrates(t *testing.T, rawContent []byte) []interface{} {
72 func validateCrate(t *testing.T, crate interface{}) map[string]interface{} {
82 func validateDependencies(t *testing.T, crate map[string]interface{}) []string {
102 func TestProjectJsonDep(t *testing.T) {
120 func TestProjectJsonFeature(t *testing.T) {
155 func TestProjectJsonBinary(t *testing.T) {
178 func TestProjectJsonBindGen(t *testing.T) {
254 func TestProjectJsonMultiVersion(t *testing.T) {
Drust_test.go59 func testRust(t *testing.T, bp string) *android.TestContext {
69 func testRustVndk(t *testing.T, bp string) *android.TestContext {
87 func testRustCov(t *testing.T, bp string) *android.TestContext {
106 func testRustError(t *testing.T, pattern string, bp string) {
117 func testRustVndkError(t *testing.T, pattern string, bp string) {
144 func skipTestIfOsNotSupported(t *testing.T) {
152 func TestLinkPathFromFilePath(t *testing.T) {
163 func TestDepsTracking(t *testing.T) {
237 func TestSourceProviderDeps(t *testing.T) {
330 func TestSourceProviderTargetMismatch(t *testing.T) {
[all …]
Dbinary_test.go25 func TestBinaryLinkage(t *testing.T) {
60 func TestBinaryPreferRlib(t *testing.T) {
88 func TestHostToolPath(t *testing.T) {
102 func TestBinaryFlags(t *testing.T) {
117 func TestStaticBinaryFlags(t *testing.T) {
148 func TestLinkObjects(t *testing.T) {
167 func TestStrippedBinary(t *testing.T) {
/build/soong/ui/logger/
Dlogger_test.go31 func TestCreateFileWithRotation(t *testing.T) {
98 func TestPanic(t *testing.T) {
130 func TestFatal(t *testing.T) {
152 func TestNonFatal(t *testing.T) {
168 func TestRecoverFatal(t *testing.T) {
184 func TestRecoverNonFatal(t *testing.T) {
200 func TestRuntimePanic(t *testing.T) {

123456789