~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/__init__.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2009-09-24 09:45:23 UTC
  • mfrom: (4712.1.4 integration)
  • Revision ID: pqm@pqm.ubuntu.com-20090924094523-nsz6mp3qwor3xpp3
(mbp) deprecate ProgressTask.note

Show diffs side-by-side

added added

removed removed

Lines of Context:
512
512
        return self._shortened_test_description(test)
513
513
 
514
514
    def report_error(self, test, err):
515
 
        self.pb.note('ERROR: %s\n    %s\n',
 
515
        ui.ui_factory.note('ERROR: %s\n    %s\n' % (
516
516
            self._test_description(test),
517
517
            err[1],
518
 
            )
 
518
            ))
519
519
 
520
520
    def report_failure(self, test, err):
521
 
        self.pb.note('FAIL: %s\n    %s\n',
 
521
        ui.ui_factory.note('FAIL: %s\n    %s\n' % (
522
522
            self._test_description(test),
523
523
            err[1],
524
 
            )
 
524
            ))
525
525
 
526
526
    def report_known_failure(self, test, err):
527
 
        self.pb.note('XFAIL: %s\n%s\n',
528
 
            self._test_description(test), err[1])
 
527
        ui.ui_factory.note('XFAIL: %s\n%s\n' % (
 
528
            self._test_description(test), err[1]))
529
529
 
530
530
    def report_skip(self, test, reason):
531
531
        pass