~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/ui/testsupport.py

  • Committer: Martin Pool
  • Date: 2010-09-14 04:37:03 UTC
  • mto: This revision was merged to the branch mainline in revision 5423.
  • Revision ID: mbp@sourcefrog.net-20100914043703-xqhmjw0mc9efult7
Rename CapturingUIFactory to ProgressRecordingUIFactory

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
    )
25
25
 
26
26
 
27
 
class CapturingUIFactory(ui.UIFactory, progress.DummyProgress):
 
27
class ProgressRecordingUIFactory(ui.UIFactory, progress.DummyProgress):
28
28
    """Captures progress updates made through it.
29
29
    
30
30
    This is overloaded as both the UIFactory and the progress model."""
31
31
 
32
32
    def __init__(self):
33
 
        super(CapturingUIFactory, self).__init__()
 
33
        super(ProgressRecordingUIFactory, self).__init__()
34
34
        self._calls = []
35
35
        self.depth = 0
36
36