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 1494 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1505 ['--enable-accelerated-2d-canvas']), | 1505 ['--enable-accelerated-2d-canvas']), |
1506 VirtualTestSuite('virtual/threaded/compositing/visibility', | 1506 VirtualTestSuite('virtual/threaded/compositing/visibility', |
1507 'compositing/visibility', | 1507 'compositing/visibility', |
1508 ['--enable-threaded-compositing']), | 1508 ['--enable-threaded-compositing']), |
1509 VirtualTestSuite('virtual/threaded/compositing/webgl', | 1509 VirtualTestSuite('virtual/threaded/compositing/webgl', |
1510 'compositing/webgl', | 1510 'compositing/webgl', |
1511 ['--enable-threaded-compositing']), | 1511 ['--enable-threaded-compositing']), |
1512 VirtualTestSuite('virtual/gpu/fast/hidpi', | 1512 VirtualTestSuite('virtual/gpu/fast/hidpi', |
1513 'fast/hidpi', | 1513 'fast/hidpi', |
1514 ['--force-compositing-mode']), | 1514 ['--force-compositing-mode']), |
1515 VirtualTestSuite('virtual/softwarecompositing', | 1515 VirtualTestSuite('virtual/software/compositing', |
1516 'compositing', | 1516 'compositing', |
1517 ['--enable-software-compositing', '--disable-gpu-co
mpositing']), | 1517 ['--enable-software-compositing', '--disable-gpu-co
mpositing']), |
1518 VirtualTestSuite('virtual/deferred/fast/images', | 1518 VirtualTestSuite('virtual/deferred/fast/images', |
1519 'fast/images', | 1519 'fast/images', |
1520 ['--enable-deferred-image-decoding', '--enable-per-
tile-painting', '--force-compositing-mode']), | 1520 ['--enable-deferred-image-decoding', '--enable-per-
tile-painting', '--force-compositing-mode']), |
1521 VirtualTestSuite('virtual/gpu/compositedscrolling/overflow', | 1521 VirtualTestSuite('virtual/gpucompositedscrolling/overflow', |
1522 'compositing/overflow', | 1522 'compositing/overflow', |
1523 ['--enable-accelerated-overflow-scroll']), | 1523 ['--enable-accelerated-overflow-scroll']), |
1524 VirtualTestSuite('virtual/gpu/compositedscrolling/scrollbars', | 1524 VirtualTestSuite('virtual/gpucompositedscrolling/scrollbars', |
1525 'scrollbars', | 1525 'scrollbars', |
1526 ['--enable-accelerated-overflow-scroll']), | 1526 ['--enable-accelerated-overflow-scroll']), |
1527 VirtualTestSuite('virtual/threaded/animations', | 1527 VirtualTestSuite('virtual/threaded/animations', |
1528 'animations', | 1528 'animations', |
1529 ['--enable-threaded-compositing']), | 1529 ['--enable-threaded-compositing']), |
1530 VirtualTestSuite('virtual/threaded/transitions', | 1530 VirtualTestSuite('virtual/threaded/transitions', |
1531 'transitions', | 1531 'transitions', |
1532 ['--enable-threaded-compositing']), | 1532 ['--enable-threaded-compositing']), |
1533 VirtualTestSuite('virtual/web-animations-css/animations', | 1533 VirtualTestSuite('virtual/web-animations-css/animations', |
1534 'animations', | 1534 'animations', |
1535 ['--enable-web-animations-css']), | 1535 ['--enable-web-animations-css']), |
1536 VirtualTestSuite('virtual/stable/webexposed', | 1536 VirtualTestSuite('virtual/stable/webexposed', |
1537 'webexposed', | 1537 'webexposed', |
1538 ['--stable-release-mode']), | 1538 ['--stable-release-mode']), |
1539 VirtualTestSuite('virtual/stable/media', | 1539 VirtualTestSuite('virtual/stable/media/stable', |
1540 'media/stable', | 1540 'media/stable', |
1541 ['--stable-release-mode']), | 1541 ['--stable-release-mode']), |
1542 VirtualTestSuite('virtual/android/fullscreen', | 1542 VirtualTestSuite('virtual/android/fullscreen', |
1543 'fullscreen', | 1543 'fullscreen', |
1544 ['--force-compositing-mode', '--allow-webui-composi
ting', '--enable-threaded-compositing', | 1544 ['--force-compositing-mode', '--allow-webui-composi
ting', '--enable-threaded-compositing', |
1545 '--enable-fixed-position-compositing', '--enable-a
ccelerated-overflow-scroll', '--enable-accelerated-scrollable-frames', | 1545 '--enable-fixed-position-compositing', '--enable-a
ccelerated-overflow-scroll', '--enable-accelerated-scrollable-frames', |
1546 '--enable-composited-scrolling-for-frames', '--ena
ble-gesture-tap-highlight', '--enable-pinch', | 1546 '--enable-composited-scrolling-for-frames', '--ena
ble-gesture-tap-highlight', '--enable-pinch', |
1547 '--enable-overlay-fullscreen-video', '--enable-ove
rlay-scrollbars', '--enable-overscroll-notifications', | 1547 '--enable-overlay-fullscreen-video', '--enable-ove
rlay-scrollbars', '--enable-overscroll-notifications', |
1548 '--enable-fixed-layout', '--enable-viewport', '--d
isable-canvas-aa', | 1548 '--enable-fixed-layout', '--enable-viewport', '--d
isable-canvas-aa', |
1549 '--disable-composited-antialiasing']), | 1549 '--disable-composited-antialiasing']), |
1550 VirtualTestSuite('virtual/implsidepainting/inspector/timeline', | 1550 VirtualTestSuite('virtual/implsidepainting/inspector/timeline', |
1551 'inspector/timeline', | 1551 'inspector/timeline', |
1552 ['--enable-threaded-compositing', '--enable-impl-si
de-painting', '--force-compositing-mode']), | 1552 ['--enable-threaded-compositing', '--enable-impl-si
de-painting', '--force-compositing-mode']), |
1553 VirtualTestSuite('virtual/fast-text-autosizing', | 1553 VirtualTestSuite('virtual/fastautosizing/fast/text-autosizing', |
1554 'fast/text-autosizing', | 1554 'fast/text-autosizing', |
1555 ['--enable-fast-text-autosizing']), | 1555 ['--enable-fast-text-autosizing']), |
1556 ] | 1556 ] |
1557 | 1557 |
1558 @memoized | 1558 @memoized |
1559 def populated_virtual_test_suites(self): | 1559 def populated_virtual_test_suites(self): |
1560 suites = self.virtual_test_suites() | 1560 suites = self.virtual_test_suites() |
1561 | 1561 |
1562 # Sanity-check the suites to make sure they don't point to other suites. | 1562 # Sanity-check the suites to make sure they don't point to other suites. |
1563 suite_dirs = [suite.name for suite in suites] | 1563 suite_dirs = [suite.name for suite in suites] |
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1707 | 1707 |
1708 class VirtualTestSuite(object): | 1708 class VirtualTestSuite(object): |
1709 def __init__(self, name, base, args, tests=None): | 1709 def __init__(self, name, base, args, tests=None): |
1710 self.name = name | 1710 self.name = name |
1711 self.base = base | 1711 self.base = base |
1712 self.args = args | 1712 self.args = args |
1713 self.tests = tests or set() | 1713 self.tests = tests or set() |
1714 | 1714 |
1715 def __repr__(self): | 1715 def __repr__(self): |
1716 return "VirtualTestSuite('%s', '%s', %s)" % (self.name, self.base, self.
args) | 1716 return "VirtualTestSuite('%s', '%s', %s)" % (self.name, self.base, self.
args) |
OLD | NEW |