Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(685)

Unified Diff: tools/isolate/trace_inputs_test.py

Issue 10772002: Initial refactoring to eventually support touch-only access. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tools/isolate/trace_inputs_smoke_test.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/isolate/trace_inputs_test.py
diff --git a/tools/isolate/trace_inputs_test.py b/tools/isolate/trace_inputs_test.py
index 3301b27c5db70638265ee8494172a88dbcbea26c..d9c8c15e6ae8bec685367a0b236c687ab8edd1ae 100755
--- a/tools/isolate/trace_inputs_test.py
+++ b/tools/isolate/trace_inputs_test.py
@@ -51,14 +51,14 @@ class TraceInputs(unittest.TestCase):
def test_variable_abs(self):
- value = trace_inputs.Results.File(None, '/foo/bar', False)
+ value = trace_inputs.Results.File(None, '/foo/bar', False, False)
actual = value.replace_variables({'$FOO': '/foo'})
self.assertEquals('$FOO/bar', actual.path)
self.assertEquals('$FOO/bar', actual.full_path)
self.assertEquals(True, actual.tainted)
def test_variable_rel(self):
- value = trace_inputs.Results.File('/usr', 'foo/bar', False)
+ value = trace_inputs.Results.File('/usr', 'foo/bar', False, False)
actual = value.replace_variables({'$FOO': 'foo'})
self.assertEquals('$FOO/bar', actual.path)
self.assertEquals(os.path.join('/usr', '$FOO/bar'), actual.full_path)
« no previous file with comments | « tools/isolate/trace_inputs_smoke_test.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698