~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/benchmarks/bench_status.py

  • Committer: Andrew Bennetts
  • Date: 2007-03-28 07:08:42 UTC
  • mfrom: (2380 +trunk)
  • mto: (2018.5.146 hpss)
  • mto: This revision was merged to the branch mainline in revision 2414.
  • Revision ID: andrew.bennetts@canonical.com-20070328070842-r843houy668oxb9o
Merge from bzr.dev.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Copyright (C) 2006 Canonical Ltd
 
1
# Copyright (C) 2006, 2007 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
42
42
        self.make_kernel_like_committed_tree()
43
43
        #XXX depends on the filenames generated by make_kernel_like_tree
44
44
        self.time(self.run_bzr, 'status', '7/4/0/16')
 
45
 
 
46
    def test_status_one_added_file_kernel_like_tree(self):
 
47
        """Status of a single added file in our stock large tree."""
 
48
        self.make_kernel_like_tree()
 
49
        self.run_bzr('add')
 
50
        self.run_bzr('commit', '-m', 'initial import')
 
51
        self.time(self.run_bzr, 'status', '3/3/3/10')