Home
last modified time | relevance | path

Searched refs:isDisabled (Results 1 – 25 of 30) sorted by relevance

12

/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/
DInvocationExecutionTest.java105 EasyMock.expect(cleaner.isDisabled()).andReturn(false); in testCleanUp()
124 EasyMock.expect(cleaner.isDisabled()).andReturn(true); in testCleanUp_disabled()
143 EasyMock.expect(cleaner.isDisabled()).andReturn(false); in testCleanUp_tearDownDisabled()
260 inOrder.verify(stub1).isDisabled(); in testDoSetup()
262 inOrder.verify(stub2).isDisabled(); in testDoSetup()
267 inOrder.verify(stub3).isDisabled(); in testDoSetup()
269 inOrder.verify(stub4).isDisabled(); in testDoSetup()
273 inOrder.verify(stub4).isDisabled(); in testDoSetup()
275 inOrder.verify(stub3).isDisabled(); in testDoSetup()
280 inOrder.verify(stub2).isDisabled(); in testDoSetup()
[all …]
DTestInvocationTest.java185 EasyMock.expect(mMockPreparer.isDisabled()).andStubReturn(false); in setUp()
755 EasyMock.expect(mockCleaner.isDisabled()).andReturn(false).times(2); in testInvoke_tearDown()
780 EasyMock.expect(mockCleaner.isDisabled()).andReturn(false).times(2); in testInvoke_tearDown_deviceNotAvail()
815 EasyMock.expect(mockCleaner.isDisabled()).andReturn(false).times(2); in testInvoke_tearDown_runtime()
1546 EasyMock.expect(mMockPreparer.isDisabled()).andReturn(true); in testSkipPreDeviceSetup()
1613 EasyMock.expect(mockCleaner.isDisabled()).andReturn(false).times(2); in testInvoke_deviceInfoBuild_noEnv()
1688 EasyMock.expect(mockCleaner.isDisabled()).andReturn(false).times(2); in testInvoke_deviceInfoBuild_withEnv()
1780 EasyMock.expect(mockCleaner.isDisabled()).andReturn(false).times(2); in testInvoke_deviceInfoBuild_withEnv_andSkipProperty()
/tools/tradefederation/core/src/com/android/tradefed/targetprep/
DBaseTargetPreparer.java37 public final boolean isDisabled() { in isDisabled() method in BaseTargetPreparer
49 public final void setDisable(boolean isDisabled) { in setDisable() argument
50 mDisable = isDisabled; in setDisable()
55 public final void setDisableTearDown(boolean isDisabled) { in setDisableTearDown() argument
56 mDisableTearDown = isDisabled; in setDisableTearDown()
DRunCommandTargetPreparer.java75 if (isDisabled()) return; in setUp()
122 if (isDisabled()) return; in tearDown()
DInstallAllTestZipAppsSetup.java88 if (isDisabled()) { in setUp()
238 if (isDisabled()) { in tearDown()
DDeviceFlashPreparer.java171 if (isDisabled()) { in setUp()
420 if (isDisabled()) { in tearDown()
DEraseUserDataPreparer.java47 if (isDisabled()) { in setUp()
DPushFileInvoker.java51 if (isDisabled()) { in setUp()
DDeviceWiper.java39 if (isDisabled()) { in setUp()
DCrashCollector.java61 if (isDisabled()) { in shouldDisable()
DNativeLeakCollector.java83 if (isDisabled() || (e instanceof DeviceNotAvailableException)) { in tearDown()
DPythonVirtualenvPreparer.java63 if (isDisabled()) { in setUp()
DInstrumentationPreparer.java99 if (isDisabled()) { in setUp()
/tools/tradefederation/core/src/com/android/tradefed/targetprep/multi/
DBaseMultiTargetPreparer.java34 public final boolean isDisabled() { in isDisabled() method in BaseMultiTargetPreparer
46 public final void setDisable(boolean isDisabled) { in setDisable() argument
47 mDisable = isDisabled; in setDisable()
52 public final void setDisableTearDown(boolean isDisabled) { in setDisableTearDown() argument
53 mDisableTearDown = isDisabled; in setDisableTearDown()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/
DModuleDefinitionTest.java336 EasyMock.expect(mMockPrep.isDisabled()).andReturn(false); in testRun()
338 EasyMock.expect(mMockCleaner.isDisabled()).andStubReturn(false); in testRun()
363 EasyMock.expect(mMockPrep.isDisabled()).andReturn(false); in testRun_tearDownException()
365 EasyMock.expect(mMockCleaner.isDisabled()).andStubReturn(false); in testRun_tearDownException()
406 EasyMock.expect(mMockPrep.isDisabled()).andReturn(false); in testRun_aggregateRunFailures()
409 EasyMock.expect(mMockCleaner.isDisabled()).andStubReturn(false); in testRun_aggregateRunFailures()
490 EasyMock.expect(mMockPrep.isDisabled()).andReturn(true); in testRun_disabledPreparation()
491 EasyMock.expect(mMockCleaner.isDisabled()).andStubReturn(true); in testRun_disabledPreparation()
513 EasyMock.expect(mMockPrep.isDisabled()).andReturn(false); in testRun_disabledTearDown()
515 EasyMock.expect(mMockCleaner.isDisabled()).andStubReturn(false); in testRun_disabledTearDown()
[all …]
DModuleDefinitionMultiTest.java131 EasyMock.expect(mMockTargetPrep.isDisabled()).andReturn(false); in testCreateAndRun()
167 EasyMock.expect(mMockTargetPrep.isDisabled()).andReturn(false); in testPreparer_mismatch()
DAtestRunnerTest.java165 assertTrue(targetPreparer.isDisabled()); in testdisableTargetPreparers()
178 assertTrue(!targetPreparer.isDisabled()); in testdisableTargetPreparersUnset()
DITestSuiteMultiTest.java163 EasyMock.expect(mMockTargetPrep.isDisabled()).andReturn(false); in testMultiDeviceITestSuite()
/tools/tradefederation/core/src/com/android/tradefed/util/
DIDisableable.java25 public default boolean isDisabled() { in isDisabled() method
41 public default void setDisable(boolean isDisabled) { in setDisable() argument
50 public default void setDisableTearDown(boolean isDisabled) { in setDisableTearDown() argument
/tools/tradefederation/core/src/com/android/tradefed/invoker/
DInvocationExecution.java199 if (preparer.isDisabled()) { in doSetup()
280 if (multiPreparer.isDisabled()) { in runMultiTargetPreparers()
307 if (multipreparer.isDisabled() || multipreparer.isTearDownDisabled()) { in runMultiTargetPreparersTearDown()
362 if (cleaner.isDisabled() || cleaner.isTearDownDisabled()) { in doTeardown()
423 if (preparer.isDisabled() || preparer.isTearDownDisabled()) { in doCleanUp()
486 if (collector.isDisabled()) { in runTests()
/tools/tradefederation/core/src/com/android/tradefed/device/metric/
DBaseDeviceMetricCollector.java269 public final boolean isDisabled() { in isDisabled() method in BaseDeviceMetricCollector
275 public final void setDisable(boolean isDisabled) { in setDisable() argument
276 mDisable = isDisabled; in setDisable()
/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/app/
DNoApkTestSkipperTest.java68 assertFalse(preparer.isDisabled()); in testNoApkPresent()
75 assertTrue(preparer.isDisabled()); in testNoApkPresent()
/tools/tradefederation/core/tests/src/com/android/tradefed/config/
DConfigurationFactoryTest.java1162 assertTrue(prep1.isDisabled()); in testCreateConfigurationFromArgs_frequency()
1168 assertFalse(prep3.isDisabled()); in testCreateConfigurationFromArgs_frequency()
1178 assertTrue(prep2.isDisabled()); in testCreateConfigurationFromArgs_frequency()
1195 assertTrue(prep1.isDisabled()); in testCreateConfigurationFromArgs_frequency_withOptionOpen()
1201 assertFalse(prep3.isDisabled()); in testCreateConfigurationFromArgs_frequency_withOptionOpen()
1211 assertTrue(prep2.isDisabled()); in testCreateConfigurationFromArgs_frequency_withOptionOpen()
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/
DModuleDefinition.java734 if (preparer.isDisabled()) { in runPreparerSetup()
766 if (preparer.isDisabled()) { in runMultiPreparerSetup()
802 if (multiCleaner.isDisabled() || multiCleaner.isTearDownDisabled()) { in runTearDown()
835 if (cleaner.isDisabled() || cleaner.isTearDownDisabled()) { in runTearDown()
DGranularRetriableTestWrapper.java208 if (collector.isDisabled()) { in initializeListeners()
407 if (collector.isDisabled()) { in intraModuleRun()

12