本文整理匯總了Python中testdriver.base.TestDriverBase.actionAbort方法的典型用法代碼示例。如果您正苦於以下問題:Python TestDriverBase.actionAbort方法的具體用法?Python TestDriverBase.actionAbort怎麽用?Python TestDriverBase.actionAbort使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類testdriver.base.TestDriverBase
的用法示例。
在下文中一共展示了TestDriverBase.actionAbort方法的2個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Python代碼示例。
示例1: actionAbort
# 需要導入模塊: from testdriver.base import TestDriverBase [as 別名]
# 或者: from testdriver.base.TestDriverBase import actionAbort [as 別名]
def actionAbort(self):
"""
Forward this to the sub testdriver first, then do the default pid file
based cleanup and finally swipe the scene with the heavy artillery.
"""
fRc1 = self._executeSubDriver([ 'abort', ]);
fRc2 = TestDriverBase.actionAbort(self);
fRc3 = self._killAllVBoxProcesses();
return fRc1 and fRc2 and fRc3;
示例2: actionAbort
# 需要導入模塊: from testdriver.base import TestDriverBase [as 別名]
# 或者: from testdriver.base.TestDriverBase import actionAbort [as 別名]
def actionAbort(self):
"""
Forward this to the sub testdriver first, then wipe all VBox like
processes, and finally do the pid file processing (again).
"""
fRc1 = self._executeSubDriver([ 'abort', ], fMaySkip = False);
fRc2 = self._killAllVBoxProcesses();
fRc3 = TestDriverBase.actionAbort(self);
return fRc1 and fRc2 and fRc3;