/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/ |
D | InvocationExecutionTest.java | 114 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 …]
|
D | TestInvocationTest.java | 211 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/ |
D | ModuleDefinitionTest.java | 422 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 …]
|
D | ModuleDefinitionMultiTest.java | 136 EasyMock.expect(mMockTargetPrep.isDisabled()).andReturn(false).times(2); in testCreateAndRun() 177 EasyMock.expect(mMockTargetPrep.isDisabled()).andReturn(false).times(2); in testPreparer_mismatch()
|
D | AtestRunnerTest.java | 222 assertTrue(targetPreparer.isDisabled()); in testdisableTargetPreparers() 235 assertTrue(!targetPreparer.isDisabled()); in testdisableTargetPreparersUnset()
|
/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/src/com/android/tradefed/targetprep/ |
D | BaseTargetPreparer.java | 42 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()
|
D | DeviceFlashPreparer.java | 184 if (isDisabled()) { in setUp() 445 if (isDisabled()) { in tearDown()
|
/tools/tradefederation/core/src/com/android/tradefed/invoker/ |
D | InvocationExecution.java | 314 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/ |
D | ConfigurationFactoryTest.java | 1210 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()
|
D | ConfigurationTest.java | 98 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/ |
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/testtype/suite/ |
D | ModuleDefinition.java | 787 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()
|
D | GranularRetriableTestWrapper.java | 194 if (collector.isDisabled()) { in initializeListeners() 280 if (collector.isDisabled()) { in intraModuleRun()
|
/tools/tradefederation/core/src/com/android/tradefed/device/metric/ |
D | BaseDeviceMetricCollector.java | 390 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/ |
D | NoApkTestSkipperTest.java | 69 assertFalse(preparer.isDisabled()); in testNoApkPresent() 76 assertTrue(preparer.isDisabled()); in testNoApkPresent()
|
/tools/tradefederation/core/test_framework/com/android/tradefed/targetprep/ |
D | InstallAllTestZipAppsSetup.java | 92 if (isDisabled()) { in setUp() 246 if (isDisabled()) { in tearDown()
|
D | EraseUserDataPreparer.java | 45 if (isDisabled()) { in setUp()
|
D | PushFileInvoker.java | 54 if (isDisabled()) { in setUp()
|
D | CrashCollector.java | 61 if (isDisabled()) { in shouldDisable()
|
D | NativeLeakCollector.java | 77 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/tests/src/com/android/tradefed/targetprep/ |
D | BaseTargetPreparerTest.java | 54 assertTrue(preparer.isDisabled()); in testDisabledByDefault()
|
D | RunCommandTargetPreparerTest.java | 120 assertTrue(mPreparer.isDisabled()); in testDisabled()
|