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

Side by Side Diff: tools/tests/render_pictures_test.py

Issue 135783003: deprecate tools/test_rendering.py and tools/test_pictures.py (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: March -> Feb Created 6 years, 11 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
« no previous file with comments | « tools/test_rendering.py ('k') | no next file » | 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/python 1 #!/usr/bin/python
2 2
3 """ 3 """
4 Copyright 2014 Google Inc. 4 Copyright 2014 Google Inc.
5 5
6 Use of this source code is governed by a BSD-style license that can be 6 Use of this source code is governed by a BSD-style license that can be
7 found in the LICENSE file. 7 found in the LICENSE file.
8 8
9 Test the render_pictures binary. 9 Test the render_pictures binary.
10
11 TODO(epoger): Combine with overlapping tools/test_rendering.py and
12 tools/test_pictures.py .
13 See https://code.google.com/p/skia/issues/detail?id=1943#c2
14 """ 10 """
15 11
16 # System-level imports 12 # System-level imports
17 import json 13 import json
18 import os 14 import os
19 import shutil 15 import shutil
20 import tempfile 16 import tempfile
21 17
22 # Imports from within Skia 18 # Imports from within Skia
23 import base_unittest 19 import base_unittest
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 actual_dict = json.loads(file_contents) 118 actual_dict = json.loads(file_contents)
123 self.assertEqual(actual_dict, expected_dict) 119 self.assertEqual(actual_dict, expected_dict)
124 120
125 121
126 def main(): 122 def main():
127 base_unittest.main(RenderPicturesTest) 123 base_unittest.main(RenderPicturesTest)
128 124
129 125
130 if __name__ == '__main__': 126 if __name__ == '__main__':
131 main() 127 main()
OLDNEW
« no previous file with comments | « tools/test_rendering.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698