/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/ |
D | TestMappingSuiteRunnerTest.java | 127 EasyMock.expect(mBuildInfo.getTestsDir()).andReturn(new File(NON_EXISTING_DIR)).anyTimes(); in setUp() 263 EasyMock.expect(mockBuildInfo.getTestsDir()) in testLoadTests_testMappingsZip() 333 EasyMock.expect(mockBuildInfo.getTestsDir()) in testLoadTests_testMappingsZipFoundTestsWithKeywords() 405 EasyMock.expect(mockBuildInfo.getTestsDir()).andReturn(new File("non-existing-dir")); in testLoadTests_testMappingsZipFailWithKeywords() 453 EasyMock.expect(mockBuildInfo.getTestsDir()).andReturn(new File("non-existing-dir")); in testLoadTests_testMappingsZipHostTests() 500 EasyMock.expect(mockBuildInfo.getTestsDir()) in testLoadTests_shard() 547 EasyMock.expect(mockBuildInfo.getTestsDir()) in testLoadTests_shardNoTest() 585 EasyMock.expect(mockBuildInfo.getTestsDir()).andReturn(new File("non-existing-dir")); in testLoadTests_noTest() 652 EasyMock.expect(mockBuildInfo.getTestsDir()) in testLoadTestsWithModule() 705 EasyMock.expect(mockBuildInfo.getTestsDir()) in testLoadTestsWithMultiModules() [all …]
|
/tools/tradefederation/core/tests/src/com/android/tradefed/build/ |
D | DeviceBuildInfoTest.java | 104 assertNotEquals(copy.getTestsDir(), mBuildInfo.getTestsDir()); in testCloneWithProperties() 113 assertEquals(mBuildInfo.getTestsDir(), copy.getTestsDir()); in testCloneWithProperties()
|
D | BootstrapBuildProviderTest.java | 71 assertTrue(((IDeviceBuildInfo) res).getTestsDir() != null); in testGetBuild() 97 assertTrue(((IDeviceBuildInfo) res).getTestsDir() != null); in testGetBuild_add_extra_file() 122 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/tests/src/com/android/tradefed/targetprep/ |
D | AllTestAppsInstallSetupTest.java | 53 EasyMock.expect(mMockBuildInfo.getTestsDir()).andStubReturn(new File("")); in testNoTestDir() 85 EasyMock.expect(mMockBuildInfo.getTestsDir()).andReturn(testDir); in testSetup() 101 EasyMock.expect(mMockBuildInfo.getTestsDir()).andReturn(testDir); in testSetupForceQueryable()
|
D | TestAppInstallSetupTest.java | 403 EasyMock.expect(mMockBuildInfo.getTestsDir()).andStubReturn(mBuildTestDir); in testFindApk_override() 434 EasyMock.expect(mMockBuildInfo.getTestsDir()).andStubReturn(mBuildTestDir); in testFindApk_override_onlyInBuild()
|
D | PushFilePreparerTest.java | 346 EasyMock.expect(buildInfo.getTestsDir()).andReturn(testsDir); in testResolveRelativeFilePath_withDeviceBuildInfo() 378 EasyMock.expect(buildInfo.getTestsDir()).andReturn(testsDir); in testResolveRelativeFilePath_withDeviceBuildInfo_remoteZip()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/device/metric/ |
D | BaseDeviceMetricCollectorTest.java | 594 EasyMock.expect(buildInfo.getTestsDir()).andReturn(testsDir); in testResolveRelativeFilePath_withDeviceBuildInfo() 628 EasyMock.expect(buildInfo.getTestsDir()).andReturn(testsDir); in testUnableResolveRelativeFilePath_withDeviceBuildInfo() 661 EasyMock.expect(buildInfo.getTestsDir()).andReturn(testsDir); in testResolveRelativeFilePath_fromModule()
|
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/ |
D | ITestSuite.java | 400 public File getTestsDir() throws FileNotFoundException { in getTestsDir() method in ITestSuite 403 return ((IDeviceBuildInfo) build).getTestsDir(); in getTestsDir() 476 getTestsDir(), remoteFile.toString(), includeFilters, excludeFilters); in stageTestArtifacts()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/config/ |
D | DynamicRemoteFileResolverTest.java | 876 assertEquals(fake, provider1.getTestsDir()); in testMultiDevices() 877 assertEquals(fake2, provider2.getTestsDir()); in testMultiDevices() 925 assertEquals(fake, provider1.getTestsDir()); in testMultiDevices_replicat()
|
/tools/tradefederation/core/src/com/android/tradefed/build/ |
D | OtaDeviceBuildInfo.java | 276 public File getTestsDir() { in getTestsDir() method in OtaDeviceBuildInfo 277 return mBaselineBuild.getTestsDir(); in getTestsDir()
|
D | IDeviceBuildInfo.java | 82 public File getTestsDir(); in getTestsDir() method
|
D | DependenciesResolver.java | 87 if (build.getTestsDir() == null) { in getBuild()
|
D | DeviceBuildInfo.java | 123 public File getTestsDir() { in getTestsDir() method in DeviceBuildInfo
|
D | BootstrapBuildProvider.java | 172 public final File getTestsDir() { in getTestsDir() method in BootstrapBuildProvider
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/mobly/ |
D | MoblyBinaryHostTestTest.java | 145 Mockito.doReturn(mMoblyTestDir).when(mMockBuildInfo).getTestsDir(); in testRun_withParFileNameOption() 171 Mockito.doReturn(mMoblyTestDir).when(mMockBuildInfo).getTestsDir(); in testRun_withParFileNameOption_binaryNotFound()
|
/tools/tradefederation/core/test_framework/com/android/tradefed/targetprep/ |
D | TestSystemAppInstallSetup.java | 71 File testsDir = ((IDeviceBuildInfo)buildInfo).getTestsDir(); in setUp()
|
D | TestFilePushSetup.java | 90 File testsDir = ((IDeviceBuildInfo)buildInfo).getTestsDir(); in getLocalPathForFilename()
|
D | AllTestAppsInstallSetup.java | 87 File testsDir = ((IDeviceBuildInfo) buildInfo).getTestsDir(); in setUp()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/presubmit/ |
D | DeviceTestsConfigValidation.java | 65 File testsDir = deviceBuildInfo.getTestsDir(); in testConfigsLoad()
|
D | GeneralTestsConfigValidation.java | 100 File testsDir = deviceBuildInfo.getTestsDir(); in testConfigsLoad()
|
/tools/tradefederation/core/src/com/android/tradefed/util/ |
D | SystemUtil.java | 138 File testsDir = deviceBuildInfo.getTestsDir(); in getTestCasesDirs()
|
D | BuildTestsZipUtils.java | 72 testsDir = ((IDeviceBuildInfo) buildInfo).getTestsDir(); in getApkFile()
|
/tools/tradefederation/core/src/com/android/tradefed/targetprep/ |
D | DefaultTestsZipInstaller.java | 123 File hostDir = new File(deviceBuild.getTestsDir(), "DATA"); in pushTestsZipOntoData()
|
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/binary/ |
D | ExecutableHostTest.java | 76 File testsDir = deviceBuild.getTestsDir(); in findBinary()
|