/build/soong/apex/ |
D | apex_test.go | 49 func testApexError(t *testing.T, pattern, bp string, handlers ...testCustomizer) { 66 func testApex(t *testing.T, bp string, handlers ...testCustomizer) (*android.TestContext, android.C… 126 func testApexContext(_ *testing.T, bp string, handlers ...testCustomizer) (*android.TestContext, an… 282 func ensureEquals(t *testing.T, result string, expected string) { 290 func ensureContains(t *testing.T, result string, expected string) { 298 func ensureContainsOnce(t *testing.T, result string, expected string) { 307 func ensureNotContains(t *testing.T, result string, notExpected string) { 314 func ensureMatches(t *testing.T, result string, expectedRex string) { 325 func ensureListContains(t *testing.T, result []string, expected string) { 332 func ensureListNotContains(t *testing.T, result []string, notExpected string) { [all …]
|
/build/soong/java/ |
D | app_test.go | 59 func testApp(t *testing.T, bp string) *android.TestContext { 69 func TestApp(t *testing.T) { 115 func TestAppSplits(t *testing.T) { 144 func TestAndroidAppSet(t *testing.T) { 172 func TestAndroidAppSet_Variants(t *testing.T) { 235 func TestPlatformAPIs(t *testing.T) { 269 func TestAndroidAppLinkType(t *testing.T) { 358 func TestUpdatableApps(t *testing.T) { 479 func TestUpdatableApps_TransitiveDepsShouldSetMinSdkVersion(t *testing.T) { 497 func TestUpdatableApps_JniLibsShouldShouldSupportMinSdkVersion(t *testing.T) { [all …]
|
D | java_test.go | 109 func run(t *testing.T, ctx *android.TestContext, config android.Config) { 122 func testJavaError(t *testing.T, pattern string, bp string) (*android.TestContext, android.Config) { 127 func testJavaErrorWithConfig(t *testing.T, pattern string, config android.Config) (*android.TestCon… 151 func testJavaWithFS(t *testing.T, bp string, fs map[string][]byte) (*android.TestContext, android.C… 156 func testJava(t *testing.T, bp string) (*android.TestContext, android.Config) { 161 func testJavaWithConfig(t *testing.T, config android.Config) (*android.TestContext, android.Config)… 180 func TestJavaLinkType(t *testing.T) { 268 func TestSimple(t *testing.T) { 312 func TestExportedPlugins(t *testing.T) { 395 func TestSdkVersionByPartition(t *testing.T) { [all …]
|
D | androidmk_test.go | 25 func TestRequired(t *testing.T) { 44 func TestHostdex(t *testing.T) { 74 func TestHostdexRequired(t *testing.T) { 105 func TestHostdexSpecificRequired(t *testing.T) { 138 func TestDistWithTag(t *testing.T) { 174 func TestDistWithDest(t *testing.T) { 210 func TestDistsWithAllProperties(t *testing.T) { 267 func TestDistsWithTag(t *testing.T) { 314 func TestJavaSdkLibrary_RequireXmlPermissionFile(t *testing.T) {
|
D | jdeps_test.go | 24 func TestCollectJavaLibraryPropertiesAddLibsDeps(t *testing.T) { 37 func TestCollectJavaLibraryPropertiesAddStaticLibsDeps(t *testing.T) { 50 func TestCollectJavaLibraryPropertiesAddScrs(t *testing.T) { 63 func TestCollectJavaLibraryPropertiesAddAidlIncludeDirs(t *testing.T) { 76 func TestCollectJavaLibraryPropertiesAddJarjarRules(t *testing.T) {
|
/build/soong/finder/ |
D | finder_test.go | 34 func newFinder(t *testing.T, filesystem *fs.MockFs, cacheParams CacheParams) *Finder { 38 func newFinderWithNumThreads(t *testing.T, filesystem *fs.MockFs, cacheParams CacheParams, numThrea… 46 func newFinderAndErr(t *testing.T, filesystem *fs.MockFs, cacheParams CacheParams, numThreads int) … 59 func finderWithSameParams(t *testing.T, original *Finder) *Finder { 67 func finderAndErrorWithSameParams(t *testing.T, original *Finder) (*Finder, error) { 79 func runSimpleTest(t *testing.T, existentPaths []string, expectedMatches []string) { 108 func testAgainstSeveralThreadcounts(t *testing.T, tester func(t *testing.T, numThreads int)) { 124 func TestSingleFile(t *testing.T) { 131 func TestIncludeFiles(t *testing.T) { 138 func TestNestedDirectories(t *testing.T) { [all …]
|
/build/soong/sdk/ |
D | cc_sdk_test.go | 35 func testSdkWithCc(t *testing.T, bp string) *testSdkResult { 42 func TestSdkIsCompileMultilibBoth(t *testing.T) { 72 func TestSdkCompileMultilibOverride(t *testing.T) { 142 func TestBasicSdkWithCc(t *testing.T) { 248 func TestHostSdkWithCc(t *testing.T) { 271 func TestSdkWithCc(t *testing.T) { 301 func TestSnapshotWithObject(t *testing.T) { 360 func TestSnapshotWithCcDuplicateHeaders(t *testing.T) { 399 func TestSnapshotWithCcSharedLibraryCommonProperties(t *testing.T) { 474 func TestSnapshotWithCcBinary(t *testing.T) { [all …]
|
D | java_sdk_test.go | 23 func testSdkWithJava(t *testing.T, bp string) *testSdkResult { 93 func TestSdkDependsOnSourceEvenWhenPrebuiltPreferred(t *testing.T) { 139 func TestBasicSdkWithJavaLibrary(t *testing.T) { 218 func TestSnapshotWithJavaHeaderLibrary(t *testing.T) { 267 func TestHostSnapshotWithJavaHeaderLibrary(t *testing.T) { 324 func TestDeviceAndHostSnapshotWithJavaHeaderLibrary(t *testing.T) { 387 func TestSnapshotWithJavaImplLibrary(t *testing.T) { 437 func TestHostSnapshotWithJavaImplLibrary(t *testing.T) { 494 func TestSnapshotWithJavaTest(t *testing.T) { 541 func TestHostSnapshotWithJavaTest(t *testing.T) { [all …]
|
/build/soong/cc/ |
D | cc_test.go | 55 func testCcWithConfig(t *testing.T, config android.Config) *android.TestContext { 68 func testCc(t *testing.T, bp string) *android.TestContext { 77 func testCcNoVndk(t *testing.T, bp string) *android.TestContext { 85 func testCcErrorWithConfig(t *testing.T, pattern string, config android.Config) { 106 func testCcError(t *testing.T, pattern string, bp string) { 114 func testCcErrorProductVndk(t *testing.T, pattern string, bp string) { 130 func TestFuchsiaDeps(t *testing.T) { 167 func TestFuchsiaTargetDecl(t *testing.T) { 193 func TestVendorSrc(t *testing.T) { 220 func checkVndkModule(t *testing.T, ctx *android.TestContext, name, subDir string, [all …]
|
D | prebuilt_test.go | 25 func testPrebuilt(t *testing.T, bp string, fs map[string][]byte) *android.TestContext { 44 func TestPrebuilt(t *testing.T) { 173 func TestPrebuiltLibraryShared(t *testing.T) { 190 func TestPrebuiltLibraryStatic(t *testing.T) { 204 func TestPrebuiltLibrary(t *testing.T) { 230 func TestPrebuiltLibraryStem(t *testing.T) { 257 func TestPrebuiltLibrarySharedStem(t *testing.T) {
|
/build/soong/android/ |
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 …]
|
D | util_test.go | 62 func TestFirstUniqueStrings(t *testing.T) { 122 func TestLastUniqueStrings(t *testing.T) { 134 func TestJoinWithPrefix(t *testing.T) { 173 func TestIndexList(t *testing.T) { 212 func TestInList(t *testing.T) { 243 func TestPrefixInList(t *testing.T) { 278 func TestFilterList(t *testing.T) { 302 func TestRemoveListFromList(t *testing.T) { 316 func TestRemoveFromList(t *testing.T) { 419 func TestSplitFileExt(t *testing.T) { [all …]
|
D | namespace_test.go | 26 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/etc/ |
D | prebuilt_etc_test.go | 52 func testPrebuiltEtcContext(t *testing.T, bp string) (*android.TestContext, android.Config) { 74 func testPrebuiltEtc(t *testing.T, bp string) (*android.TestContext, android.Config) { 86 func testPrebuiltEtcError(t *testing.T, pattern, bp string) { 104 func TestPrebuiltEtcVariants(t *testing.T) { 138 func TestPrebuiltEtcOutputPath(t *testing.T) { 153 func TestPrebuiltEtcGlob(t *testing.T) { 177 func TestPrebuiltEtcAndroidMk(t *testing.T) { 213 func TestPrebuiltEtcRelativeInstallPathInstallDirPath(t *testing.T) { 229 func TestPrebuiltEtcCannotSetRelativeInstallPathAndSubDir(t *testing.T) { 240 func TestPrebuiltEtcHost(t *testing.T) { [all …]
|
/build/soong/bpfix/bpfix/ |
D | bpfix_test.go | 55 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/blueprint/pathtools/ |
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) {
|
D | glob_test.go | 474 func TestMockGlob(t *testing.T) { 506 func TestGlob(t *testing.T) { 539 func TestMockGlobEscapes(t *testing.T) { 566 func TestGlobEscapes(t *testing.T) { 590 func TestMockGlobSymlinks(t *testing.T) { 614 func TestGlobSymlinks(t *testing.T) { 638 func TestMockGlobDontFollowSymlinks(t *testing.T) { 662 func TestGlobDontFollowSymlinks(t *testing.T) { 686 func TestMockGlobDontFollowDanglingSymlinks(t *testing.T) { 713 func TestGlobDontFollowDanglingSymlinks(t *testing.T) { [all …]
|
/build/soong/rust/ |
D | rust_test.go | 74 func testRust(t *testing.T, bp string) *android.TestContext { 78 func testRustCov(t *testing.T, bp string) *android.TestContext { 82 func testRustContext(t *testing.T, bp string, coverage bool) *android.TestContext { 108 func testRustError(t *testing.T, pattern string, bp string) { 136 func TestLibNameFromFilePath(t *testing.T) { 155 func TestLinkPathFromFilePath(t *testing.T) { 166 func TestDepsTracking(t *testing.T) { 227 func TestSourceProviderDeps(t *testing.T) { 294 func TestSourceProviderTargetMismatch(t *testing.T) { 315 func TestProcMacroDeviceDeps(t *testing.T) { [all …]
|
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) { 148 func TestAutoDeps(t *testing.T) {
|
/build/soong/ui/logger/ |
D | logger_test.go | 31 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/blueprint/microfactory/ |
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 …]
|
/build/soong/ui/build/ |
D | config_test.go | 41 func TestConfigParseArgsJK(t *testing.T) { 113 func TestConfigParseArgsVars(t *testing.T) { 182 func TestConfigCheckTopDir(t *testing.T) { 278 func TestConfigConvertToTarget(t *testing.T) { 315 func setTop(t *testing.T, dir string) func() { 326 func createBuildFiles(t *testing.T, topDir string, buildFiles []string) { 335 func createDirectories(t *testing.T, topDir string, dirs []string) { 344 func TestConfigGetTargets(t *testing.T) { 525 func TestConfigFindBuildFile(t *testing.T) { 640 func TestConfigSplitArgs(t *testing.T) { [all …]
|
D | environment_test.go | 23 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) {
|
/build/soong/third_party/zip/ |
D | zip_test.go | 21 func TestOver65kFiles(t *testing.T) { 56 func TestModTime(t *testing.T) { 66 …undTrip(fh *FileHeader, wantUncompressedSize uint32, wantUncompressedSize64 uint64, t *testing.T) { 93 func TestFileHeaderRoundTrip(t *testing.T) { 103 func TestFileHeaderRoundTrip64(t *testing.T) { 196 func TestRLEBuffer(t *testing.T) { 230 func TestZip64(t *testing.T) { 239 func TestZip64EdgeCase(t *testing.T) { 340 func testZip64DirectoryRecordLength(buf *rleBuffer, t *testing.T) { 368 func testValidHeader(h *FileHeader, t *testing.T) { [all …]
|
/build/soong/finder/fs/ |
D | test.go | 26 func Write(t *testing.T, path string, content string, filesystem *MockFs) { 35 func Create(t *testing.T, path string, filesystem *MockFs) { 39 func Delete(t *testing.T, path string, filesystem *MockFs) { 46 func RemoveAll(t *testing.T, path string, filesystem *MockFs) { 53 func Move(t *testing.T, oldPath string, newPath string, filesystem *MockFs) { 60 func Link(t *testing.T, newPath string, oldPath string, filesystem *MockFs) { 72 func Read(t *testing.T, path string, filesystem *MockFs) string { 84 func ModTime(t *testing.T, path string, filesystem *MockFs) time.Time { 92 func SetReadable(t *testing.T, path string, readable bool, filesystem *MockFs) { 99 func SetReadErr(t *testing.T, path string, readErr error, filesystem *MockFs) { [all …]
|