| OLD | NEW |
| 1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 from gpu_tests.gpu_test_expectations import GpuTestExpectations | 5 from gpu_tests.gpu_test_expectations import GpuTestExpectations |
| 6 | 6 |
| 7 # See the GpuTestExpectations class for documentation. | 7 # See the GpuTestExpectations class for documentation. |
| 8 | 8 |
| 9 class TraceTestExpectations(GpuTestExpectations): | 9 class TraceTestExpectations(GpuTestExpectations): |
| 10 def SetExpectations(self): | 10 def SetExpectations(self): |
| 11 # Sample Usage: | 11 # Sample Usage: |
| 12 # self.Fail('TraceTest.Canvas2DRedBox', | 12 # self.Fail('TraceTest.Canvas2DRedBox', |
| 13 # ['mac', 'amd', ('nvidia', 0x1234)], bug=123) | 13 # ['mac', 'amd', ('nvidia', 0x1234)], bug=123) |
| 14 self.Flaky('TraceTest.2DCanvasWebGL', ['win'], bug=638744) | 14 self.Fail('TraceTest.2DCanvasWebGL', ['win'], bug=638744) |
| 15 self.Flaky('TraceTest.SolidColorBackground', ['win'], bug=638744) | 15 self.Fail('TraceTest.SolidColorBackground', ['win'], bug=638744) |
| 16 self.Flaky('TraceTest.WebGLGreenTriangle.AA.NoAlpha', ['win'], bug=638744) | 16 self.Fail('TraceTest.WebGLGreenTriangle.AA.NoAlpha', ['win'], bug=638744) |
| 17 self.Flaky('TraceTest.WebGLGreenTriangle.NoAA.Alpha', ['win'], bug=638744) | 17 self.Fail('TraceTest.WebGLGreenTriangle.NoAA.Alpha', ['win'], bug=638744) |
| 18 | 18 |
| 19 | 19 |
| 20 class DeviceTraceTestExpectations(GpuTestExpectations): | 20 class DeviceTraceTestExpectations(GpuTestExpectations): |
| 21 def SetExpectations(self): | 21 def SetExpectations(self): |
| 22 # Device traces are not supported on all machines. | 22 # Device traces are not supported on all machines. |
| 23 self.Skip('*') | 23 self.Skip('*') |
| OLD | NEW |