Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(62)

Side by Side Diff: content/test/gpu/gpu_tests/test_expectations_unittest.py

Issue 1407643003: Fix WebGL 2.0 expectations and skip a test with an assertion failure. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 # Copyright 2013 The Chromium Authors. All rights reserved. 1 # Copyright 2013 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 import unittest 4 import unittest
5 5
6 import test_expectations 6 import test_expectations
7 7
8 from telemetry.page import page as page_module 8 from telemetry.page import page as page_module
9 from telemetry.story import story_set 9 from telemetry.story import story_set
10 10
(...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after
215 page = page_module.Page('file://conformance\\attribs\\page14.html', ps) 215 page = page_module.Page('file://conformance\\attribs\\page14.html', ps)
216 self.assertExpectationEquals('pass', page) 216 self.assertExpectationEquals('pass', page)
217 self.assertExpectationEquals('fail', page, StubPlatform('win')) 217 self.assertExpectationEquals('fail', page, StubPlatform('win'))
218 218
219 def testExplicitPathsHavePrecedenceOverWildcards(self): 219 def testExplicitPathsHavePrecedenceOverWildcards(self):
220 ps = story_set.StorySet() 220 ps = story_set.StorySet()
221 page = page_module.Page('http://test.com/conformance/glsl/page00.html', ps) 221 page = page_module.Page('http://test.com/conformance/glsl/page00.html', ps)
222 self.assertExpectationEquals('fail', page) 222 self.assertExpectationEquals('fail', page)
223 page = page_module.Page('http://test.com/conformance/glsl/page15.html', ps) 223 page = page_module.Page('http://test.com/conformance/glsl/page15.html', ps)
224 self.assertExpectationEquals('skip', page) 224 self.assertExpectationEquals('skip', page)
225
226 def testQueryArgsAreStrippedFromFileURLs(self):
227 ps = story_set.StorySet()
228 page = page_module.Page(
229 'file://conformance/glsl/page15.html?webglVersion=2', ps)
230 self.assertExpectationEquals('skip', page)
OLDNEW
« no previous file with comments | « content/test/gpu/gpu_tests/test_expectations.py ('k') | content/test/gpu/gpu_tests/webgl2_conformance_expectations.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698