def testGlslConstructVecMatIndexExpectationOnWin(self): possible_browser = fakes.FakePossibleBrowser() browser = possible_browser.Create() browser.platform = FakeWindowsPlatform() browser.returned_system_info = fakes.FakeSystemInfo( gpu_dict=fake_win_amd_gpu_info.FAKE_GPU_INFO) exps = webgl_conformance_expectations.WebGLConformanceExpectations() test_info = WebGLTestInfo( 'conformance/glsl/constructors/glsl-construct-vec-mat-index.html') expectation = exps.GetExpectationForTest(browser, test_info.url, test_info.name) self.assertEquals(expectation, 'flaky')
def testGlslConstructVecMatIndexExpectationOnWin(self): possible_browser = fakes.FakePossibleBrowser() browser = possible_browser.Create(None) browser.platform = FakeWindowsPlatform() browser.returned_system_info = fakes.FakeSystemInfo( gpu_dict=fake_win_amd_gpu_info.FAKE_GPU_INFO) expectations = webgl_conformance_expectations.\ WebGLConformanceExpectations( os.path.join( path_util.GetChromiumSrcDir(), 'third_party', 'webgl', 'src', 'sdk', 'tests')) page = FakePage( 'conformance/glsl/constructors/glsl-construct-vec-mat-index.html', expectations) expectation = expectations.GetExpectationForPage(browser, page) # TODO(kbr): change this expectation back to "flaky". crbug.com/534697 self.assertEquals(expectation, 'fail')