本文整理汇总了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;