~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/__init__.py

Merge Tree.changes_from work.

Show diffs side-by-side

added added

removed removed

Lines of Context:
109
109
    import bzrlib.tests.bzrdir_implementations
110
110
    import bzrlib.tests.interrepository_implementations
111
111
    import bzrlib.tests.interversionedfile_implementations
 
112
    import bzrlib.tests.intertree_implementations
112
113
    import bzrlib.tests.repository_implementations
113
114
    import bzrlib.tests.revisionstore_implementations
 
115
    import bzrlib.tests.tree_implementations
114
116
    import bzrlib.tests.workingtree_implementations
115
117
    return [
116
118
            bzrlib.doc,
119
121
            bzrlib.tests.bzrdir_implementations,
120
122
            bzrlib.tests.interrepository_implementations,
121
123
            bzrlib.tests.interversionedfile_implementations,
 
124
            bzrlib.tests.intertree_implementations,
122
125
            bzrlib.tests.repository_implementations,
123
126
            bzrlib.tests.revisionstore_implementations,
 
127
            bzrlib.tests.tree_implementations,
124
128
            bzrlib.tests.workingtree_implementations,
125
129
            ]
126
130
 
219
223
            self.stream.write('E')
220
224
        elif self.dots:
221
225
            self.pb.update(self._ellipsise_unimportant_words('ERROR', 13), self.testsRun, None)
 
226
            self.pb.note(self._ellipsise_unimportant_words(
 
227
                            test.id() + ': ERROR',
 
228
                            osutils.terminal_width()))
222
229
        self.stream.flush()
223
230
        if self.stop_early:
224
231
            self.stop()
232
239
            self.stream.write('F')
233
240
        elif self.dots:
234
241
            self.pb.update(self._ellipsise_unimportant_words('FAIL', 13), self.testsRun, None)
 
242
            self.pb.note(self._ellipsise_unimportant_words(
 
243
                            test.id() + ': FAIL',
 
244
                            osutils.terminal_width()))
235
245
        self.stream.flush()
236
246
        if self.stop_early:
237
247
            self.stop()
1255
1265
                   'bzrlib.tests.test_decorators',
1256
1266
                   'bzrlib.tests.test_diff',
1257
1267
                   'bzrlib.tests.test_doc_generate',
1258
 
                   'bzrlib.tests.test_emptytree',
1259
1268
                   'bzrlib.tests.test_errors',
1260
1269
                   'bzrlib.tests.test_escaped_store',
1261
1270
                   'bzrlib.tests.test_fetch',
1263
1272
                   'bzrlib.tests.test_graph',
1264
1273
                   'bzrlib.tests.test_hashcache',
1265
1274
                   'bzrlib.tests.test_http',
 
1275
                   'bzrlib.tests.test_http_response',
1266
1276
                   'bzrlib.tests.test_identitymap',
 
1277
                   'bzrlib.tests.test_ignores',
1267
1278
                   'bzrlib.tests.test_inv',
1268
1279
                   'bzrlib.tests.test_knit',
1269
1280
                   'bzrlib.tests.test_lockdir',
1305
1316
                   'bzrlib.tests.test_transactions',
1306
1317
                   'bzrlib.tests.test_transform',
1307
1318
                   'bzrlib.tests.test_transport',
 
1319
                   'bzrlib.tests.test_tree',
1308
1320
                   'bzrlib.tests.test_tsort',
1309
1321
                   'bzrlib.tests.test_tuned_gzip',
1310
1322
                   'bzrlib.tests.test_ui',
1322
1334
        ]
1323
1335
    suite = TestUtil.TestSuite()
1324
1336
    loader = TestUtil.TestLoader()
 
1337
    suite.addTest(loader.loadTestsFromModuleNames(testmod_names))
1325
1338
    from bzrlib.transport import TransportTestProviderAdapter
1326
1339
    adapter = TransportTestProviderAdapter()
1327
1340
    adapt_modules(test_transport_implementations, adapter, loader, suite)
1328
 
    suite.addTest(loader.loadTestsFromModuleNames(testmod_names))
1329
1341
    for package in packages_to_test():
1330
1342
        suite.addTest(package.test_suite())
1331
1343
    for m in MODULES_TO_TEST: