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
18
18
"""Black-box tests for bzr.
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.
27
from bzrlib.tests import (
29
TestCaseWithTransport,
32
from bzrlib.tests.EncodingAdapter import EncodingTestAdapter
33
from bzrlib.symbol_versioning import (
36
import bzrlib.ui as ui
26
from bzrlib.tests import TestCaseWithTransport
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',
65
56
'bzrlib.tests.blackbox.test_dump_btree',
57
'bzrlib.tests.blackbox.test_dpush',
66
58
'bzrlib.tests.blackbox.test_exceptions',
67
59
'bzrlib.tests.blackbox.test_export',
68
60
'bzrlib.tests.blackbox.test_filesystem_cicp',
61
'bzrlib.tests.blackbox.test_filtered_view_ops',
69
62
'bzrlib.tests.blackbox.test_find_merge_base',
70
63
'bzrlib.tests.blackbox.test_help',
71
64
'bzrlib.tests.blackbox.test_hooks',
86
79
'bzrlib.tests.blackbox.test_modified',
87
80
'bzrlib.tests.blackbox.test_mv',
88
81
'bzrlib.tests.blackbox.test_nick',
82
'bzrlib.tests.blackbox.test_non_ascii',
89
83
'bzrlib.tests.blackbox.test_outside_wt',
90
84
'bzrlib.tests.blackbox.test_pack',
91
85
'bzrlib.tests.blackbox.test_pull',
92
86
'bzrlib.tests.blackbox.test_push',
93
87
'bzrlib.tests.blackbox.test_reconcile',
94
88
'bzrlib.tests.blackbox.test_reconfigure',
89
'bzrlib.tests.blackbox.test_reference',
95
90
'bzrlib.tests.blackbox.test_remerge',
96
91
'bzrlib.tests.blackbox.test_remove',
97
92
'bzrlib.tests.blackbox.test_re_sign',
119
114
'bzrlib.tests.blackbox.test_version',
120
115
'bzrlib.tests.blackbox.test_version_info',
121
116
'bzrlib.tests.blackbox.test_versioning',
117
'bzrlib.tests.blackbox.test_view',
122
118
'bzrlib.tests.blackbox.test_whoami',
124
120
# add the tests for the sub modules
125
121
suite.addTests(loader.loadTestsFromModuleNames(testmod_names))
128
'bzrlib.tests.blackbox.test_non_ascii',
131
adapter = EncodingTestAdapter()
132
adapt_modules(test_encodings, adapter, loader, suite)