Home
last modified time | relevance | path

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

12345678

/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 …]
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 …]
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 …]
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) {
Dplatform_bootclasspath_test.go31 func TestPlatformBootclasspath(t *testing.T) {
153 func TestPlatformBootclasspathVariant(t *testing.T) {
167 func TestPlatformBootclasspath_ClasspathFragmentPaths(t *testing.T) {
182 func TestPlatformBootclasspathModule_AndroidMkEntries(t *testing.T) {
236 func TestPlatformBootclasspath_Dist(t *testing.T) {
277 func TestPlatformBootclasspath_HiddenAPIMonolithicFiles(t *testing.T) {
Dbootclasspath_fragment_test.go32 func TestBootclasspathFragment_UnknownImageName(t *testing.T) {
45 func TestPrebuiltBootclasspathFragment_UnknownImageName(t *testing.T) {
58 func TestBootclasspathFragmentInconsistentArtConfiguration_Platform(t *testing.T) {
77 func TestBootclasspathFragmentInconsistentArtConfiguration_ApexMixture(t *testing.T) {
97 func TestBootclasspathFragment_Coverage(t *testing.T) {
184 func TestBootclasspathFragment_StubLibs(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 …]
/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/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/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) {
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) {
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 …]
Dcompiler_test.go25 func TestFeaturesToFlags(t *testing.T) {
46 func TestCfgsToFlags(t *testing.T) {
67 func TestEnforceSingleSourceFile(t *testing.T) {
101 func TestInstallDir(t *testing.T) {
131 func TestLints(t *testing.T) {
186 func TestStdDeviceLinkage(t *testing.T) {
/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/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) {
/build/soong/cc/
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/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 assertError(t *testing.T, err error, expected string) {
731 func assertBuildStatements(t *testing.T, expected []BuildStatement, actual []BuildStatement) {
/build/soong/ui/build/
Denvironment_test.go23 func TestEnvUnset(t *testing.T) {
32 func TestEnvUnsetMissing(t *testing.T) {
41 func TestEnvSet(t *testing.T) {
50 func TestEnvSetDup(t *testing.T) {
59 func TestEnvAllow(t *testing.T) {
75 func TestEnvAppendFromKati(t *testing.T) {

12345678