~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/benchmarks/bench_status.py

  • Committer: John Arbash Meinel
  • Date: 2006-10-31 21:29:02 UTC
  • mfrom: (2104 +trunk)
  • mto: This revision was merged to the branch mainline in revision 2110.
  • Revision ID: john@arbash-meinel.com-20061031212902-4b33920b90e9ce92
[merge] bzr.dev 2104

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Copyright (C) 2006 by Canonical Ltd
 
1
# Copyright (C) 2006 Canonical Ltd
2
2
#
3
3
# This program is free software; you can redistribute it and/or modify
4
 
# it under the terms of the GNU General Public License version 2 as published by
5
 
# the Free Software Foundation.
 
4
# it under the terms of the GNU General Public License as published by
 
5
# the Free Software Foundation; either version 2 of the License, or
 
6
# (at your option) any later version.
6
7
#
7
8
# This program is distributed in the hope that it will be useful,
8
9
# but WITHOUT ANY WARRANTY; without even the implied warranty of
34
35
        """Status in a kernel sized tree with no ignored, unknowns, or added.""" 
35
36
        self.make_kernel_like_committed_tree(link_bzr=True)
36
37
        self.time(self.run_bzr, 'status')
 
38
 
 
39
    def test_single_file_no_changes_known_kernel_like_tree(self):
 
40
        """Status in a kernel sized tree with no ignored, unknowns, or added
 
41
        of a single file."""
 
42
        self.make_kernel_like_committed_tree()
 
43
        #XXX depends on the filenames generated by make_kernel_like_tree
 
44
        self.time(self.run_bzr, 'status', '7/4/0/16')