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

Side by Side Diff: third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/base.py

Issue 1366763002: Text expectations of paint/invalidation/spv2 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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 | « third_party/WebKit/LayoutTests/paint/invalidation/spv2/view-background-from-body-2.html ('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 # Copyright (C) 2010 Google Inc. All rights reserved. 1 # Copyright (C) 2010 Google Inc. All rights reserved.
2 # 2 #
3 # Redistribution and use in source and binary forms, with or without 3 # Redistribution and use in source and binary forms, with or without
4 # modification, are permitted provided that the following conditions are 4 # modification, are permitted provided that the following conditions are
5 # met: 5 # met:
6 # 6 #
7 # * Redistributions of source code must retain the above copyright 7 # * Redistributions of source code must retain the above copyright
8 # notice, this list of conditions and the following disclaimer. 8 # notice, this list of conditions and the following disclaimer.
9 # * Redistributions in binary form must reproduce the above 9 # * Redistributions in binary form must reproduce the above
10 # copyright notice, this list of conditions and the following disclaimer 10 # copyright notice, this list of conditions and the following disclaimer
(...skipping 1571 matching lines...) Expand 10 before | Expand all | Expand 10 after
1582 pass 1582 pass
1583 1583
1584 def sample_process(self, name, pid): 1584 def sample_process(self, name, pid):
1585 pass 1585 pass
1586 1586
1587 def physical_test_suites(self): 1587 def physical_test_suites(self):
1588 return [ 1588 return [
1589 # For example, to turn on force-compositing-mode in the svg/ directo ry: 1589 # For example, to turn on force-compositing-mode in the svg/ directo ry:
1590 # PhysicalTestSuite('svg', ['--force-compositing-mode']), 1590 # PhysicalTestSuite('svg', ['--force-compositing-mode']),
1591 PhysicalTestSuite('fast/text', ["--enable-direct-write", "--enable-f ont-antialiasing"]), 1591 PhysicalTestSuite('fast/text', ["--enable-direct-write", "--enable-f ont-antialiasing"]),
1592 PhysicalTestSuite('paint/invalidation/spv2', ['--enable-slimming-pai nt-v2'])
1593 ] 1592 ]
1594 1593
1595 def virtual_test_suites(self): 1594 def virtual_test_suites(self):
1596 if self._virtual_test_suites is None: 1595 if self._virtual_test_suites is None:
1597 path_to_virtual_test_suites = self._filesystem.join(self.layout_test s_dir(), 'VirtualTestSuites') 1596 path_to_virtual_test_suites = self._filesystem.join(self.layout_test s_dir(), 'VirtualTestSuites')
1598 assert self._filesystem.exists(path_to_virtual_test_suites), 'Layout Tests/VirtualTestSuites not found' 1597 assert self._filesystem.exists(path_to_virtual_test_suites), 'Layout Tests/VirtualTestSuites not found'
1599 try: 1598 try:
1600 test_suite_json = json.loads(self._filesystem.read_text_file(pat h_to_virtual_test_suites)) 1599 test_suite_json = json.loads(self._filesystem.read_text_file(pat h_to_virtual_test_suites))
1601 self._virtual_test_suites = [VirtualTestSuite(**d) for d in test _suite_json] 1600 self._virtual_test_suites = [VirtualTestSuite(**d) for d in test _suite_json]
1602 except ValueError as e: 1601 except ValueError as e:
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after
1790 class PhysicalTestSuite(object): 1789 class PhysicalTestSuite(object):
1791 def __init__(self, base, args, reference_args=None): 1790 def __init__(self, base, args, reference_args=None):
1792 self.name = base 1791 self.name = base
1793 self.base = base 1792 self.base = base
1794 self.args = args 1793 self.args = args
1795 self.reference_args = args if reference_args is None else reference_args 1794 self.reference_args = args if reference_args is None else reference_args
1796 self.tests = set() 1795 self.tests = set()
1797 1796
1798 def __repr__(self): 1797 def __repr__(self):
1799 return "PhysicalTestSuite('%s', '%s', %s, %s)" % (self.name, self.base, self.args, self.reference_args) 1798 return "PhysicalTestSuite('%s', '%s', %s, %s)" % (self.name, self.base, self.args, self.reference_args)
OLDNEW
« no previous file with comments | « third_party/WebKit/LayoutTests/paint/invalidation/spv2/view-background-from-body-2.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698