/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/tests/blackbox/__init__.py

  • Committer: Martin von Gagern
  • Date: 2010-04-20 08:47:38 UTC
  • mfrom: (5167 +trunk)
  • mto: This revision was merged to the branch mainline in revision 5195.
  • Revision ID: martin.vgagern@gmx.net-20100420084738-ygymnqmdllzrhpfn
merge trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Copyright (C) 2005, 2006, 2007 Canonical Ltd
 
1
# Copyright (C) 2005-2010 Canonical Ltd
2
2
#
3
3
# This program is free software; you can redistribute it and/or modify
4
4
# it under the terms of the GNU General Public License as published by
12
12
#
13
13
# You should have received a copy of the GNU General Public License
14
14
# along with this program; if not, write to the Free Software
15
 
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 
15
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
16
16
 
17
17
 
18
18
"""Black-box tests for bzr.
19
19
 
20
20
These check that it behaves properly when it's invoked through the regular
21
 
command-line interface. This doesn't actually run a new interpreter but 
 
21
command-line interface. This doesn't actually run a new interpreter but
22
22
rather starts again from the run_bzr function.
23
23
"""
24
24
 
25
 
import sys
26
25
 
27
 
from bzrlib.tests import (
28
 
                          adapt_modules,
29
 
                          TestCaseWithTransport,
30
 
                          iter_suite_tests,
31
 
                          )
32
 
from bzrlib.tests.EncodingAdapter import EncodingTestAdapter
33
 
from bzrlib.symbol_versioning import (
34
 
    deprecated_method,
35
 
    )
36
 
import bzrlib.ui as ui
 
26
from bzrlib.tests import TestCaseWithTransport
37
27
 
38
28
 
39
29
def load_tests(basic_tests, module, loader):
57
47
                     'bzrlib.tests.blackbox.test_cat_revision',
58
48
                     'bzrlib.tests.blackbox.test_check',
59
49
                     'bzrlib.tests.blackbox.test_checkout',
 
50
                     'bzrlib.tests.blackbox.test_clean_tree',
60
51
                     'bzrlib.tests.blackbox.test_command_encoding',
61
52
                     'bzrlib.tests.blackbox.test_commit',
62
53
                     'bzrlib.tests.blackbox.test_conflicts',
63
54
                     'bzrlib.tests.blackbox.test_debug',
64
55
                     'bzrlib.tests.blackbox.test_diff',
 
56
                     'bzrlib.tests.blackbox.test_dump_btree',
 
57
                     'bzrlib.tests.blackbox.test_dpush',
65
58
                     'bzrlib.tests.blackbox.test_exceptions',
66
59
                     'bzrlib.tests.blackbox.test_export',
 
60
                     'bzrlib.tests.blackbox.test_filesystem_cicp',
 
61
                     'bzrlib.tests.blackbox.test_filtered_view_ops',
67
62
                     'bzrlib.tests.blackbox.test_find_merge_base',
68
63
                     'bzrlib.tests.blackbox.test_help',
69
64
                     'bzrlib.tests.blackbox.test_hooks',
84
79
                     'bzrlib.tests.blackbox.test_modified',
85
80
                     'bzrlib.tests.blackbox.test_mv',
86
81
                     'bzrlib.tests.blackbox.test_nick',
 
82
                     'bzrlib.tests.blackbox.test_non_ascii',
87
83
                     'bzrlib.tests.blackbox.test_outside_wt',
88
84
                     'bzrlib.tests.blackbox.test_pack',
89
85
                     'bzrlib.tests.blackbox.test_pull',
90
86
                     'bzrlib.tests.blackbox.test_push',
91
87
                     'bzrlib.tests.blackbox.test_reconcile',
92
88
                     'bzrlib.tests.blackbox.test_reconfigure',
 
89
                     'bzrlib.tests.blackbox.test_reference',
93
90
                     'bzrlib.tests.blackbox.test_remerge',
94
91
                     'bzrlib.tests.blackbox.test_remove',
95
92
                     'bzrlib.tests.blackbox.test_re_sign',
98
95
                     'bzrlib.tests.blackbox.test_revno',
99
96
                     'bzrlib.tests.blackbox.test_revision_history',
100
97
                     'bzrlib.tests.blackbox.test_revision_info',
 
98
                     'bzrlib.tests.blackbox.test_rmbranch',
101
99
                     'bzrlib.tests.blackbox.test_selftest',
102
100
                     'bzrlib.tests.blackbox.test_send',
103
101
                     'bzrlib.tests.blackbox.test_serve',
104
102
                     'bzrlib.tests.blackbox.test_shared_repository',
 
103
                     'bzrlib.tests.blackbox.test_shelve',
105
104
                     'bzrlib.tests.blackbox.test_sign_my_commits',
106
105
                     'bzrlib.tests.blackbox.test_split',
107
106
                     'bzrlib.tests.blackbox.test_status',
116
115
                     'bzrlib.tests.blackbox.test_version',
117
116
                     'bzrlib.tests.blackbox.test_version_info',
118
117
                     'bzrlib.tests.blackbox.test_versioning',
 
118
                     'bzrlib.tests.blackbox.test_view',
119
119
                     'bzrlib.tests.blackbox.test_whoami',
120
120
                     ]
121
121
    # add the tests for the sub modules
122
122
    suite.addTests(loader.loadTestsFromModuleNames(testmod_names))
123
 
 
124
 
    test_encodings = [
125
 
        'bzrlib.tests.blackbox.test_non_ascii',
126
 
    ]
127
 
 
128
 
    adapter = EncodingTestAdapter()
129
 
    adapt_modules(test_encodings, adapter, loader, suite)
130
 
 
131
123
    return suite
132
124
 
133
125