| OLD | NEW |
| 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 Loading... |
| 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() |
| OLD | NEW |