Exemple #1
0
    def setTestResults(self, total, failed, passed, total_statements,
                       exec_statements):
        Test.setTestResults(self, total=total, failed=failed, passed=passed)

        total_statements += self.step_status.getStatistic("total-statements", 0)
        self.step_status.setStatistic("total-statements", total_statements)

        exec_statements += self.step_status.getStatistic("exec-statements", 0)
        self.step_status.setStatistic("exec-statements", exec_statements)