Home
last modified time | relevance | path

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

12

/tools/tradefederation/core/javatests/com/android/tradefed/build/
DDeviceBuildInfoTest.java104 assertNotEquals(copy.getTestsDir(), mBuildInfo.getTestsDir()); in testCloneWithProperties()
113 assertEquals(mBuildInfo.getTestsDir(), copy.getTestsDir()); in testCloneWithProperties()
DLocalDeviceBuildProviderTest.java172 assertNull(buildInfo.getTestsDir()); in testSetTestsDir()
182 File testDir = buildInfo.getTestsDir(); in testSetTestsDir_givenTestDir()
195 assertEquals(testDir, buildInfo.getTestsDir()); in testSetTestsDir_givenTestDirPattern()
DBootstrapBuildProviderTest.java77 assertTrue(((IDeviceBuildInfo) res).getTestsDir() != null); in testGetBuild()
102 assertTrue(((IDeviceBuildInfo) res).getTestsDir() != null); in testGetBuild_add_extra_file()
126 assertTrue(((IDeviceBuildInfo) res).getTestsDir() != null); in testGetBuild_stubDevice()
/tools/tradefederation/core/javatests/com/android/tradefed/targetprep/
DAllTestAppsInstallSetupTest.java75 when(mMockBuildInfo.getTestsDir()).thenReturn(new File("")); in testNoTestDir()
106 when(mMockBuildInfo.getTestsDir()).thenReturn(testDir); in testSetup()
126 when(mMockBuildInfo.getTestsDir()).thenReturn(testDir); in testSetupForceQueryable()
152 when(mMockBuildInfo.getTestsDir()).thenReturn(testDir); in testSetupDeviceApi34ForceQueryableIsFalse()
DPushFilePreparerTest.java328 when(buildInfo.getTestsDir()).thenReturn(testsDir); in testResolveRelativeFilePath_withDeviceBuildInfo()
336 inOrder.verify(buildInfo).getTestsDir(); in testResolveRelativeFilePath_withDeviceBuildInfo()
362 when(buildInfo.getTestsDir()).thenReturn(testsDir); in testResolveRelativeFilePath_withDeviceBuildInfo_remoteZip()
372 inOrder.verify(buildInfo).getTestsDir(); in testResolveRelativeFilePath_withDeviceBuildInfo_remoteZip()
/tools/tradefederation/core/javatests/com/android/tradefed/testtype/suite/
DTestMappingSuiteRunnerTest.java147 when(mBuildInfo.getTestsDir()).thenReturn(mTempFolder.newFolder()); in setUp()
243 when(mockBuildInfo.getTestsDir()).thenReturn(mTempFolder.newFolder()); in testLoadTestsWhenRemoteTestTimeoutIsSet()
337 when(mockBuildInfo.getTestsDir()).thenReturn(mTempFolder.newFolder()); in testLoadTests_testMappingsZip()
402 when(mockBuildInfo.getTestsDir()).thenReturn(mTempFolder.newFolder()); in testLoadTests_testMappingsZipFoundTestsWithKeywords()
469 when(mockBuildInfo.getTestsDir()).thenReturn(new File("non-existing-dir")); in testLoadTests_testMappingsZipFailWithKeywords()
515 when(mockBuildInfo.getTestsDir()).thenReturn(mTempFolder.newFolder()); in testLoadTests_testMappingsZipHostTests()
558 when(mockBuildInfo.getTestsDir()).thenReturn(mTempFolder.newFolder()); in testLoadTests_shard()
602 when(mockBuildInfo.getTestsDir()).thenReturn(mTempFolder.newFolder()); in testLoadTests_shardNoTest()
632 when(mockBuildInfo.getTestsDir()).thenReturn(mTempFolder.newFolder()); in testLoadTests_noTest()
691 when(mockBuildInfo.getTestsDir()).thenReturn(mTempFolder.newFolder()); in testLoadTestsWithModule()
[all …]
DTfSuiteRunnerTest.java294 when(deviceBuildInfo.getTestsDir()).thenReturn(deviceTestDir); in testLoadTests_additionalTestsZip()
/tools/tradefederation/core/src/com/android/tradefed/build/
DIDeviceBuildInfo.java82 public File getTestsDir(); in getTestsDir() method
DDeviceBuildInfo.java123 public File getTestsDir() { in getTestsDir() method in DeviceBuildInfo
DBootstrapBuildProvider.java197 public final File getTestsDir() { in getTestsDir() method in BootstrapBuildProvider
DDependenciesResolver.java103 if (build.getTestsDir() == null) { in getBuild()
/tools/tradefederation/core/javatests/com/android/tradefed/presubmit/
DHostUnitTestsConfigValidation.java99 File testsDir = deviceBuildInfo.getTestsDir(); in testConfigsLoad()
209 File testsDir = deviceBuildInfo.getTestsDir(); in getErrors()
DDeviceTestsConfigValidation.java79 File testsDir = deviceBuildInfo.getTestsDir(); in testConfigsLoad()
DGeneralTestsConfigValidation.java345 File testsDir = deviceBuildInfo.getTestsDir(); in testConfigsLoad()
/tools/tradefederation/core/javatests/com/android/tradefed/device/metric/
DBaseDeviceMetricCollectorTest.java616 when(buildInfo.getTestsDir()).thenReturn(testsDir); in testResolveRelativeFilePath_withDeviceBuildInfo()
628 buildInfoOrder.verify(buildInfo).getTestsDir(); in testResolveRelativeFilePath_withDeviceBuildInfo()
652 when(buildInfo.getTestsDir()).thenReturn(testsDir); in testUnableResolveRelativeFilePath_withDeviceBuildInfo()
663 buildInfoOrder.verify(buildInfo).getTestsDir(); in testUnableResolveRelativeFilePath_withDeviceBuildInfo()
687 when(buildInfo.getTestsDir()).thenReturn(testsDir); in testResolveRelativeFilePath_fromModule()
699 buildInfoOrder.verify(buildInfo).getTestsDir(); in testResolveRelativeFilePath_fromModule()
/tools/tradefederation/core/test_framework/com/android/tradefed/targetprep/
DTestSystemAppInstallSetup.java71 File testsDir = ((IDeviceBuildInfo)buildInfo).getTestsDir(); in setUp()
DAllTestAppsInstallSetup.java89 File testsDir = ((IDeviceBuildInfo) buildInfo).getTestsDir(); in setUp()
/tools/tradefederation/core/src/com/android/tradefed/util/
DBuildTestsZipUtils.java74 testsDir = ((IDeviceBuildInfo) buildInfo).getTestsDir(); in getApkFile()
DSystemUtil.java145 File testsDir = deviceBuildInfo.getTestsDir(); in getTestCasesDirs()
/tools/tradefederation/core/src/com/android/tradefed/targetprep/
DDefaultTestsZipInstaller.java123 File hostDir = new File(deviceBuild.getTestsDir(), "DATA"); in pushTestsZipOntoData()
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/binary/
DExecutableHostTest.java80 File testsDir = deviceBuild.getTestsDir(); in findBinary()
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/
DTfSuiteRunner.java100 File testsDir = deviceBuildInfo.getTestsDir(); in loadTests()
DITestSuite.java450 public File getTestsDir() throws FileNotFoundException { in getTestsDir() method in ITestSuite
454 testsDir = ((IDeviceBuildInfo) build).getTestsDir(); in getTestsDir()
567 String destination = getTestsDir().getAbsolutePath(); in stageTestArtifacts()
608 getTestsDir(), in stageTestArtifacts()
/tools/tradefederation/core/javatests/com/android/tradefed/config/
DDynamicRemoteFileResolverTest.java847 assertEquals(fake, provider1.getTestsDir()); in testMultiDevices()
848 assertEquals(fake2, provider2.getTestsDir()); in testMultiDevices()
895 assertEquals(fake, provider1.getTestsDir()); in testMultiDevices_replicat()
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/rust/
DRustBinaryHostTest.java93 testsDir = ((IDeviceBuildInfo) mBuildInfo).getTestsDir(); in findFiles()

12