/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 testbzr

  • Committer: Martin Pool
  • Date: 2005-05-05 02:55:45 UTC
  • Revision ID: mbp@sourcefrog.net-20050505025545-7c45e4c5255c5fd5
- refactor command aliases into command classes
- fix edge bugs in aliases and help command
- test cases for this

Show diffs side-by-side

added added

removed removed

Lines of Context:
159
159
    out = backtick("bzr status --all")
160
160
    assert out == "?       test.txt\n"
161
161
 
 
162
    progress("command aliases")
 
163
    out = backtick("bzr st --all")
 
164
    assert out == "?       test.txt\n"
 
165
    out = backtick("bzr stat")
 
166
    assert out == "?       test.txt\n"
 
167
 
 
168
    progress("command help")
 
169
    runcmd("bzr help st")
 
170
    runcmd("bzr help")
 
171
    runcmd("bzr help commands")
 
172
    runcmd("bzr help ci")
 
173
    runcmd("bzr help slartibartfast", 1)    
 
174
 
162
175
    progress("can't rename unversioned file")
163
176
    runcmd("bzr rename test.txt new-test.txt", 1)
164
177