OLD | NEW |
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 1731 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1742 ['--stable-release-mode', | 1742 ['--stable-release-mode', |
1743 '--force-compositing-mode']), | 1743 '--force-compositing-mode']), |
1744 VirtualTestSuite('stable', | 1744 VirtualTestSuite('stable', |
1745 'web-animations-api/eased-keyframes.html', | 1745 'web-animations-api/eased-keyframes.html', |
1746 ['--stable-release-mode', | 1746 ['--stable-release-mode', |
1747 '--force-compositing-mode']), | 1747 '--force-compositing-mode']), |
1748 VirtualTestSuite('linux-subpixel', | 1748 VirtualTestSuite('linux-subpixel', |
1749 'platform/linux/fast/text/subpixel', | 1749 'platform/linux/fast/text/subpixel', |
1750 ['--enable-webkit-text-subpixel-positioning', | 1750 ['--enable-webkit-text-subpixel-positioning', |
1751 '--force-compositing-mode']), | 1751 '--force-compositing-mode']), |
1752 # FIXME: Merge with mac-antialiasedtext and rename | 1752 VirtualTestSuite('antialiasedtext', |
1753 # antialiasedtext as a separate change once DW has been | |
1754 # enabled for a couple of days. | |
1755 VirtualTestSuite('windows-directwrite', | |
1756 'fast/text', | 1753 'fast/text', |
1757 ['--enable-direct-write', | 1754 ['--enable-direct-write', |
1758 '--enable-font-antialiasing', | 1755 '--enable-font-antialiasing', |
1759 '--force-compositing-mode']), | 1756 '--force-compositing-mode']), |
1760 VirtualTestSuite('mac-antialiasedtext', | |
1761 'fast/text', | |
1762 ['--enable-font-antialiasing', | |
1763 '--force-compositing-mode']), | |
1764 | 1757 |
1765 ] | 1758 ] |
1766 | 1759 |
1767 @memoized | 1760 @memoized |
1768 def populated_virtual_test_suites(self): | 1761 def populated_virtual_test_suites(self): |
1769 suites = self.virtual_test_suites() | 1762 suites = self.virtual_test_suites() |
1770 | 1763 |
1771 # Sanity-check the suites to make sure they don't point to other suites. | 1764 # Sanity-check the suites to make sure they don't point to other suites. |
1772 suite_dirs = [suite.name for suite in suites] | 1765 suite_dirs = [suite.name for suite in suites] |
1773 for suite in suites: | 1766 for suite in suites: |
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1939 | 1932 |
1940 class PhysicalTestSuite(object): | 1933 class PhysicalTestSuite(object): |
1941 def __init__(self, base, args): | 1934 def __init__(self, base, args): |
1942 self.name = base | 1935 self.name = base |
1943 self.base = base | 1936 self.base = base |
1944 self.args = args | 1937 self.args = args |
1945 self.tests = set() | 1938 self.tests = set() |
1946 | 1939 |
1947 def __repr__(self): | 1940 def __repr__(self): |
1948 return "PhysicalTestSuite('%s', '%s', %s)" % (self.name, self.base, self
.args) | 1941 return "PhysicalTestSuite('%s', '%s', %s)" % (self.name, self.base, self
.args) |
OLD | NEW |