~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_versionedfile.py

  • Committer: Robert Collins
  • Date: 2008-05-12 01:23:41 UTC
  • mto: (3350.4.4 remove-deprecations)
  • mto: This revision was merged to the branch mainline in revision 3424.
  • Revision ID: robertc@robertcollins.net-20080512012341-vzjmv73r8b96eumr
Review feedback.

Show diffs side-by-side

added added

removed removed

Lines of Context:
142
142
                str)
143
143
 
144
144
    def test_get_record_stream_interface(self):
145
 
        """each item in a stream has to provide a regular interface."""
 
145
        """Each item in a stream has to provide a regular interface."""
146
146
        f, parents = get_diamond_vf(self.get_file())
147
147
        entries = f.get_record_stream(['merged', 'left', 'right', 'base'],
148
148
            'unordered', False)
152
152
            seen)
153
153
 
154
154
    def test_get_record_stream_interface_ordered(self):
155
 
        """each item in a stream has to provide a regular interface."""
 
155
        """Each item in a stream has to provide a regular interface."""
156
156
        f, parents = get_diamond_vf(self.get_file())
157
157
        entries = f.get_record_stream(['merged', 'left', 'right', 'base'],
158
158
            'topological', False)
165
165
            ))
166
166
 
167
167
    def test_get_record_stream_interface_ordered_with_delta_closure(self):
168
 
        """each item in a stream has to provide a regular interface."""
 
168
        """Each item in a stream has to provide a regular interface."""
169
169
        f, parents = get_diamond_vf(self.get_file())
170
170
        entries = f.get_record_stream(['merged', 'left', 'right', 'base'],
171
171
            'topological', True)
1571
1571
            create=True, factory=factory)
1572
1572
 
1573
1573
    def helpGetBytes(self, f, ft_adapter, delta_adapter):
1574
 
        """grab the interested adapted texts for tests."""
 
1574
        """Grab the interested adapted texts for tests."""
1575
1575
        # origin is a fulltext
1576
1576
        entries = f.get_record_stream(['origin'], 'unordered', False)
1577
1577
        base = entries.next()