OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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_test_expectations import GpuTestExpectations | 5 from 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 ContextLostExpectations(GpuTestExpectations): | 9 class ContextLostExpectations(GpuTestExpectations): |
10 def SetExpectations(self): | 10 def SetExpectations(self): |
11 # Sample Usage: | 11 # Sample Usage: |
12 # self.Fail('ContextLost.WebGLContextLostFromGPUProcessExit', | 12 # self.Fail('ContextLost.WebGLContextLostFromGPUProcessExit', |
13 # ['mac', 'amd', ('nvidia', 0x1234)], bug=123) | 13 # ['mac', 'amd', ('nvidia', 0x1234)], bug=123) |
14 | 14 |
15 self.Fail('GpuCrash.GPUProcessCrashesExactlyOnce', | 15 self.Fail('GpuCrash.GPUProcessCrashesExactlyOnce', |
16 ['win'], bug=392891) | 16 ['win', 'mac', 'linux'], bug=457217) |
OLD | NEW |