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

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

Issue 249343002: Create an antialiased virtual layout test group for font testing on Mac (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Initial rebaseline in the right path to silence lint checking Created 6 years, 7 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 | « Source/platform/fonts/mac/FontMac.cpp ('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 1586 matching lines...) Expand 10 before | Expand all | Expand 10 after
1597 ['--stable-release-mode']), 1597 ['--stable-release-mode']),
1598 VirtualTestSuite('stable', 1598 VirtualTestSuite('stable',
1599 'web-animations-api/eased-keyframes.html', 1599 'web-animations-api/eased-keyframes.html',
1600 ['--stable-release-mode']), 1600 ['--stable-release-mode']),
1601 VirtualTestSuite('linux-subpixel', 1601 VirtualTestSuite('linux-subpixel',
1602 'platform/linux/fast/text/subpixel', 1602 'platform/linux/fast/text/subpixel',
1603 ['--enable-webkit-text-subpixel-positioning']), 1603 ['--enable-webkit-text-subpixel-positioning']),
1604 VirtualTestSuite('windows-directwrite', 1604 VirtualTestSuite('windows-directwrite',
1605 'fast/text', 1605 'fast/text',
1606 ['--enable-direct-write', '--enable-font-antialiasi ng']), 1606 ['--enable-direct-write', '--enable-font-antialiasi ng']),
1607 VirtualTestSuite('mac-antialiasedtext',
1608 'fast/text',
1609 ['--enable-font-antialiasing']),
1610
1607 ] 1611 ]
1608 1612
1609 @memoized 1613 @memoized
1610 def populated_virtual_test_suites(self): 1614 def populated_virtual_test_suites(self):
1611 suites = self.virtual_test_suites() 1615 suites = self.virtual_test_suites()
1612 1616
1613 # Sanity-check the suites to make sure they don't point to other suites. 1617 # Sanity-check the suites to make sure they don't point to other suites.
1614 suite_dirs = [suite.name for suite in suites] 1618 suite_dirs = [suite.name for suite in suites]
1615 for suite in suites: 1619 for suite in suites:
1616 assert suite.base not in suite_dirs 1620 assert suite.base not in suite_dirs
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after
1764 if name.find('/') != -1: 1768 if name.find('/') != -1:
1765 _log.error("Virtual test suites names cannot contain /'s: %s" % name) 1769 _log.error("Virtual test suites names cannot contain /'s: %s" % name)
1766 return 1770 return
1767 self.name = 'virtual/' + name + '/' + base 1771 self.name = 'virtual/' + name + '/' + base
1768 self.base = base 1772 self.base = base
1769 self.args = args 1773 self.args = args
1770 self.tests = tests or set() 1774 self.tests = tests or set()
1771 1775
1772 def __repr__(self): 1776 def __repr__(self):
1773 return "VirtualTestSuite('%s', '%s', %s)" % (self.name, self.base, self. args) 1777 return "VirtualTestSuite('%s', '%s', %s)" % (self.name, self.base, self. args)
OLDNEW
« no previous file with comments | « Source/platform/fonts/mac/FontMac.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698