Home
last modified time | relevance | path

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

12

/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/
DTestMappingSuiteRunnerTest.java127 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/
DDeviceBuildInfoTest.java104 assertNotEquals(copy.getTestsDir(), mBuildInfo.getTestsDir()); in testCloneWithProperties()
113 assertEquals(mBuildInfo.getTestsDir(), copy.getTestsDir()); in testCloneWithProperties()
DBootstrapBuildProviderTest.java71 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()
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/tests/src/com/android/tradefed/targetprep/
DAllTestAppsInstallSetupTest.java53 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()
DTestAppInstallSetupTest.java403 EasyMock.expect(mMockBuildInfo.getTestsDir()).andStubReturn(mBuildTestDir); in testFindApk_override()
434 EasyMock.expect(mMockBuildInfo.getTestsDir()).andStubReturn(mBuildTestDir); in testFindApk_override_onlyInBuild()
DPushFilePreparerTest.java346 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/
DBaseDeviceMetricCollectorTest.java594 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/
DITestSuite.java400 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/
DDynamicRemoteFileResolverTest.java876 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/
DOtaDeviceBuildInfo.java276 public File getTestsDir() { in getTestsDir() method in OtaDeviceBuildInfo
277 return mBaselineBuild.getTestsDir(); in getTestsDir()
DIDeviceBuildInfo.java82 public File getTestsDir(); in getTestsDir() method
DDependenciesResolver.java87 if (build.getTestsDir() == null) { in getBuild()
DDeviceBuildInfo.java123 public File getTestsDir() { in getTestsDir() method in DeviceBuildInfo
DBootstrapBuildProvider.java172 public final File getTestsDir() { in getTestsDir() method in BootstrapBuildProvider
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/mobly/
DMoblyBinaryHostTestTest.java145 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/
DTestSystemAppInstallSetup.java71 File testsDir = ((IDeviceBuildInfo)buildInfo).getTestsDir(); in setUp()
DTestFilePushSetup.java90 File testsDir = ((IDeviceBuildInfo)buildInfo).getTestsDir(); in getLocalPathForFilename()
DAllTestAppsInstallSetup.java87 File testsDir = ((IDeviceBuildInfo) buildInfo).getTestsDir(); in setUp()
/tools/tradefederation/core/tests/src/com/android/tradefed/presubmit/
DDeviceTestsConfigValidation.java65 File testsDir = deviceBuildInfo.getTestsDir(); in testConfigsLoad()
DGeneralTestsConfigValidation.java100 File testsDir = deviceBuildInfo.getTestsDir(); in testConfigsLoad()
/tools/tradefederation/core/src/com/android/tradefed/util/
DSystemUtil.java138 File testsDir = deviceBuildInfo.getTestsDir(); in getTestCasesDirs()
DBuildTestsZipUtils.java72 testsDir = ((IDeviceBuildInfo) buildInfo).getTestsDir(); in getApkFile()
/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.java76 File testsDir = deviceBuild.getTestsDir(); in findBinary()

12