Home
last modified time | relevance | path

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

12345

/build/soong/finder/
Dfinder_test.go37 func newFinder(t *testing.T, filesystem *fs.MockFs, cacheParams CacheParams) *Finder {
41 func newFinderWithNumThreads(t *testing.T, filesystem *fs.MockFs, cacheParams CacheParams, numThrea…
49 func newFinderAndErr(t *testing.T, filesystem *fs.MockFs, cacheParams CacheParams, numThreads int) …
62 func finderWithSameParams(t *testing.T, original *Finder) *Finder {
70 func finderAndErrorWithSameParams(t *testing.T, original *Finder) (*Finder, error) {
81 func write(t *testing.T, path string, content string, filesystem *fs.MockFs) {
90 func create(t *testing.T, path string, filesystem *fs.MockFs) {
94 func delete(t *testing.T, path string, filesystem *fs.MockFs) {
101 func removeAll(t *testing.T, path string, filesystem *fs.MockFs) {
108 func move(t *testing.T, oldPath string, newPath string, filesystem *fs.MockFs) {
[all …]
/build/soong/apex/
Dapex_test.go32 func testApex(t *testing.T, bp string) *android.TestContext {
194 func setup(t *testing.T) (config android.Config, buildDir string) {
214 func ensureContains(t *testing.T, result string, expected string) {
221 func ensureNotContains(t *testing.T, result string, notExpected string) {
227 func ensureListContains(t *testing.T, result []string, expected string) {
233 func ensureListNotContains(t *testing.T, result []string, notExpected string) {
240 func TestBasicApex(t *testing.T) {
364 func TestBasicZipApex(t *testing.T) {
412 func TestApexWithStubs(t *testing.T) {
496 func TestApexWithExplicitStubsDependency(t *testing.T) {
[all …]
/build/soong/cc/
Dcc_test.go54 func createTestContext(t *testing.T, config android.Config, bp string, fs map[string][]byte,
104 func testCcWithConfig(t *testing.T, bp string, config android.Config) *android.TestContext {
108 func testCcWithConfigForOs(t *testing.T, bp string, config android.Config, os android.OsType) *andr…
121 func testCc(t *testing.T, bp string) *android.TestContext {
130 func testCcNoVndk(t *testing.T, bp string) *android.TestContext {
138 func testCcError(t *testing.T, pattern string, bp string) {
168 func TestFuchsiaDeps(t *testing.T) {
205 func TestFuchsiaTargetDecl(t *testing.T) {
231 func TestVendorSrc(t *testing.T) {
258 func checkVndkModule(t *testing.T, ctx *android.TestContext, name, subDir string,
[all …]
/build/soong/java/
Dapp_test.go58 func testApp(t *testing.T, bp string) *android.TestContext {
68 func TestApp(t *testing.T) {
113 func TestAppSplits(t *testing.T) {
137 func TestResourceDirs(t *testing.T) {
195 func TestAndroidResources(t *testing.T) {
451 func TestAppSdkVersion(t *testing.T) {
544 func TestJNIABI(t *testing.T) {
617 func TestJNIPackaging(t *testing.T) {
701 func TestCertificates(t *testing.T) {
787 func TestPackageNameOverride(t *testing.T) {
[all …]
Djava_test.go202 func run(t *testing.T, ctx *android.TestContext, config android.Config) {
215 func testJava(t *testing.T, bp string) *android.TestContext {
235 func TestSimple(t *testing.T) {
279 func TestArchSpecific(t *testing.T) {
298 func TestBinary(t *testing.T) {
327 func TestPrebuilts(t *testing.T) {
368 func TestDefaults(t *testing.T) {
443 func TestResources(t *testing.T) {
549 func TestGeneratedSources(t *testing.T) {
582 func TestTurbine(t *testing.T) {
[all …]
Djdeps_test.go24 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) {
Dplugin_test.go22 func TestNoPlugin(t *testing.T) {
46 func TestPlugin(t *testing.T) {
85 func TestPluginGeneratesApi(t *testing.T) {
/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) {
Dnamespace_test.go28 func TestDependingOnModuleInSameNamespace(t *testing.T) {
52 func TestDependingOnModuleInRootNamespace(t *testing.T) {
74 func TestImplicitlyImportRootNamespace(t *testing.T) {
96 func TestDependingOnModuleInImportedNamespace(t *testing.T) {
125 func TestDependingOnModuleInNonImportedNamespace(t *testing.T) {
165 func TestDependingOnModuleByFullyQualifiedReference(t *testing.T) {
192 func TestSameNameInTwoNamespaces(t *testing.T) {
242 func TestSearchOrder(t *testing.T) {
330 func TestTwoNamespacesCanImportEachOther(t *testing.T) {
360 func TestImportingNonexistentNamespace(t *testing.T) {
[all …]
Dprebuilt_etc_test.go27 func testPrebuiltEtc(t *testing.T, bp string) (*TestContext, Config) {
54 func setUp(t *testing.T) (config Config, buildDir string) {
68 func TestPrebuiltEtcVariants(t *testing.T) {
102 func TestPrebuiltEtcOutputPath(t *testing.T) {
117 func TestPrebuiltEtcGlob(t *testing.T) {
141 func TestPrebuiltEtcAndroidMk(t *testing.T) {
185 func TestPrebuiltEtcHost(t *testing.T) {
200 func TestPrebuiltUserShareInstallDirPath(t *testing.T) {
216 func TestPrebuiltUserShareHostInstallDirPath(t *testing.T) {
Dutil_test.go61 func TestFirstUniqueStrings(t *testing.T) {
111 func TestLastUniqueStrings(t *testing.T) {
123 func TestJoinWithPrefix(t *testing.T) {
162 func TestIndexList(t *testing.T) {
201 func TestInList(t *testing.T) {
232 func TestPrefixInList(t *testing.T) {
267 func TestFilterList(t *testing.T) {
291 func TestRemoveListFromList(t *testing.T) {
305 func TestRemoveFromList(t *testing.T) {
Dpaths_test.go114 func TestValidateSafePath(t *testing.T) {
127 func TestValidatePath(t *testing.T) {
140 func TestOptionalPath(t *testing.T) {
148 func checkInvalidOptionalPath(t *testing.T, path OptionalPath) {
164 func check(t *testing.T, testType, testString string,
232 func TestPathForModuleInstall(t *testing.T) {
511 func TestDirectorySortedPaths(t *testing.T) {
592 func TestMaybeRel(t *testing.T) {
649 func TestPathForSource(t *testing.T) {
772 func testPathForModuleSrc(t *testing.T, buildDir string, tests []pathForModuleSrcTestCase) {
[all …]
/build/blueprint/pathtools/
Dfs_test.go47 func TestMockFs_followSymlinks(t *testing.T) {
104 func TestFs_IsDir(t *testing.T) {
173 func TestFs_ListDirsRecursiveFollowSymlinks(t *testing.T) {
225 func TestFs_ListDirsRecursiveDontFollowSymlinks(t *testing.T) {
277 func TestFs_Readlink(t *testing.T) {
346 func TestFs_Lstat(t *testing.T) {
424 func TestFs_Stat(t *testing.T) {
502 func TestMockFs_glob(t *testing.T) {
574 func checkErr(t *testing.T, want, got error) {
Dglob_test.go465 func TestMockGlob(t *testing.T) {
497 func TestGlob(t *testing.T) {
530 func TestMockGlobEscapes(t *testing.T) {
557 func TestGlobEscapes(t *testing.T) {
581 func TestMockGlobSymlinks(t *testing.T) {
605 func TestGlobSymlinks(t *testing.T) {
629 func TestMockGlobDontFollowSymlinks(t *testing.T) {
653 func TestGlobDontFollowSymlinks(t *testing.T) {
677 func TestMockGlobDontFollowDanglingSymlinks(t *testing.T) {
704 func TestGlobDontFollowDanglingSymlinks(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/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/blueprint/microfactory/
Dmicrofactory_test.go28 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/
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) {
/build/soong/third_party/zip/
Dzip_test.go21 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 …]
Dreader_test.go301 func TestReader(t *testing.T) {
307 func readTestZip(t *testing.T, zt ZipTest) {
366 func readTestFile(t *testing.T, zt ZipTest, ft ZipTestFile, f *File) {
443 func testFileMode(t *testing.T, zipName string, f *File, want os.FileMode) {
452 func TestInvalidFiles(t *testing.T) {
728 func TestIssue8186(t *testing.T) {
751 func TestIssue10957(t *testing.T) {
790 func TestIssue10956(t *testing.T) {
802 func TestIssue11146(t *testing.T) {
825 func TestIssue12449(t *testing.T) {
/build/kati/
Dstrutil_test.go23 func TestSplitSpaces(t *testing.T) {
56 func TestWordScanner(t *testing.T) {
93 func TestSubstPattern(t *testing.T) {
170 func TestRemoveComment(t *testing.T) {
222 func TestConcatline(t *testing.T) {
/build/soong/dexpreopt/
Ddexpreopt_test.go53 func TestDexPreopt(t *testing.T) {
72 func TestDexPreoptStrip(t *testing.T) {
86 func TestDexPreoptSystemOther(t *testing.T) {
108 func TestDexPreoptProfile(t *testing.T) {
131 func TestStripDex(t *testing.T) {
/build/soong/ui/status/
Dstatus_test.go30 func (c counterOutput) Expect(t *testing.T, counts Counts) {
50 func TestBasicUse(t *testing.T) {
98 func TestFinishEarly(t *testing.T) {
126 func TestExtraActions(t *testing.T) {
146 func TestRunningWhenFinished(t *testing.T) {
/build/blueprint/
Dcontext_test.go90 func TestContextParse(t *testing.T) {
130 func TestWalkDeps(t *testing.T) {
217 func TestWalkDepsDuplicates(t *testing.T) {
303 func TestCreateModule(t *testing.T) {
381 func TestWalkFileOrder(t *testing.T) {
393 func doTestWalkFileOrder(t *testing.T, sleepDuration time.Duration) {
450 func TestWalkingWithSyntaxError(t *testing.T) {
486 func TestParseFailsForModuleWithoutName(t *testing.T) {
/build/blueprint/bootstrap/bpdoc/
Dreader_test.go55 func TestModuleTypeDocs(t *testing.T) {
71 func TestPropertyStruct(t *testing.T) {
91 func TestPackage(t *testing.T) {
103 func TestFuncToPkgPath(t *testing.T) {

12345