Home
last modified time | relevance | path

Searched refs:mPreparer (Results 1 – 7 of 7) sorted by relevance

/test/vts/harnesses/tradefed/tests/src/com/android/tradefed/targetprep/
DVtsDevicePreparerTest.java43 VtsDevicePreparer mPreparer; field in VtsDevicePreparerTest
50 mPreparer = new VtsDevicePreparer(); in setUp()
51 mPreparer.mDevice = mockDevice; in setUp()
62 mPreparer.adbUnroot(); in test_adbUnroot_notAlreadyRoot()
74 mPreparer.adbUnroot(); in test_adbUnroot_alreadyRoot()
86 mPreparer.adbRoot(); in test_adbRoot_notAlreadyRoot()
98 mPreparer.adbRoot(); in test_adbRoot_alreadyRoot()
114 mPreparer.startFramework(); in test_startFramework()
128 mPreparer.stopFramework(); in test_stopFramework()
142 mPreparer.startNativeServers(); in test_startNativeServers()
[all …]
DVtsPythonVirtualenvPreparerTest.java46 private MockPythonVirtualenvPreparer mPreparer; field in VtsPythonVirtualenvPreparerTest
150 mPreparer = new MockPythonVirtualenvPreparer(); in setUp()
152 mPreparer.mVenvDir = new File(""); in setUp()
153 mPreparer.mDepModules.add("enum"); in setUp()
163 mPreparer.setRequirementsFile(requirementFile); in testInstallDeps_reqFile_success()
168 expect(mMockRunUtil.runTimedCmd(anyLong(), EasyMock.eq(mPreparer.getPipPath()), in testInstallDeps_reqFile_success()
175 mPreparer.installDeps(); in testInstallDeps_reqFile_success()
187 mPreparer.addDepModule("blahblah"); in testInstallDeps_depModule_success()
193 expect(mMockRunUtil.runTimedCmd(anyLong(), EasyMock.eq(mPreparer.getPipPath()), in testInstallDeps_depModule_success()
198 mPreparer.installDeps(); in testInstallDeps_depModule_success()
[all …]
DVtsCoveragePreparerTest.java89 @InjectMocks private TestCoveragePreparer mPreparer = new TestCoveragePreparer(); field in VtsCoveragePreparerTest
124 mPreparer.setUp(mDevice, mBuildInfo); in testOnSetUpCoverageDisabled()
134 mPreparer.setUp(mDevice, mBuildInfo); in testOnSetUpSancovEnabled()
146 mPreparer.setUp(mDevice, mBuildInfo); in testOnSetUpGcovEnabled()
154 OptionSetter setter = new OptionSetter(mPreparer); in testOnSetUpLocalArtifectsNormal()
161 mPreparer.setUp(mDevice, mBuildInfo); in testOnSetUpLocalArtifectsNormal()
169 OptionSetter setter = new OptionSetter(mPreparer); in testOnSetUpLocalArtifectsNotExists()
175 mPreparer.setUp(mDevice, mBuildInfo); in testOnSetUpLocalArtifectsNotExists()
189 OptionSetter setter = new OptionSetter(mPreparer); in testOnSetUpOutputCoverageReport()
196 mPreparer.setUp(mDevice, mBuildInfo); in testOnSetUpOutputCoverageReport()
[all …]
DVtsHalAdapterPreparerTest.java107 @InjectMocks private TestPreparer mPreparer = new TestPreparer(); field in VtsHalAdapterPreparerTest
121 mPreparer.setCmdUtil(mCmdUtil); in setUp()
122 OptionSetter setter = new OptionSetter(mPreparer); in setUp()
140 mPreparer.setUp(mDevice, mBuildInfo); in testOnSetUpAdapterSingleInstance()
158 mPreparer.setUp(mDevice, mBuildInfo); in testOnSetUpAdapterMultipleInstance()
178 mPreparer.setUp(mDevice, mBuildInfo); in testOnSetupAdapterNotFound()
191 mPreparer.setUp(mDevice, mBuildInfo); in testOnSetupServiceNotAvailable()
202 mPreparer.setUp(mDevice, mBuildInfo); in testOnSetUpAdapterFailed()
213 mPreparer.setCmdUtil(mCmdUtil); in testOnTearDownRestoreFailed()
214 mPreparer.addCommand("one"); in testOnTearDownRestoreFailed()
[all …]
DVtsTraceCollectPreparerTest.java61 private VtsTraceCollectPreparer mPreparer; field in VtsTraceCollectPreparerTest
82 mPreparer = new VtsTraceCollectPreparer() { in setUp()
154 mPreparer.setUp(mMockDevice, mMockBuildInfo); in testOnSetUp()
164 mPreparer.setUp(mMockDevice, mMockBuildInfo); in testOnSetUpPushFileException()
183 mPreparer.setUp(mMockDevice, mMockBuildInfo); in testOnTearDown()
184 mPreparer.tearDown(mMockDevice, mMockBuildInfo, null); in testOnTearDown()
/test/suite_harness/common/host-side/tradefed/tests/src/com/android/compatibility/common/tradefed/targetprep/
DDynamicConfigPusherTest.java56 private DynamicConfigPusher mPreparer; field in DynamicConfigPusherTest
66 mPreparer = new DynamicConfigPusher(); in setUp()
78 mPreparer = new DynamicConfigPusher(); in testGetSuiteName_fromTestSuiteInfo()
79 mPreparer.setInvocationContext(mModuleContext); in testGetSuiteName_fromTestSuiteInfo()
81 assertNotNull(mPreparer.getSuiteName()); in testGetSuiteName_fromTestSuiteInfo()
90 mPreparer = new DynamicConfigPusher(); in testGetSuiteName_fromTestSuiteTag()
94 mPreparer.setInvocationContext(mModuleContext); in testGetSuiteName_fromTestSuiteTag()
96 assertNotNull(mPreparer.getSuiteName()); in testGetSuiteName_fromTestSuiteTag()
105 OptionSetter setter = new OptionSetter(mPreparer); in testLocalRead_fromDynamicConfigName()
119 File res = mPreparer.getLocalConfigFile(mMockBuildHelper, mMockDevice); in testLocalRead_fromDynamicConfigName()
[all …]
DBusinessLogicPreparerTest.java57 private BusinessLogicPreparer mPreparer; field in BusinessLogicPreparerTest
135 mPreparer = new BusinessLogicPreparer() { in setUp()
142 OptionSetter setter = new OptionSetter(mPreparer); in setUp()
214 String[] params = mPreparer.buildRequestParams(mMockDevice, mMockBuildInfo).split("&"); in testBuildRequestString()