/aosp12/build/soong/apex/ |
H A D | apex_test.go | 300 func TestBasicApex(t *testing.T) { 615 func TestDefaults(t *testing.T) { 2373 func TestVendorApex(t *testing.T) { 2654 func TestKeys(t *testing.T) { 2845 func TestMacro(t *testing.T) { 3645 func TestApexName(t *testing.T) { 3743 func TestTestApex(t *testing.T) { 4154 func TestPrebuilt(t *testing.T) { 6318 func TestAppBundle(t *testing.T) { 6924 func TestTestFor(t *testing.T) { [all …]
|
/aosp12/build/soong/finder/ |
H A D | finder_test.go | 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) { 208 func TestEmptyPath(t *testing.T) { 273 func TestExcludeDirs(t *testing.T) { 301 func TestPruneFiles(t *testing.T) { 333 func TestRootDir(t *testing.T) { 357 func TestUncachedDir(t *testing.T) { 476 func TestFindFirst(t *testing.T) { 773 func TestStatCalls(t *testing.T) { [all …]
|
/aosp12/build/soong/java/ |
H A D | app_test.go | 44 func TestApp(t *testing.T) { 103 func TestAppSplits(t *testing.T) { 130 func TestPlatformAPIs(t *testing.T) { 253 func TestUpdatableApps(t *testing.T) { 519 func TestResourceDirs(t *testing.T) { 577 func TestLibraryAssets(t *testing.T) { 1160 func TestJNIABI(t *testing.T) { 1369 func TestJNISDK(t *testing.T) { 2175 func TestStl(t *testing.T) { 2486 func TestCodelessApp(t *testing.T) { [all …]
|
H A D | sdk_library_test.go | 27 func TestJavaSdkLibrary(t *testing.T) { 296 func TestJavaSdkLibrary_Deps(t *testing.T) { 399 func TestJavaSdkLibrary_InvalidScopes(t *testing.T) { 437 func TestJavaSdkLibrary_ModuleLib(t *testing.T) { 457 func TestJavaSdkLibrary_SystemServer(t *testing.T) { 477 func TestJavaSdkLibrary_MissingScope(t *testing.T) { 498 func TestJavaSdkLibrary_FallbackScope(t *testing.T) { 522 func TestJavaSdkLibrary_DefaultToStubs(t *testing.T) { 553 func TestJavaSdkLibraryImport(t *testing.T) { 691 func TestJavaSdkLibraryEnforce(t *testing.T) { [all …]
|
H A D | java_test.go | 128 func TestJavaLinkType(t *testing.T) { 216 func TestSimple(t *testing.T) { 403 func TestArchSpecific(t *testing.T) { 422 func TestBinary(t *testing.T) { 465 func TestTest(t *testing.T) { 535 func TestPrebuilts(t *testing.T) { 657 func TestDefaults(t *testing.T) { 732 func TestResources(t *testing.T) { 941 func TestTurbine(t *testing.T) { 982 func TestSharding(t *testing.T) { [all …]
|
H A D | app_import_test.go | 28 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) { 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) { 436 func TestAndroidAppImport_frameworkRes(t *testing.T) { 496 func TestAndroidTestImport(t *testing.T) { [all …]
|
H A D | lint_test.go | 24 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) {
|
/aosp12/build/soong/sdk/ |
H A D | cc_sdk_test.go | 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) { 608 func TestSnapshotWithCcBinary(t *testing.T) { 2374 func TestStubsLibrary(t *testing.T) { 2549 func TestUniqueHostSoname(t *testing.T) { [all …]
|
H A D | java_sdk_test.go | 74 func TestBasicSdkWithJavaLibrary(t *testing.T) { 158 func TestSnapshotWithJavaHeaderLibrary(t *testing.T) { 220 func TestHostSnapshotWithJavaHeaderLibrary(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) { 671 func TestSnapshotWithJavaSystemModules(t *testing.T) { 820 func TestHostSnapshotWithJavaSystemModules(t *testing.T) { [all …]
|
/aosp12/build/soong/cc/ |
H A D | cc_test.go | 155 func TestFuchsiaDeps(t *testing.T) { 220 func TestVendorSrc(t *testing.T) { 462 func TestVndk(t *testing.T) { 783 func TestDataLibs(t *testing.T) { 977 func TestVndkDepError(t *testing.T) { 1379 func TestVndkExt(t *testing.T) { 2967 func TestRuntimeLibs(t *testing.T) { 3155 func TestRecovery(t *testing.T) { 3399 func TestFuzzTarget(t *testing.T) { 3410 func TestAidl(t *testing.T) { [all …]
|
H A D | vendor_snapshot_test.go | 26 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 …]
|
H A D | prebuilt_test.go | 30 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) {
|
/aosp12/system/tools/aidl/build/ |
H A D | aidl_test.go | 340 func TestImportInRelease(t *testing.T) { 390 func TestUnstableModules(t *testing.T) { 506 func TestErrorsWithUnsortedVersions(t *testing.T) { 652 func TestImports(t *testing.T) { 755 func TestDuplicatedVersions(t *testing.T) { 883 func TestUnstableVndkModule(t *testing.T) { 921 func TestCcModuleWithApexNameMacro(t *testing.T) { 953 func TestSrcsAvailable(t *testing.T) { 992 func TestRustDuplicateNames(t *testing.T) { 1177 func TestAidlFlags(t *testing.T) { [all …]
|
/aosp12/build/soong/etc/ |
H A D | prebuilt_etc_test.go | 39 func TestPrebuiltEtcVariants(t *testing.T) { 73 func TestPrebuiltEtcOutputPath(t *testing.T) { 86 func TestPrebuiltEtcGlob(t *testing.T) { 106 func TestPrebuiltEtcAndroidMk(t *testing.T) { 167 func TestPrebuiltEtcHost(t *testing.T) { 182 func TestPrebuiltRootInstallDirPath(t *testing.T) { 206 func TestPrebuiltUserShareInstallDirPath(t *testing.T) { 235 func TestPrebuiltFontInstallDirPath(t *testing.T) { 248 func TestPrebuiltFirmwareDirPath(t *testing.T) { 282 func TestPrebuiltDSPDirPath(t *testing.T) { [all …]
|
/aosp12/build/soong/bpfix/bpfix/ |
H A D | bpfix_test.go | 171 func TestMergeMatchingProperties(t *testing.T) { 260 func TestReorderCommonProperties(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) { 771 func TestRewriteAndroidTest(t *testing.T) { 804 func TestRewriteAndroidAppImport(t *testing.T) { 853 func TestRemoveEmptyLibDependencies(t *testing.T) { 907 func TestRemoveHidlInterfaceTypes(t *testing.T) { [all …]
|
/aosp12/build/soong/android/ |
H A D | onceper_test.go | 22 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 …]
|
H A D | util_test.go | 63 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) { 325 func TestRemoveFromList(t *testing.T) { 428 func TestSplitFileExt(t *testing.T) { [all …]
|
H A D | namespace_test.go | 26 func TestDependingOnModuleInSameNamespace(t *testing.T) { 50 func TestDependingOnModuleInRootNamespace(t *testing.T) { 72 func TestImplicitlyImportRootNamespace(t *testing.T) { 212 func TestSameNameInTwoNamespaces(t *testing.T) { 262 func TestSearchOrder(t *testing.T) { 380 func TestImportingNonexistentNamespace(t *testing.T) { 457 func TestNamespaceImportsNotTransitive(t *testing.T) { 498 func TestTwoNamepacesInSameDir(t *testing.T) { 518 func TestNamespaceNotAtTopOfFile(t *testing.T) { 587 func TestConsistentNamespaceNames(t *testing.T) { [all …]
|
/aosp12/build/soong/bp2build/ |
H A D | build_conversion_test.go | 24 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 …]
|
/aosp12/build/blueprint/pathtools/ |
H A D | fs_test.go | 49 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) {
|
/aosp12/build/soong/rust/ |
H A D | rust_test.go | 59 func testRust(t *testing.T, bp string) *android.TestContext { 106 func testRustError(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) { 352 func TestProcMacroDeviceDeps(t *testing.T) { 379 func TestNoStdlibs(t *testing.T) { 394 func TestMultilib(t *testing.T) { [all …]
|
H A D | library_test.go | 25 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) {
|
H A D | project_json_test.go | 30 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) {
|
/aosp12/build/soong/bazel/ |
H A D | aquery_test.go | 23 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) {
|
/aosp12/build/blueprint/microfactory/ |
H A D | microfactory_test.go | 28 func TestSimplePackagePathMap(t *testing.T) { 73 func TestBadPackagePathMap(t *testing.T) { 97 func TestSingleBuild(t *testing.T) { 123 func testBuildAgain(t *testing.T, 210 func TestRebuildAfterNoChanges(t *testing.T) { 217 func TestRebuildAfterTimestampChange(t *testing.T) { 233 func TestRebuildAfterGoChange(t *testing.T) { 250 func TestRebuildAfterMainChange(t *testing.T) { 267 func TestRebuildAfterRemoveOut(t *testing.T) { 277 func TestRebuildAfterPartialBuild(t *testing.T) { [all …]
|