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

Side by Side Diff: tools/isolate/isolate_test.py

Issue 10091011: Added function to get native path case on Windows and OSX. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase against 10080013 Created 8 years, 8 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « tools/isolate/isolate_smoke_test.py ('k') | tools/isolate/trace_inputs.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/usr/bin/env python 1 #!/usr/bin/env python
2 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 2 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be 3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 5
6 import json 6 import json
7 import logging
7 import os 8 import os
9 import sys
8 import tempfile 10 import tempfile
9 import unittest 11 import unittest
10 12
11 import isolate 13 import isolate
12 14
13 ROOT_DIR = os.path.dirname(os.path.abspath(__file__)) 15 ROOT_DIR = os.path.dirname(os.path.abspath(__file__))
14 16
15 17
16 class Isolate(unittest.TestCase): 18 class Isolate(unittest.TestCase):
17 def setUp(self): 19 def setUp(self):
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 u'foo': u'bar', 84 u'foo': u'bar',
83 u'variables': { 85 u'variables': {
84 'expected': 'very', 86 'expected': 'very',
85 u'unexpected': u'seriously', 87 u'unexpected': u'seriously',
86 }, 88 },
87 } 89 }
88 self._run_process_options(values, {'expected': 'very'}, expected_data) 90 self._run_process_options(values, {'expected': 'very'}, expected_data)
89 91
90 92
91 if __name__ == '__main__': 93 if __name__ == '__main__':
94 logging.basicConfig(
95 level=logging.DEBUG if '-v' in sys.argv else logging.ERROR,
96 format='%(levelname)5s %(filename)15s(%(lineno)3d): %(message)s')
92 unittest.main() 97 unittest.main()
OLDNEW
« no previous file with comments | « tools/isolate/isolate_smoke_test.py ('k') | tools/isolate/trace_inputs.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698