/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/suite/ |
D | SuiteApkInstallerTest.java | 68 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/ |
D | DeviceBuildInfoTest.java | 103 assertNotEquals(copy.getTestsDir(), mBuildInfo.getTestsDir()); in testCloneWithProperties() 112 assertEquals(mBuildInfo.getTestsDir(), copy.getTestsDir()); in testCloneWithProperties()
|
D | BootstrapBuildProviderTest.java | 57 assertTrue(((IDeviceBuildInfo) res).getTestsDir() != null); in testGetBuild() 80 assertTrue(((IDeviceBuildInfo) res).getTestsDir() != null); in testGetBuild_stubDevice()
|
D | LocalDeviceBuildProviderTest.java | 172 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/ |
D | SuiteApkInstaller.java | 54 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/ |
D | SdkBuildInfo.java | 71 public File getTestsDir() { in getTestsDir() method in SdkBuildInfo 122 if (getTestsDir() != null) { in clone() 124 FileUtil.recursiveCopy(getTestsDir(), cloneTestDir); in clone()
|
D | SdkFolderBuildInfo.java | 73 public File getTestsDir() { in getTestsDir() method in SdkFolderBuildInfo 75 return mSdkBuild.getTestsDir(); in getTestsDir()
|
D | ISdkBuildInfo.java | 33 public File getTestsDir(); in getTestsDir() method
|
D | KernelDeviceBuildInfo.java | 114 public File getTestsDir() { in getTestsDir() method in KernelDeviceBuildInfo 115 return mDeviceBuild.getTestsDir(); in getTestsDir()
|
D | DeviceFolderBuildInfo.java | 114 public File getTestsDir() { in getTestsDir() method in DeviceFolderBuildInfo 115 return mDeviceBuild.getTestsDir(); in getTestsDir()
|
D | AppDeviceBuildInfo.java | 129 public File getTestsDir() { in getTestsDir() method in AppDeviceBuildInfo 130 return mDeviceBuild.getTestsDir(); in getTestsDir()
|
D | OtaDeviceBuildInfo.java | 276 public File getTestsDir() { in getTestsDir() method in OtaDeviceBuildInfo 277 return mBaselineBuild.getTestsDir(); in getTestsDir()
|
D | BootstrapBuildProvider.java | 93 FileUtil.recursiveDelete(((IDeviceBuildInfo) info).getTestsDir()); in cleanUp()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/ |
D | TestMappingSuiteRunnerTest.java | 79 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/ |
D | BaseTestSuite.java | 137 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/ |
D | TestDirForwarder.java | 56 File testAppDir = FileUtil.getFileForPath(deviceBuild.getTestsDir(), "DATA", "app"); in setUp()
|
/tools/tradefederation/core/src/com/android/tradefed/targetprep/ |
D | TestSystemAppInstallSetup.java | 70 File testsDir = ((IDeviceBuildInfo)buildInfo).getTestsDir(); in setUp()
|
D | PushFilePreparer.java | 119 File testsDir = deviceBuild.getTestsDir(); in resolveRelativeFilePath()
|
D | TestFilePushSetup.java | 105 File testsDir = ((IDeviceBuildInfo)buildInfo).getTestsDir(); in getLocalPathForFilename()
|
/tools/tradefederation/core/prod-tests/src/com/android/tradefed/presubmit/ |
D | GeneralTestsConfigValidation.java | 65 File testsDir = deviceBuildInfo.getTestsDir(); in testConfigsLoad()
|
D | DeviceTestsConfigValidation.java | 65 File testsDir = deviceBuildInfo.getTestsDir(); in testConfigsLoad()
|
/tools/tradefederation/core/src/com/android/tradefed/util/ |
D | SystemUtil.java | 124 File testsDir = deviceBuildInfo.getTestsDir(); in getTestCasesDirs()
|
D | BuildTestsZipUtils.java | 71 File testsDir = ((IDeviceBuildInfo) buildInfo).getTestsDir(); in getApkFile()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/ |
D | TestAppInstallSetupTest.java | 259 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/ |
D | TestzipDeviceBuildInfo.java | 141 public File getTestsDir() { in getTestsDir() method in TestzipDeviceBuildInfo
|