b.t.p.VersionedFileTestMixIn(object) : class documentation

Part of bzrlib.tests.per_versionedfile View In Hierarchy

Known subclasses: bzrlib.tests.per_versionedfile.TestWeave

A mixin test class for testing VersionedFiles.

This is not an adaptor-style test at this point because theres no dynamic substitution of versioned file implementations, they are strictly controlled by their owning repositories.

Method get_transaction Undocumented
Method test_add Undocumented
Method test_adds_with_parent_texts Undocumented
Method test_add_unicode_content Undocumented
Method test_add_follows_left_matching_blocks If we change left_matching_blocks, delta changes
Method test_inline_newline_throws Undocumented
Method test_add_reserved Undocumented
Method test_add_lines_nostoresha When nostore_sha is supplied using old content raises.
Method test_add_lines_with_ghosts_nostoresha When nostore_sha is supplied using old content raises.
Method test_add_lines_return_value Undocumented
Method test_get_reserved Undocumented
Method test_add_unchanged_last_line_noeol_snapshot Add a text with an unchanged last line with no eol should work.
Method test_get_texts_eol_variation Undocumented
Method test_add_lines_with_matching_blocks_noeol_last_line Add a text with an unchanged last line with no eol should work.
Method test_make_mpdiffs Undocumented
Method test_make_mpdiffs_with_ghosts Undocumented
Method test_ancestry Undocumented
Method test_mutate_after_finish Undocumented
Method test_copy_to Undocumented
Method test_get_suffixes Undocumented
Method test_get_parent_map Undocumented
Method test_annotate Undocumented
Method test_detection Undocumented
Method get_file_corrupted_text Return a versioned file with corrupt text but valid metadata.
Method reopen_file Open the versioned file from disk again.
Method test_iter_lines_added_or_present_in_versions Undocumented
Method test_add_lines_with_ghosts Undocumented
Method test_add_lines_with_ghosts_after_normal_revs Undocumented
Method test_readonly_mode Undocumented
Method test_get_sha1s Undocumented
Method _setup_for_deltas Undocumented
def get_transaction(self):
Undocumented
def test_add(self):
Undocumented
def test_adds_with_parent_texts(self):
Undocumented
def test_add_unicode_content(self):
Undocumented
def test_add_follows_left_matching_blocks(self):
If we change left_matching_blocks, delta changes

Note: There are multiple correct deltas in this case, because we start with 1 "a" and we get 3.

def test_inline_newline_throws(self):
Undocumented
def test_add_reserved(self):
Undocumented
def test_add_lines_nostoresha(self):
When nostore_sha is supplied using old content raises.
def test_add_lines_with_ghosts_nostoresha(self):
When nostore_sha is supplied using old content raises.
def test_add_lines_return_value(self):
Undocumented
def test_get_reserved(self):
Undocumented
def test_add_unchanged_last_line_noeol_snapshot(self):
Add a text with an unchanged last line with no eol should work.
def test_get_texts_eol_variation(self):
Undocumented
def test_add_lines_with_matching_blocks_noeol_last_line(self):
Add a text with an unchanged last line with no eol should work.
def test_make_mpdiffs(self):
Undocumented
def test_make_mpdiffs_with_ghosts(self):
Undocumented
def _setup_for_deltas(self, f):
Undocumented
def test_ancestry(self):
Undocumented
def test_mutate_after_finish(self):
Undocumented
def test_copy_to(self):
Undocumented
def test_get_suffixes(self):
Undocumented
def test_get_parent_map(self):
Undocumented
def test_annotate(self):
Undocumented
def test_detection(self):
Undocumented
def get_file_corrupted_text(self):
Return a versioned file with corrupt text but valid metadata.
def reopen_file(self, name='foo'):
Open the versioned file from disk again.
def test_iter_lines_added_or_present_in_versions(self):
Undocumented
def test_add_lines_with_ghosts(self):
Undocumented
def test_add_lines_with_ghosts_after_normal_revs(self):
Undocumented
def test_readonly_mode(self):
Undocumented
def test_get_sha1s(self):
Undocumented
API Documentation for Bazaar, generated by pydoctor at 2022-06-16 00:25:16.