~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_versionedfile.py

Merge up bzr.dev.

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)
1436
1436
            create=True, factory=factory)
1437
1437
 
1438
1438
    def helpGetBytes(self, f, ft_adapter, delta_adapter):
1439
 
        """grab the interested adapted texts for tests."""
 
1439
        """Grab the interested adapted texts for tests."""
1440
1440
        # origin is a fulltext
1441
1441
        entries = f.get_record_stream(['origin'], 'unordered', False)
1442
1442
        base = entries.next()