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

Side by Side Diff: third_party/closure_compiler/processor_test.py

Issue 476453002: Python readability review for dbeam@. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge Created 6 years 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
OLDNEW
1 #!/usr/bin/env python 1 #!/usr/bin/env python
2 # Copyright 2014 The Chromium Authors. All rights reserved. 2 # Copyright 2014 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 """Test resources processing, i.e. <if> and <include> tag handling.""" 6 """Test resources processing, i.e. <if> and <include> tag handling."""
7 7
8 import unittest 8 import unittest
9 from processor import FileCache, Processor, LineNumber 9 from processor import FileCache, Processor, LineNumber
10 10
11 11
12 class ProcessorTest(unittest.TestCase): 12 class ProcessorTest(unittest.TestCase):
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 alert("Oh wow!"); 115 alert("Oh wow!");
116 return "XX"; 116 return "XX";
117 117
118 return "XXI"; 118 return "XXI";
119 } 119 }
120 """.strip(), self.processor_.contents) 120 """.strip(), self.processor_.contents)
121 121
122 122
123 if __name__ == '__main__': 123 if __name__ == '__main__':
124 unittest.main() 124 unittest.main()
OLDNEW
« third_party/closure_compiler/processor.py ('K') | « third_party/closure_compiler/processor.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698