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 1544 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1555 PhysicalTestSuite('compositing', ['--enable-impl-side-painting']), | 1555 PhysicalTestSuite('compositing', ['--enable-impl-side-painting']), |
1556 PhysicalTestSuite('css1', ['--enable-impl-side-painting']), | 1556 PhysicalTestSuite('css1', ['--enable-impl-side-painting']), |
1557 PhysicalTestSuite('css2.1', ['--enable-impl-side-painting']), | 1557 PhysicalTestSuite('css2.1', ['--enable-impl-side-painting']), |
1558 PhysicalTestSuite('css3', ['--enable-impl-side-painting']), | 1558 PhysicalTestSuite('css3', ['--enable-impl-side-painting']), |
1559 PhysicalTestSuite('cssom', ['--enable-impl-side-painting']), | 1559 PhysicalTestSuite('cssom', ['--enable-impl-side-painting']), |
1560 PhysicalTestSuite('css-parser', ['--enable-impl-side-painting']), | 1560 PhysicalTestSuite('css-parser', ['--enable-impl-side-painting']), |
1561 PhysicalTestSuite('editing', ['--enable-impl-side-painting']), | 1561 PhysicalTestSuite('editing', ['--enable-impl-side-painting']), |
1562 PhysicalTestSuite('fast', ['--enable-impl-side-painting']), | 1562 PhysicalTestSuite('fast', ['--enable-impl-side-painting']), |
1563 PhysicalTestSuite('ietestcenter', ['--enable-impl-side-painting']), | 1563 PhysicalTestSuite('ietestcenter', ['--enable-impl-side-painting']), |
1564 PhysicalTestSuite('svg', ['--enable-impl-side-painting']), | 1564 PhysicalTestSuite('svg', ['--enable-impl-side-painting']), |
1565 PhysicalTestSuite('tables', ['--enable-impl-side-painting']), | |
1566 PhysicalTestSuite('transforms', ['--enable-impl-side-painting']), | 1565 PhysicalTestSuite('transforms', ['--enable-impl-side-painting']), |
1567 ] | 1566 ] |
1568 | 1567 |
1569 def virtual_test_suites(self): | 1568 def virtual_test_suites(self): |
1570 if self._virtual_test_suites is None: | 1569 if self._virtual_test_suites is None: |
1571 path_to_virtual_test_suites = self._filesystem.join(self.layout_test
s_dir(), 'VirtualTestSuites') | 1570 path_to_virtual_test_suites = self._filesystem.join(self.layout_test
s_dir(), 'VirtualTestSuites') |
1572 assert self._filesystem.exists(path_to_virtual_test_suites), 'Layout
Tests/VirtualTestSuites not found' | 1571 assert self._filesystem.exists(path_to_virtual_test_suites), 'Layout
Tests/VirtualTestSuites not found' |
1573 try: | 1572 try: |
1574 test_suite_json = json.loads(self._filesystem.read_text_file(pat
h_to_virtual_test_suites)) | 1573 test_suite_json = json.loads(self._filesystem.read_text_file(pat
h_to_virtual_test_suites)) |
1575 self._virtual_test_suites = [VirtualTestSuite(**d) for d in test
_suite_json] | 1574 self._virtual_test_suites = [VirtualTestSuite(**d) for d in test
_suite_json] |
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1746 | 1745 |
1747 class PhysicalTestSuite(object): | 1746 class PhysicalTestSuite(object): |
1748 def __init__(self, base, args): | 1747 def __init__(self, base, args): |
1749 self.name = base | 1748 self.name = base |
1750 self.base = base | 1749 self.base = base |
1751 self.args = args | 1750 self.args = args |
1752 self.tests = set() | 1751 self.tests = set() |
1753 | 1752 |
1754 def __repr__(self): | 1753 def __repr__(self): |
1755 return "PhysicalTestSuite('%s', '%s', %s)" % (self.name, self.base, self
.args) | 1754 return "PhysicalTestSuite('%s', '%s', %s)" % (self.name, self.base, self
.args) |
OLD | NEW |