b.t.p.t.CapturingUIFactory(ui.UIFactory) : class documentation

Part of bzrlib.tests.per_workingtree.test_commit View In Hierarchy

A UI Factory for testing - capture the updates made through it.
Method __init__ Undocumented
Method clear See progress.ProgressTask.clear().
Method clear_term See progress.ProgressTask.clear_term().
Method finished See progress.ProgressTask.finished().
Method note See progress.ProgressTask.note().
Method progress_bar Undocumented
Method nested_progress_bar Return a nested progress bar.
Method update See progress.ProgressTask.update().

Inherited from UIFactory:

Method __enter__ Context manager entry support.
Method __exit__ Context manager exit support.
Method be_quiet Tell the UI to be more quiet, or not.
Method get_password Prompt the user for a password.
Method is_quiet Undocumented
Method make_output_stream Get a stream for sending out bulk text data.
Method format_user_warning Undocumented
Method get_boolean Get a boolean question answered from the user.
Method get_integer Get an integer from the user.
Method make_progress_view Construct a new ProgressView object for this UI.
Method recommend_upgrade Undocumented
Method report_transport_activity Called by transports as they do IO.
Method log_transport_activity Write out whatever transport activity has been measured.
Method show_user_warning Show a warning to the user.
Method show_error Show an error message (not an exception) to the user.
Method show_message Show a message to the user.
Method show_warning Show a warning to the user.
Method warn_cross_format_fetch Warn about a potentially slow cross-format transfer.
Method warn_experimental_format_fetch Warn about fetching into experimental repository formats.
Method _make_output_stream_explicit Undocumented
Method _progress_finished Called by the ProgressTask when it finishes
Method _progress_all_finished Called when the top-level progress task finished
Method _progress_updated Called by the ProgressTask when it changes.
def __init__(self):
Undocumented
def clear(self):
See progress.ProgressTask.clear().
def clear_term(self):
See progress.ProgressTask.clear_term().
def finished(self):
See progress.ProgressTask.finished().
def note(self, fmt_string, *args, **kwargs):
See progress.ProgressTask.note().
def progress_bar(self):
Undocumented
def nested_progress_bar(self):
Return a nested progress bar.

When the bar has been finished with, it should be released by calling bar.finished().

def update(self, message, count=None, total=None):
See progress.ProgressTask.update().
API Documentation for Bazaar, generated by pydoctor at 2010-09-14 00:13:00.