Home
last modified time | relevance | path

Searched refs:getTestsDir (Results 1 – 25 of 35) sorted by relevance

12

/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/suite/
DSuiteApkInstallerTest.java68 mPreparer.getTestsDir(mMockBuildInfo); in testGetTestsDir_noVar_noRootDir()
93 File res = mPreparer.getTestsDir(mMockBuildInfo); in testGetTestsDir_noVar()
169 protected File getTestsDir(IBuildInfo buildInfo) throws FileNotFoundException { in testGetLocalPathForFileName()
193 protected File getTestsDir(IBuildInfo buildInfo) throws FileNotFoundException { in testGetLocalPathForFileName_noFound()
216 protected File getTestsDir(IBuildInfo buildInfo) throws FileNotFoundException { in testGetLocalPathForFileName_testsDir()
225 EasyMock.expect(deviceBuildInfo.getTestsDir()).andReturn(tmpDir); in testGetLocalPathForFileName_testsDir()
/tools/tradefederation/core/tests/src/com/android/tradefed/build/
DDeviceBuildInfoTest.java103 assertNotEquals(copy.getTestsDir(), mBuildInfo.getTestsDir()); in testCloneWithProperties()
112 assertEquals(mBuildInfo.getTestsDir(), copy.getTestsDir()); in testCloneWithProperties()
DBootstrapBuildProviderTest.java57 assertTrue(((IDeviceBuildInfo) res).getTestsDir() != null); in testGetBuild()
80 assertTrue(((IDeviceBuildInfo) res).getTestsDir() != null); in testGetBuild_stubDevice()
DLocalDeviceBuildProviderTest.java172 assertNull(buildInfo.getTestsDir()); in testSetTestsDir()
182 File testDir = buildInfo.getTestsDir(); in testSetTestsDir_givenTestDir()
195 assertEquals(testDir, buildInfo.getTestsDir()); in testSetTestsDir_givenTestDirPattern()
/tools/tradefederation/core/src/com/android/tradefed/targetprep/suite/
DSuiteApkInstaller.java54 protected File getTestsDir(IBuildInfo buildInfo) throws FileNotFoundException { in getTestsDir() method in SuiteApkInstaller
78 File testDir = deviceBuildInfo.getTestsDir(); in getApkFromBuildTestsDir()
105 apkFile = FileUtil.findFile(getTestsDir(buildInfo), apkFileName); in getLocalPathForFilename()
/tools/tradefederation/core/src/com/android/tradefed/build/
DSdkBuildInfo.java71 public File getTestsDir() { in getTestsDir() method in SdkBuildInfo
122 if (getTestsDir() != null) { in clone()
124 FileUtil.recursiveCopy(getTestsDir(), cloneTestDir); in clone()
DSdkFolderBuildInfo.java73 public File getTestsDir() { in getTestsDir() method in SdkFolderBuildInfo
75 return mSdkBuild.getTestsDir(); in getTestsDir()
DISdkBuildInfo.java33 public File getTestsDir(); in getTestsDir() method
DKernelDeviceBuildInfo.java114 public File getTestsDir() { in getTestsDir() method in KernelDeviceBuildInfo
115 return mDeviceBuild.getTestsDir(); in getTestsDir()
DDeviceFolderBuildInfo.java114 public File getTestsDir() { in getTestsDir() method in DeviceFolderBuildInfo
115 return mDeviceBuild.getTestsDir(); in getTestsDir()
DAppDeviceBuildInfo.java129 public File getTestsDir() { in getTestsDir() method in AppDeviceBuildInfo
130 return mDeviceBuild.getTestsDir(); in getTestsDir()
DOtaDeviceBuildInfo.java276 public File getTestsDir() { in getTestsDir() method in OtaDeviceBuildInfo
277 return mBaselineBuild.getTestsDir(); in getTestsDir()
DBootstrapBuildProvider.java93 FileUtil.recursiveDelete(((IDeviceBuildInfo) info).getTestsDir()); in cleanUp()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/
DTestMappingSuiteRunnerTest.java79 EasyMock.expect(mBuildInfo.getTestsDir()).andReturn(new File(NON_EXISTING_DIR)); in setUp()
128 EasyMock.expect(mockBuildInfo.getTestsDir()).andReturn(new File("non-existing-dir")); in testLoadTests_testMappingsZip()
179 EasyMock.expect(mockBuildInfo.getTestsDir()).andReturn(new File("non-existing-dir")); in testLoadTests_noTest()
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/
DBaseTestSuite.java137 File testsDir = getTestsDir(); in loadTests()
191 public File getTestsDir() throws FileNotFoundException { in getTestsDir() method in BaseTestSuite
194 return ((IDeviceBuildInfo) build).getTestsDir(); in getTestsDir()
/tools/tradefederation/core/prod-tests/src/com/android/framework/tests/
DTestDirForwarder.java56 File testAppDir = FileUtil.getFileForPath(deviceBuild.getTestsDir(), "DATA", "app"); in setUp()
/tools/tradefederation/core/src/com/android/tradefed/targetprep/
DTestSystemAppInstallSetup.java70 File testsDir = ((IDeviceBuildInfo)buildInfo).getTestsDir(); in setUp()
DPushFilePreparer.java119 File testsDir = deviceBuild.getTestsDir(); in resolveRelativeFilePath()
DTestFilePushSetup.java105 File testsDir = ((IDeviceBuildInfo)buildInfo).getTestsDir(); in getLocalPathForFilename()
/tools/tradefederation/core/prod-tests/src/com/android/tradefed/presubmit/
DGeneralTestsConfigValidation.java65 File testsDir = deviceBuildInfo.getTestsDir(); in testConfigsLoad()
DDeviceTestsConfigValidation.java65 File testsDir = deviceBuildInfo.getTestsDir(); in testConfigsLoad()
/tools/tradefederation/core/src/com/android/tradefed/util/
DSystemUtil.java124 File testsDir = deviceBuildInfo.getTestsDir(); in getTestCasesDirs()
DBuildTestsZipUtils.java71 File testsDir = ((IDeviceBuildInfo) buildInfo).getTestsDir(); in getApkFile()
/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/
DTestAppInstallSetupTest.java259 EasyMock.expect(mMockBuildInfo.getTestsDir()).andStubReturn(mBuildTestDir); in testFindApk_override()
290 EasyMock.expect(mMockBuildInfo.getTestsDir()).andStubReturn(mBuildTestDir); in testFindApk_override_onlyInBuild()
/tools/tradefederation/contrib/src/com/android/tradefed/build/
DTestzipDeviceBuildInfo.java141 public File getTestsDir() { in getTestsDir() method in TestzipDeviceBuildInfo

12