[MERGE] cleanup blackbox tests
Martin Pool
mbp at sourcefrog.net
Tue Jun 26 11:22:56 BST 2007
This patch removes some cruft from the blackbox tests. There were
many different ways to invoke bzr's command line interface. This
condenses them down to one interface and one implementation.
As I said in my other mail, for some tests just passing a string to be
autosplit is really the clearest way for many tests.
Other things:
* new test code should just simply call run_bzr, which returns the
stdout, stderr as strings
* removed very old TestCase.merge()
* remove very old and unused BzrTestBase alias for TestCase
* deprecate some old interfaces: runbzr, run_bzr_captured, capture
* remove shlex split variant of run_bzr_captured in TestRemove - this
is now available globally
* i thought about removing the syntax run_bzr('one', 'two') as
varargs - that type of call tends to cause trouble - but i've left it
for now
--
Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 20070626-cleanup-runbzr.diff
Type: text/x-patch
Size: 412226 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20070626/74793680/attachment-0001.bin
More information about the bazaar
mailing list