~bzr-pqm/bzr/bzr.dev

0.17.1 by Robert Collins
Starting point. Interface tests hooked up and failing.
1
# groupcompress, a bzr plugin providing new compression logic.
2
# Copyright (C) 2008 Canonical Limited.
3
# 
4
# This program is free software; you can redistribute it and/or modify
5
# it under the terms of the GNU General Public License version 2 as published
6
# by the Free Software Foundation.
7
# 
8
# This program is distributed in the hope that it will be useful,
9
# but WITHOUT ANY WARRANTY; without even the implied warranty of
10
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
11
# GNU General Public License for more details.
12
# 
13
# You should have received a copy of the GNU General Public License
14
# along with this program; if not, write to the Free Software
15
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
16
# 
17
18
"""groupcompress will provide smaller bzr repositories.
19
20
groupcompress
21
+++++++++++++
22
23
bzr repositories are larger than we want them to be; this tries to implement
24
some of the things we have been considering. The primary logic is deep in the
25
VersionedFiles abstraction, and at this point there is no user visible 
26
facilities.
27
28
Documentation
29
=============
30
31
See DESIGN in the groupcompress osurc.e
32
"""
33
def test_suite():
34
    # Thunk across to load_tests for niceness with older bzr versions
35
    from bzrlib.tests import TestLoader
36
    loader = TestLoader()
37
    return loader.loadTestsFromModuleNames(['bzrlib.plugins.groupcompress'])
38
39
40
def load_tests(standard_tests, module, loader):
41
    standard_tests.addTests(loader.loadTestsFromModuleNames(
42
        ['bzrlib.plugins.groupcompress.tests']))
43
    return standard_tests