Home
last modified time | relevance | path

Searched refs:tearDown (Results 1 – 25 of 260) sorted by relevance

1234567891011

/tools/tradefederation/core/javatests/com/android/tradefed/invoker/
DInvocationExecutionTest.java413 inOrder.verify(stub4).tearDown(testInfo, null); in testDoSetup()
415 inOrder.verify(stub3).tearDown(testInfo, null); in testDoSetup()
417 inOrder.verify(cleaner).tearDown(Mockito.any(), Mockito.any()); in testDoSetup()
420 inOrder.verify(stub2).tearDown(testInfo, null); in testDoSetup()
422 inOrder.verify(stub1).tearDown(testInfo, null); in testDoSetup()
464 inOrder.verify(stub4).tearDown(testInfo, exception); in testDoTearDown()
466 inOrder.verify(stub3).tearDown(testInfo, exception); in testDoTearDown()
468 inOrder.verify(cleaner).tearDown(Mockito.any(), Mockito.any()); in testDoTearDown()
471 inOrder.verify(stub2).tearDown(testInfo, exception); in testDoTearDown()
473 inOrder.verify(stub1).tearDown(testInfo, exception); in testDoTearDown()
[all …]
DTestInvocationTest.java889 verify(mMockPreparer).tearDown(Mockito.any(), Mockito.isNull()); in testInvoke_RemoteTest()
915 verify(mMockPreparer).tearDown(Mockito.any(), Mockito.isNull()); in testInvokeMulti_RemoteTest()
941 verify(mMockPreparer).tearDown(Mockito.any(), Mockito.isNull()); in testInvoke_twoSummary()
1167 verify(mMockPreparer).tearDown(Mockito.any(), Mockito.isNull()); in testInvoke_deviceTest()
1198 verify(mMockPreparer).tearDown(Mockito.any(), Mockito.eq(exception)); in testInvoke_testFail()
1222 verify(mMockPreparer).tearDown(Mockito.any(), Mockito.any()); in testInvoke_metricsCollectedWhenStopped()
1372 verify(mockCleaner).tearDown(Mockito.any(), Mockito.isNull()); in testInvoke_tearDown()
1373 verify(mMockPreparer).tearDown(Mockito.any(), Mockito.isNull()); in testInvoke_tearDown()
1411 verify(mockCleaner).tearDown(Mockito.any(), Mockito.eq(exception)); in testInvoke_tearDown_deviceNotAvail()
1412 verify(mMockPreparer).tearDown(Mockito.any(), Mockito.eq(exception)); in testInvoke_tearDown_deviceNotAvail()
[all …]
/tools/tradefederation/core/javatests/com/android/tradefed/targetprep/
DFeatureFlagTargetPreparerTest.java86 mPreparer.tearDown(mTestInfo, null); in testSetUpAndTearDown_oneFlagFile_newAndUpdatedFlags()
107 mPreparer.tearDown(mTestInfo, null); in testSetUpAndTearDown_oneFlagFile_nullValueFlagInDeviceConfig()
127 mPreparer.tearDown(mTestInfo, null); in testSetUpAndTearDown_oneFlagFile_nullValueFlagInFile()
153 mPreparer.tearDown(mTestInfo, null); in testSetUpAndTearDown_twoFlagFiles_allDifferentFlags()
174 mPreparer.tearDown(mTestInfo, null); in testSetUpAndTearDown_twoFlagFiles_sameFlagInDeviceConfigAndFiles()
193 mPreparer.tearDown(mTestInfo, null); in testSetUpAndTearDown_twoFlagFiles_sameFlagInDeviceConfigAndSecondFile()
213 mPreparer.tearDown(mTestInfo, null); in testSetUpAndTearDown_twoFlagFiles_updatedFlagInFirstFile()
230 mPreparer.tearDown(mTestInfo, null); in testSetUpAndTearDown_twoFlagFiles_updatedFlagInSecondFile()
252 mPreparer.tearDown(mTestInfo, null); in testSetUpAndTearDown_additionalFlagValues()
299 mPreparer.tearDown(mTestInfo, null); in testSetUp_ignoreInvalid()
[all …]
DRootTargetPreparerTest.java66 mRootTargetPreparer.tearDown(mTestInfo, null); in testSetUpSuccess_rootBefore()
77 mRootTargetPreparer.tearDown(mTestInfo, null); in testSetUpSuccess_notRootBefore()
102 mRootTargetPreparer.tearDown(mTestInfo, null); in testSetUpSuccess_rootBefore_forceUnroot()
116 mRootTargetPreparer.tearDown(mTestInfo, null); in testSetUpSuccess_notRootBefore_forceUnroot()
143 mRootTargetPreparer.tearDown(mTestInfo, null); in testSetUpFail_forceRoot_ignoresFailure()
158 mRootTargetPreparer.tearDown(mTestInfo, null); in testSetUpFail_forceUnroot_ignoresFailure()
DInstallAllTestZipAppsSetupTest.java90 public void tearDown() throws Exception { in tearDown() method in InstallAllTestZipAppsSetupTest
148 mPrep.tearDown(mMockTestDevice, mMockBuildInfo, null); in testSuccess()
165 mPrep.tearDown(mMockTestDevice, mMockBuildInfo, null); in testForceQueryableSuccess()
183 mPrep.tearDown(mMockTestDevice, mMockBuildInfo, null); in testDeviceApi34ForceQueryableIsFalse()
199 mPrep.tearDown(mMockTestDevice, mMockBuildInfo, null); in testSuccessNoTearDown()
238 mPrep.tearDown(mMockTestDevice, mMockBuildInfo, null); in testDisable()
DCreateUserPreparerTest.java78 mPreparer.tearDown(mTestInfo, /* e= */ null); in testSetUp_tearDown()
110 mPreparer.tearDown(mTestInfo, /* e= */ null); in testSetUp_tearDown_reuseTestUser()
138 mPreparer.tearDown(mTestInfo, /* e= */ null); in testSetUp_tearDown_reuseTestUser_noExistingTestUser()
150 mPreparer.tearDown(mTestInfo, null); in testSetUp_tearDown_noCurrent()
197 mPreparer.tearDown(mTestInfo, /* e= */ null); in testTearDown_only()
DVisibleBackgroundUserPreparerTest.java93 mPreparer.tearDown(mTestInfo, /* e= */ null); in testSetUp_tearDown_noDisplayAvailable()
111 mPreparer.tearDown(mTestInfo, /* e= */ null); in testSetUp_tearDown()
224 mPreparer.tearDown(mTestInfo, /* e= */ null); in testSetUp_tearDown_reuseTestUser_invisible()
260 mPreparer.tearDown(mTestInfo, /* e= */ null); in testSetUp_tearDown_reuseTestUser_alreadyVisible()
290 mPreparer.tearDown(mTestInfo, /* e= */ null); in testSetUp_tearDown_reuseTestUser_noExistingTestUser()
354 mPreparer.tearDown(mTestInfo, /* e= */ null); in testTearDown_only()
DRunCommandTargetPreparerTest.java147 mPreparer.tearDown(mTestInfo, null); in testTearDown()
170 mPreparer.tearDown(mTestInfo, null); in testTeardown_withTimeout()
187 mPreparer.tearDown(mTestInfo, null); in testTeardown_withTestUserToken()
204 mPreparer.tearDown(mTestInfo, null); in testTeardown_withTestUserToken_propertyNotSet()
248 mPreparer.tearDown(mTestInfo, null); in testBgCmd()
302 mPreparer.tearDown(mTestInfo, null); in testBgCmd_withTestUserToken_propertyNotSet()
351 mPreparer.tearDown(mTestInfo, null); in testBgCmd_withTestUserToken()
DInstallApexModuleTargetPreparerTest.java245 public void tearDown() throws Exception { in tearDown() method in InstallApexModuleTargetPreparerTest
698 mInstallApexModuleTargetPreparer.tearDown(mTestInfo, null); in testSetupAndTearDown_Optimize_MultipleAPEX_UninstallThenInstallAndReboot()
736 mInstallApexModuleTargetPreparer.tearDown(mTestInfo, null); in testSetupAndTearDown_Optimize_MultipleAPEX_UninstallAndReboot()
773 mInstallApexModuleTargetPreparer.tearDown(mTestInfo, null); in testSetupAndTearDown_ModuleTearDown()
805 mInstallApexModuleTargetPreparer.tearDown(mTestInfo, null); in testSetupAndTearDown_DetectRollback()
846 mInstallApexModuleTargetPreparer.tearDown(mTestInfo, null); in testSetupAndTearDown_Optimize_MultipleAPEX_Reboot()
1112 mInstallApexModuleTargetPreparer.tearDown(mTestInfo, null); in testSetupAndTearDown_SingleApk()
1138 mInstallApexModuleTargetPreparer.tearDown(mTestInfo, null); in testSetupAndTearDown_InstallMultipleApk()
1199 mInstallApexModuleTargetPreparer.tearDown(mTestInfo, null); in testSetupAndTearDown_ApkAndApks()
1239 mInstallApexModuleTargetPreparer.tearDown(mTestInfo, null); in testSetupAndTearDown()
[all …]
DUserCleanerFuncTest.java45 public void tearDown() throws DeviceNotAvailableException { in tearDown() method in UserCleanerFuncTest
62 mCleaner.tearDown(getTestInformation(), null); in testTearDown()
DDisableSELinuxTargetPreparerTest.java70 mDisableSELinuxTargetPreparer.tearDown(mTestInfo, null); in testSetUpSuccess_permissive()
85 mDisableSELinuxTargetPreparer.tearDown(mTestInfo, null); in testSetUpSuccess_enforced_rootBefore()
106 mDisableSELinuxTargetPreparer.tearDown(mTestInfo, null); in testSetUpSuccess_enforced_notRootBefore()
DRunOnWorkProfileTargetPreparerTest.java295 mPreparer.tearDown(mTestInfo, /* throwable= */ null); in tearDown_workProfileAlreadyExists_doesNotRemoveWorkProfile()
319 mPreparer.tearDown(mTestInfo, /* throwable= */ null); in tearDown_removesWorkUser()
328 mPreparer.tearDown(mTestInfo, /* throwable= */ null); in tearDown_clearsRunTestsAsUserProperty()
346 mPreparer.tearDown(mTestInfo, /* throwable= */ null); in teardown_didRemoveDeviceOwner_setsDeviceOwner()
DRunHostCommandTargetPreparerTest.java171 mPreparer.tearDown(mTestInfo, null); in testTearDown()
188 mPreparer.tearDown(mTestInfo, null); in testTearDown_withError()
198 mPreparer.tearDown(mTestInfo, null); in testTearDown_flashingPermit()
DRunOnSecondaryUserTargetPreparerTest.java159 mPreparer.tearDown(mTestInfo, /* throwable= */ null); in tearDown_switchesBackToInitialUser()
176 mPreparer.tearDown(mTestInfo, /* throwable= */ null); in tearDown_secondaryUserAlreadyExists_switchesBackToInitialUser()
244 mPreparer.tearDown(mTestInfo, /* throwable= */ null); in setUp_secondaryUserAlreadyExists_doesNotRemoveSecondaryUser()
348 mPreparer.tearDown(mTestInfo, /* throwable= */ null); in tearDown_removesSecondaryUser()
357 mPreparer.tearDown(mTestInfo, /* throwable= */ null); in tearDown_clearsRunTestsAsUserProperty()
DDeviceStringPusherTest.java84 mDeviceStringPusher.tearDown(mTestInfo, null); in testDoesntExist()
103 mDeviceStringPusher.tearDown(mTestInfo, null); in testAlreadyExists()
/tools/tradefederation/core/src/com/android/tradefed/sandbox/
DSandboxInvocationRunner.java50 sandbox.tearDown(); in teardownSandbox()
67 sandbox.tearDown(); in prepareSandbox()
72 sandbox.tearDown(); in prepareSandbox()
92 sandbox.tearDown(); in runSandbox()
/tools/tradefederation/core/src/com/android/tradefed/targetprep/
DITargetPreparer.java81 public default void tearDown(ITestDevice device, IBuildInfo buildInfo, Throwable e) in tearDown() method
94 public default void tearDown(TestInformation testInformation, Throwable e) in tearDown() method
96 tearDown(testInformation.getDevice(), testInformation.getBuildInfo(), e); in tearDown()
/tools/tradefederation/core/src/com/android/tradefed/targetprep/multi/
DIMultiTargetPreparer.java75 public default void tearDown(IInvocationContext context, Throwable e) in tearDown() method
89 public default void tearDown(TestInformation testInformation, Throwable e) in tearDown() method
91 tearDown(testInformation.getContext(), e); in tearDown()
/tools/tradefederation/core/javatests/com/android/tradefed/targetprep/adb/
DAdbStopServerPreparerTest.java100 public void tearDown() { in tearDown() method in AdbStopServerPreparerTest
120 mPreparer.tearDown(mTestInfo, null); in testSetup_tearDown()
149 mPreparer.tearDown(mTestInfo, null); in testSetup_fail_tearDown()
206 mPreparer.tearDown(mTestInfo, null); in testAdbFromEnv()
/tools/asuite/atest/integration_tests/deviceless_python_test_host/
Ddeviceless_python_test_host.py34 def tearDown(self): member in DevicelessPythonHostTest
35 super().tearDown()
/tools/test/connectivity/acts/framework/tests/controllers/
Dpower_monitor_test.py36 def tearDown(self): member in PowerMonitorTest
37 super().tearDown()
/tools/tradefederation/core/test_framework/com/android/tradefed/targetprep/
DTearDownPassThroughPreparer.java58 public void tearDown(TestInformation testInfo, Throwable e) throws DeviceNotAvailableException { in tearDown() method in TearDownPassThroughPreparer
63 cleaner.tearDown(testInfo, e); in tearDown()
/tools/tradefederation/core/javatests/com/android/tradefed/sandbox/
DSandboxInvocationRunnerTest.java67 verify(mMockSandbox, times(1)).tearDown(); in testPrepareAndRun()
83 verify(mMockSandbox, times(1)).tearDown(); in testPrepareAndRun_prepFailure()
/tools/test/connectivity/acts/framework/tests/
Dacts_relay_controller_test.py74 def tearDown(self): member in ActsRelayTest
231 def tearDown(self): member in ActsSainSmartBoardTest
366 def tearDown(self): member in ActsRelayRigTest
458 def tearDown(self): member in ActsGenericRelayDeviceTest
558 def tearDown(self): member in ActsRelayDeviceTest
626 def tearDown(self): member in TestRelayRigParser
730 def tearDown(self): member in TestFuguRemote
/tools/external_updater/
Dexternal_updater_reviewers_test.py33 def tearDown(self): member in ExternalUpdaterReviewersTest
34 super().tearDown()

1234567891011