Home
last modified time | relevance | path

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

12

/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/
DInvocationExecutionTest.java114 EasyMock.expect(cleaner.isDisabled()).andReturn(false); in testCleanUp()
133 EasyMock.expect(cleaner.isDisabled()).andReturn(true); in testCleanUp_disabled()
152 EasyMock.expect(cleaner.isDisabled()).andReturn(false); in testCleanUp_tearDownDisabled()
333 inOrder.verify(stub1).isDisabled(); in testDoSetup()
335 inOrder.verify(stub2).isDisabled(); in testDoSetup()
340 inOrder.verify(stub3).isDisabled(); in testDoSetup()
342 inOrder.verify(stub4).isDisabled(); in testDoSetup()
346 inOrder.verify(stub4).isDisabled(); in testDoSetup()
348 inOrder.verify(stub3).isDisabled(); in testDoSetup()
353 inOrder.verify(stub2).isDisabled(); in testDoSetup()
[all …]
DTestInvocationTest.java211 EasyMock.expect(mMockPreparer.isDisabled()).andStubReturn(false); in setUp()
738 EasyMock.expect(mockCleaner.isDisabled()).andReturn(false).times(2); in testInvoke_tearDown()
765 EasyMock.expect(mockCleaner.isDisabled()).andReturn(false).times(2); in testInvoke_tearDown_deviceNotAvail()
801 EasyMock.expect(mockCleaner.isDisabled()).andReturn(false).times(2); in testInvoke_tearDown_runtime()
1769 EasyMock.expect(mockCleaner.isDisabled()).andReturn(false).times(2); in testInvoke_deviceInfoBuild_withEnv()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/
DModuleDefinitionTest.java422 EasyMock.expect(mMockPrep.isDisabled()).andReturn(false).times(2); in testRun()
474 EasyMock.expect(mMockPrep.isDisabled()).andReturn(false).times(2); in testRun_tearDownException()
525 EasyMock.expect(mMockPrep.isDisabled()).andReturn(false).times(2); in testRun_aggregateRunFailures()
615 EasyMock.expect(mMockPrep.isDisabled()).andReturn(true).times(2); in testRun_disabledPreparation()
639 EasyMock.expect(mMockPrep.isDisabled()).andReturn(false).times(2); in testRun_disabledTearDown()
919 EasyMock.expect(mMockPrep.isDisabled()).andReturn(false).times(2); in testRun_fullPass()
969 EasyMock.expect(mMockPrep.isDisabled()).andReturn(false).times(2); in testRun_partialRun()
1032 EasyMock.expect(mMockPrep.isDisabled()).andReturn(false).times(2); in testRun_partialRun_error()
1262 EasyMock.expect(mMockPrep.isDisabled()).andReturn(false).times(2); in testModule_LogSaverResultForwarder()
1370 EasyMock.expect(mMockPrep.isDisabled()).andReturn(false).times(2); in testRun_partialRun_deviceUnresponsive()
[all …]
DModuleDefinitionMultiTest.java136 EasyMock.expect(mMockTargetPrep.isDisabled()).andReturn(false).times(2); in testCreateAndRun()
177 EasyMock.expect(mMockTargetPrep.isDisabled()).andReturn(false).times(2); in testPreparer_mismatch()
DAtestRunnerTest.java222 assertTrue(targetPreparer.isDisabled()); in testdisableTargetPreparers()
235 assertTrue(!targetPreparer.isDisabled()); in testdisableTargetPreparersUnset()
/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/src/com/android/tradefed/targetprep/
DBaseTargetPreparer.java42 public final boolean isDisabled() { in isDisabled() method in BaseTargetPreparer
54 public final void setDisable(boolean isDisabled) { in setDisable() argument
55 mDisable = isDisabled; in setDisable()
62 public final void setDisableTearDown(boolean isDisabled) { in setDisableTearDown() argument
63 mDisableTearDown = isDisabled; in setDisableTearDown()
DDeviceFlashPreparer.java184 if (isDisabled()) { in setUp()
445 if (isDisabled()) { in tearDown()
/tools/tradefederation/core/src/com/android/tradefed/invoker/
DInvocationExecution.java314 if (preparer.isDisabled()) { in runPreparationOnDevice()
385 if (multiPreparer.isDisabled()) { in runMultiTargetPreparers()
414 if (multipreparer.isDisabled() || multipreparer.isTearDownDisabled()) { in runMultiTargetPreparersTearDown()
473 if (preparer.isDisabled() || preparer.isTearDownDisabled()) { in doTeardown()
546 if (preparer.isDisabled() || preparer.isTearDownDisabled()) { in doCleanUp()
745 if (collector.isDisabled()) { in runTest()
/tools/tradefederation/core/tests/src/com/android/tradefed/config/
DConfigurationFactoryTest.java1210 assertTrue(prep1.isDisabled()); in testCreateConfigurationFromArgs_frequency()
1216 assertFalse(prep3.isDisabled()); in testCreateConfigurationFromArgs_frequency()
1226 assertTrue(prep2.isDisabled()); in testCreateConfigurationFromArgs_frequency()
1243 assertTrue(prep1.isDisabled()); in testCreateConfigurationFromArgs_frequency_withOptionOpen()
1249 assertFalse(prep3.isDisabled()); in testCreateConfigurationFromArgs_frequency_withOptionOpen()
1259 assertTrue(prep2.isDisabled()); in testCreateConfigurationFromArgs_frequency_withOptionOpen()
DConfigurationTest.java98 public void setDisable(boolean isDisabled) { in setDisable() argument
99 mIsDisabled = isDisabled; in setDisable()
103 public boolean isDisabled() { in isDisabled() method in ConfigurationTest.TestConfigObject
/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/testtype/suite/
DModuleDefinition.java787 if (preparer.isDisabled()) { in runPreparerSetup()
824 if (preparer.isDisabled()) { in runMultiPreparerSetup()
862 if (multiCleaner.isDisabled() || multiCleaner.isTearDownDisabled()) { in runTearDown()
893 if (preparer.isDisabled() || preparer.isTearDownDisabled()) { in runTearDown()
DGranularRetriableTestWrapper.java194 if (collector.isDisabled()) { in initializeListeners()
280 if (collector.isDisabled()) { in intraModuleRun()
/tools/tradefederation/core/src/com/android/tradefed/device/metric/
DBaseDeviceMetricCollector.java390 public final boolean isDisabled() { in isDisabled() method in BaseDeviceMetricCollector
396 public final void setDisable(boolean isDisabled) { in setDisable() argument
397 mDisable = isDisabled; in setDisable()
/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/app/
DNoApkTestSkipperTest.java69 assertFalse(preparer.isDisabled()); in testNoApkPresent()
76 assertTrue(preparer.isDisabled()); in testNoApkPresent()
/tools/tradefederation/core/test_framework/com/android/tradefed/targetprep/
DInstallAllTestZipAppsSetup.java92 if (isDisabled()) { in setUp()
246 if (isDisabled()) { in tearDown()
DEraseUserDataPreparer.java45 if (isDisabled()) { in setUp()
DPushFileInvoker.java54 if (isDisabled()) { in setUp()
DCrashCollector.java61 if (isDisabled()) { in shouldDisable()
DNativeLeakCollector.java77 if (isDisabled() || (e instanceof DeviceNotAvailableException)) { in tearDown()
DPythonVirtualenvPreparer.java63 if (isDisabled()) { in setUp()
DInstrumentationPreparer.java99 if (isDisabled()) { in setUp()
/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/
DBaseTargetPreparerTest.java54 assertTrue(preparer.isDisabled()); in testDisabledByDefault()
DRunCommandTargetPreparerTest.java120 assertTrue(mPreparer.isDisabled()); in testDisabled()

12