| 324 | pass |
| 325 | |
| 326 | def notifyTest(self, cond, captured_output, error_contents, file, test, time): |
| 327 | try: |
| 328 | # I.e.: when marked as Binary in xml-rpc |
| 329 | captured_output = captured_output.data |
| 330 | except: |
| 331 | pass |
| 332 | try: |
| 333 | # I.e.: when marked as Binary in xml-rpc |
| 334 | error_contents = error_contents.data |
| 335 | except: |
| 336 | pass |
| 337 | if error_contents: |
| 338 | error_contents = error_contents.splitlines()[-1].strip() |
| 339 | self.notifications.append(("notifyTest", cond, captured_output.strip(), error_contents, file, test)) |
| 340 | |
| 341 | def notifyTestRunFinished(self, total_time): |
| 342 | self.notifications.append(("notifyTestRunFinished",)) |