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 1511 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1522 pass | 1522 pass |
1523 | 1523 |
1524 def sample_process(self, name, pid): | 1524 def sample_process(self, name, pid): |
1525 pass | 1525 pass |
1526 | 1526 |
1527 def physical_test_suites(self): | 1527 def physical_test_suites(self): |
1528 return [ | 1528 return [ |
1529 # For example, to turn on force-compositing-mode in the svg/ directo
ry: | 1529 # For example, to turn on force-compositing-mode in the svg/ directo
ry: |
1530 # PhysicalTestSuite('svg', | 1530 # PhysicalTestSuite('svg', |
1531 # ['--force-compositing-mode']), | 1531 # ['--force-compositing-mode']), |
1532 | |
1533 # everything but svg | |
1534 PhysicalTestSuite('accessibility', | |
1535 ['--force-compositing-mode']), | |
1536 PhysicalTestSuite('animations', | |
1537 ['--force-compositing-mode']), | |
1538 PhysicalTestSuite('battery-status', | |
1539 ['--force-compositing-mode']), | |
1540 PhysicalTestSuite('canvas', | |
1541 ['--force-compositing-mode']), | |
1542 PhysicalTestSuite('compositing', | |
1543 ['--force-compositing-mode']), | |
1544 PhysicalTestSuite('crypto', | |
1545 ['--force-compositing-mode']), | |
1546 PhysicalTestSuite('css1', | |
1547 ['--force-compositing-mode']), | |
1548 PhysicalTestSuite('css2.1', | |
1549 ['--force-compositing-mode']), | |
1550 PhysicalTestSuite('css3', | |
1551 ['--force-compositing-mode']), | |
1552 PhysicalTestSuite('cssom', | |
1553 ['--force-compositing-mode']), | |
1554 PhysicalTestSuite('css-parser', | |
1555 ['--force-compositing-mode']), | |
1556 PhysicalTestSuite('dialog', | |
1557 ['--force-compositing-mode']), | |
1558 PhysicalTestSuite('dom', | |
1559 ['--force-compositing-mode']), | |
1560 PhysicalTestSuite('editing', | |
1561 ['--force-compositing-mode']), | |
1562 PhysicalTestSuite('fast', | |
1563 ['--force-compositing-mode']), | |
1564 PhysicalTestSuite('fonts', | |
1565 ['--force-compositing-mode']), | |
1566 PhysicalTestSuite('fullscreen', | |
1567 ['--force-compositing-mode']), | |
1568 PhysicalTestSuite('gamepad', | |
1569 ['--force-compositing-mode']), | |
1570 PhysicalTestSuite('html5lib', | |
1571 ['--force-compositing-mode']), | |
1572 PhysicalTestSuite('http', | |
1573 ['--force-compositing-mode']), | |
1574 PhysicalTestSuite('ietestcenter', | |
1575 ['--force-compositing-mode']), | |
1576 PhysicalTestSuite('inspector', | |
1577 ['--force-compositing-mode']), | |
1578 PhysicalTestSuite('inspector-protocol', | |
1579 ['--force-compositing-mode']), | |
1580 PhysicalTestSuite('jquery', | |
1581 ['--force-compositing-mode']), | |
1582 PhysicalTestSuite('loader', | |
1583 ['--force-compositing-mode']), | |
1584 PhysicalTestSuite('mathml', | |
1585 ['--force-compositing-mode']), | |
1586 PhysicalTestSuite('media', | |
1587 ['--force-compositing-mode']), | |
1588 PhysicalTestSuite('mhtml', | |
1589 ['--force-compositing-mode']), | |
1590 PhysicalTestSuite('perf', | |
1591 ['--force-compositing-mode']), | |
1592 PhysicalTestSuite('permissionclient', | |
1593 ['--force-compositing-mode']), | |
1594 PhysicalTestSuite('platform', | |
1595 ['--force-compositing-mode']), | |
1596 PhysicalTestSuite('plugins', | |
1597 ['--force-compositing-mode']), | |
1598 PhysicalTestSuite('pointer-lock', | |
1599 ['--force-compositing-mode']), | |
1600 PhysicalTestSuite('printing', | |
1601 ['--force-compositing-mode']), | |
1602 PhysicalTestSuite('push_messaging', | |
1603 ['--force-compositing-mode']), | |
1604 PhysicalTestSuite('resources', | |
1605 ['--force-compositing-mode']), | |
1606 PhysicalTestSuite('rubberbanding', | |
1607 ['--force-compositing-mode']), | |
1608 PhysicalTestSuite('screen_orientation', | |
1609 ['--force-compositing-mode']), | |
1610 PhysicalTestSuite('scrollbars', | |
1611 ['--force-compositing-mode']), | |
1612 PhysicalTestSuite('scrollingcoordinator', | |
1613 ['--force-compositing-mode']), | |
1614 PhysicalTestSuite('security', | |
1615 ['--force-compositing-mode']), | |
1616 PhysicalTestSuite('sputnik', | |
1617 ['--force-compositing-mode']), | |
1618 PhysicalTestSuite('storage', | |
1619 ['--force-compositing-mode']), | |
1620 PhysicalTestSuite('svg', | |
1621 ['--force-compositing-mode']), | |
1622 PhysicalTestSuite('tables', | |
1623 ['--force-compositing-mode']), | |
1624 PhysicalTestSuite('third_party', | |
1625 ['--force-compositing-mode']), | |
1626 PhysicalTestSuite('touchadjustment', | |
1627 ['--force-compositing-mode']), | |
1628 PhysicalTestSuite('transforms', | |
1629 ['--force-compositing-mode']), | |
1630 PhysicalTestSuite('transitions', | |
1631 ['--force-compositing-mode']), | |
1632 PhysicalTestSuite('traversal', | |
1633 ['--force-compositing-mode']), | |
1634 PhysicalTestSuite('vibration', | |
1635 ['--force-compositing-mode']), | |
1636 PhysicalTestSuite('virtual', | |
1637 ['--force-compositing-mode']), | |
1638 PhysicalTestSuite('w3c', | |
1639 ['--force-compositing-mode']), | |
1640 PhysicalTestSuite('web-animations-api', | |
1641 ['--force-compositing-mode']), | |
1642 PhysicalTestSuite('webaudio', | |
1643 ['--force-compositing-mode']), | |
1644 PhysicalTestSuite('webexposed', | |
1645 ['--force-compositing-mode']), | |
1646 PhysicalTestSuite('webmidi', | |
1647 ['--force-compositing-mode']), | |
1648 PhysicalTestSuite('xmlviewer', | |
1649 ['--force-compositing-mode']), | |
1650 ] | 1532 ] |
1651 | 1533 |
1652 def virtual_test_suites(self): | 1534 def virtual_test_suites(self): |
1653 return [ | 1535 return [ |
1654 VirtualTestSuite('gpu', | 1536 VirtualTestSuite('gpu', |
1655 'fast/canvas', | 1537 'fast/canvas', |
1656 ['--enable-accelerated-2d-canvas', | 1538 ['--enable-accelerated-2d-canvas', |
1657 '--force-compositing-mode']), | 1539 '--force-compositing-mode']), |
1658 VirtualTestSuite('gpu', | 1540 VirtualTestSuite('gpu', |
1659 'canvas/philip', | 1541 'canvas/philip', |
(...skipping 266 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1926 | 1808 |
1927 class PhysicalTestSuite(object): | 1809 class PhysicalTestSuite(object): |
1928 def __init__(self, base, args): | 1810 def __init__(self, base, args): |
1929 self.name = base | 1811 self.name = base |
1930 self.base = base | 1812 self.base = base |
1931 self.args = args | 1813 self.args = args |
1932 self.tests = set() | 1814 self.tests = set() |
1933 | 1815 |
1934 def __repr__(self): | 1816 def __repr__(self): |
1935 return "PhysicalTestSuite('%s', '%s', %s)" % (self.name, self.base, self
.args) | 1817 return "PhysicalTestSuite('%s', '%s', %s)" % (self.name, self.base, self
.args) |
OLD | NEW |