/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/ |
D | InvocationExecutionTest.java | 105 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 …]
|
D | TestInvocationTest.java | 185 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/ |
D | BaseTargetPreparer.java | 37 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()
|
D | RunCommandTargetPreparer.java | 75 if (isDisabled()) return; in setUp() 122 if (isDisabled()) return; in tearDown()
|
D | InstallAllTestZipAppsSetup.java | 88 if (isDisabled()) { in setUp() 238 if (isDisabled()) { in tearDown()
|
D | DeviceFlashPreparer.java | 171 if (isDisabled()) { in setUp() 420 if (isDisabled()) { in tearDown()
|
D | EraseUserDataPreparer.java | 47 if (isDisabled()) { in setUp()
|
D | PushFileInvoker.java | 51 if (isDisabled()) { in setUp()
|
D | DeviceWiper.java | 39 if (isDisabled()) { in setUp()
|
D | CrashCollector.java | 61 if (isDisabled()) { in shouldDisable()
|
D | NativeLeakCollector.java | 83 if (isDisabled() || (e instanceof DeviceNotAvailableException)) { in tearDown()
|
D | PythonVirtualenvPreparer.java | 63 if (isDisabled()) { in setUp()
|
D | InstrumentationPreparer.java | 99 if (isDisabled()) { in setUp()
|
/tools/tradefederation/core/src/com/android/tradefed/targetprep/multi/ |
D | BaseMultiTargetPreparer.java | 34 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/ |
D | ModuleDefinitionTest.java | 336 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 …]
|
D | ModuleDefinitionMultiTest.java | 131 EasyMock.expect(mMockTargetPrep.isDisabled()).andReturn(false); in testCreateAndRun() 167 EasyMock.expect(mMockTargetPrep.isDisabled()).andReturn(false); in testPreparer_mismatch()
|
D | AtestRunnerTest.java | 165 assertTrue(targetPreparer.isDisabled()); in testdisableTargetPreparers() 178 assertTrue(!targetPreparer.isDisabled()); in testdisableTargetPreparersUnset()
|
D | ITestSuiteMultiTest.java | 163 EasyMock.expect(mMockTargetPrep.isDisabled()).andReturn(false); in testMultiDeviceITestSuite()
|
/tools/tradefederation/core/src/com/android/tradefed/util/ |
D | IDisableable.java | 25 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/ |
D | InvocationExecution.java | 199 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/ |
D | BaseDeviceMetricCollector.java | 269 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/ |
D | NoApkTestSkipperTest.java | 68 assertFalse(preparer.isDisabled()); in testNoApkPresent() 75 assertTrue(preparer.isDisabled()); in testNoApkPresent()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/config/ |
D | ConfigurationFactoryTest.java | 1162 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/ |
D | ModuleDefinition.java | 734 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()
|
D | GranularRetriableTestWrapper.java | 208 if (collector.isDisabled()) { in initializeListeners() 407 if (collector.isDisabled()) { in intraModuleRun()
|