summaryrefslogtreecommitdiff
path: root/include_server/include_analyzer_memoizing_node_test.py
diff options
context:
space:
mode:
Diffstat (limited to 'include_server/include_analyzer_memoizing_node_test.py')
-rwxr-xr-xinclude_server/include_analyzer_memoizing_node_test.py8
1 files changed, 5 insertions, 3 deletions
diff --git a/include_server/include_analyzer_memoizing_node_test.py b/include_server/include_analyzer_memoizing_node_test.py
index 898c921..9b29a65 100755
--- a/include_server/include_analyzer_memoizing_node_test.py
+++ b/include_server/include_analyzer_memoizing_node_test.py
@@ -35,15 +35,17 @@ class IncludeAnalyzerMemoizingNodeUnitTest(unittest.TestCase):
"""Translate the indices in an include closure to their denoted strings."""
return (
dict((self.realpath_map.string[rp_idx],
- [ (self.directory_map.string[dir_idx], self.includepath_map.string[ip_idx])
+ [ (self.directory_map.string[dir_idx],
+ self.includepath_map.string[ip_idx])
for (dir_idx, ip_idx) in include_closure[rp_idx] ])
for rp_idx in include_closure))
def setUp(self):
basics.opt_debug_pattern = 1
- basics.InitializeClientTmp()
+ client_root_keeper = basics.ClientRootKeeper()
self.include_analyzer = (
- include_analyzer_memoizing_node.IncludeAnalyzerMemoizingNode())
+ include_analyzer_memoizing_node.IncludeAnalyzerMemoizingNode(
+ client_root_keeper))
self.includepath_map = self.include_analyzer.includepath_map
self.canonical_path = self.include_analyzer.canonical_path