35
35
hardlink_working=True)
37
37
def test_03_make_kernel_like_added_tree(self):
38
"""Test the first creation of a kernel like added tree"""
38
"""Time the first creation of a kernel like added tree"""
39
39
# This may not be an accurate test, in the case that the cached entry
40
40
# has already been created
41
41
self.time(self.make_kernel_like_added_tree, root='foo')
43
43
def test_04_make_kernel_like_added_tree(self):
44
"""Test the second creation of a kernel like added tree
44
"""Time the second creation of a kernel like added tree
45
45
(this should be a clone)
47
47
# Call make_kernel_like_added_tree to make sure it is cached
48
48
self.make_kernel_like_added_tree(root='foo')
49
49
self.time(self.make_kernel_like_added_tree, root='bar')
51
def test_05_make_kernel_like_committed_tree(self):
52
"""Time the first creation of a committed kernel like tree"""
53
# This may not be an accurate test, in the case that the cached entry
54
# has already been created
55
self.time(self.make_kernel_like_committed_tree, root='foo')
57
def test_06_make_kernel_like_committed_tree(self):
58
"""Time the second creation of a committed kernel like tree
59
(this should be a clone)
61
# Call make_kernel_like_committed_tree to make sure it is cached
62
self.make_kernel_like_committed_tree(root='foo')
63
self.time(self.make_kernel_like_committed_tree, root='bar')
65
def test_07_make_kernel_like_committed_tree_hardlink(self):
66
"""Time the creation of a committed kernel like tree
67
(this should also hardlink the .bzr/ directory)
69
# Call make_kernel_like_committed_tree to make sure it is cached
70
self.make_kernel_like_committed_tree(root='foo', hardlink_bzr=True)
71
self.time(self.make_kernel_like_committed_tree, root='bar',