~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_versionedfile.py

  • Committer: Robert Collins
  • Author(s): Robert Collins, John Arbash Meinel, Ian Clathworthy, Vincent Ladeuil
  • Date: 2009-04-07 05:42:28 UTC
  • mto: This revision was merged to the branch mainline in revision 4261.
  • Revision ID: robertc@robertcollins.net-20090407054228-zslrfatxy9nw231i
Groupcompress from brisbane-core.

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
 
27
27
from bzrlib import (
28
28
    errors,
 
29
    groupcompress,
29
30
    knit as _mod_knit,
30
31
    osutils,
31
32
    progress,
120
121
            'key_length':1,
121
122
            'support_partial_insertion': False,
122
123
            }),
 
124
        ('groupcompress-nograph', {
 
125
            'cleanup':groupcompress.cleanup_pack_group,
 
126
            'factory':groupcompress.make_pack_factory(False, False, 1),
 
127
            'graph': False,
 
128
            'key_length':1,
 
129
            'support_partial_insertion':False,
 
130
            }),
123
131
        ]
124
132
    len_two_scenarios = [
125
133
        ('weave-prefix', {
144
152
            'key_length':2,
145
153
            'support_partial_insertion': True,
146
154
            }),
 
155
        ('groupcompress', {
 
156
            'cleanup':groupcompress.cleanup_pack_group,
 
157
            'factory':groupcompress.make_pack_factory(True, False, 1),
 
158
            'graph': True,
 
159
            'key_length':1,
 
160
            'support_partial_insertion':False,
 
161
            }),
147
162
        ]
148
163
    scenarios = len_one_scenarios + len_two_scenarios
149
164
    return multiply_tests(to_adapt, scenarios, result)
1647
1662
             'knit-ft', 'knit-delta', 'chunked', 'fulltext',
1648
1663
             'knit-annotated-ft-gz', 'knit-annotated-delta-gz', 'knit-ft-gz',
1649
1664
             'knit-delta-gz',
1650
 
             'knit-delta-closure', 'knit-delta-closure-ref'])
 
1665
             'knit-delta-closure', 'knit-delta-closure-ref',
 
1666
             'groupcompress-block', 'groupcompress-block-ref'])
1651
1667
 
1652
1668
    def capture_stream(self, f, entries, on_seen, parents):
1653
1669
        """Capture a stream for testing."""