Tree implementation tests for bzr. These test the conformance of all the tree variations to the expected API. Specific tests for individual variations are in other places such as: - tests/per_workingtree/*.py. - tests/test_tree.py - tests/test_revision.py - tests/test_workingtree.py
Function | return_parameter | A trivial thunk to return its input. |
Function | revision_tree_from_workingtree | Create a revision tree from a working tree. |
Function | preview_tree_pre | Undocumented |
Function | preview_tree_post | Undocumented |
Class | TestTreeImplementationSupport | Undocumented |
Class | TestCaseWithTree | No class docstring; 15/17 methods documented |
Function | make_scenarios | Generate test suites for each Tree implementation in bzrlib. |
Function | create_tree_scenario | Create a scenario for the specified converter |
Function | load_tests | Undocumented |
Function | _dirstate_tree_from_workingtree | Undocumented |
Currently this covers all working tree formats, and RevisionTree and DirStateRevisionTree by committing a working tree to create the revision tree.
Parameters | converter | A function that converts a workingtree into the desired format. |
workingtree_format | The particular workingtree format to convert from. | |
Returns | a (name, options) tuple, where options is a dict of values to be used as members of the TestCase. |