~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/benchmarks/bench_info.py

  • Committer: Carl Friedrich Bolz
  • Date: 2006-08-18 16:42:15 UTC
  • mto: (1908.3.21 usecases-benchmarks)
  • mto: This revision was merged to the branch mainline in revision 2068.
  • Revision ID: cfbolz@gmx.de-20060818164215-e4204fb71639c4b9
Use the proper functions for constructing trees in benchmarks introduced a
while ago that are also properly cached.

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
 
26
26
    def test_no_ignored_unknown_kernel_like_tree(self):
27
27
        """Info in a kernel sized tree with no ignored or unknowns. """
28
 
        self.make_kernel_like_tree()
29
 
        self.run_bzr('add')
 
28
        self.make_kernel_like_added_tree()
30
29
        self.time(self.run_bzr, 'info')
31
30
 
32
31
    def test_no_changes_known_kernel_like_tree(self):
33
32
        """Info in a kernel sized tree with no ignored, unknowns, or added.""" 
34
 
        self.make_kernel_like_tree()
35
 
        self.run_bzr('add')
36
 
        self.run_bzr('commit', '-m', 'initial import')
 
33
        self.make_kernel_like_committed_tree()
37
34
        self.time(self.run_bzr, 'info')
38
35
 
39
36