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

Side by Side Diff: chrome/test/chromedriver/test_expectations

Issue 14635005: [chromedriver] Disable recently enabled failing test. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 7 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 # Copyright (c) 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 4
5 """Test expectation list for WebDriver Java acceptance tests. 5 """Test expectation list for WebDriver Java acceptance tests.
6 6
7 It is evaluated through Python. 7 It is evaluated through Python.
8 """ 8 """
9 9
10 import fnmatch 10 import fnmatch
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
154 'SelectElementTest.shouldAllowUserToDeselectOptionsByVisibleText', 154 'SelectElementTest.shouldAllowUserToDeselectOptionsByVisibleText',
155 'SessionHandlingTest.callingAnyOperationAfterClosingTheLastWindowShouldThrow AnException', 155 'SessionHandlingTest.callingAnyOperationAfterClosingTheLastWindowShouldThrow AnException',
156 'TakesScreenshotTest.testCaptureToBase64', 156 'TakesScreenshotTest.testCaptureToBase64',
157 'TakesScreenshotTest.testSaveScreenshotAsFile', 157 'TakesScreenshotTest.testSaveScreenshotAsFile',
158 'TextHandlingTest.testShouldBeAbleToEnterDatesAfterFillingInOtherValuesFirst ', 158 'TextHandlingTest.testShouldBeAbleToEnterDatesAfterFillingInOtherValuesFirst ',
159 'TextHandlingTest.testShouldBeAbleToSetMoreThanOneLineOfTextInATextArea', 159 'TextHandlingTest.testShouldBeAbleToSetMoreThanOneLineOfTextInATextArea',
160 'TextHandlingTest.testTextOfATextAreaShouldBeEqualToItsDefaultTextEvenAfterT yping', 160 'TextHandlingTest.testTextOfATextAreaShouldBeEqualToItsDefaultTextEvenAfterT yping',
161 'TouchFlickTest.*', 161 'TouchFlickTest.*',
162 'TouchScrollTest.*', 162 'TouchScrollTest.*',
163 'TouchSingleTapTest.*', 163 'TouchSingleTapTest.*',
164 # Passes locally but not on bots??
165 'TypingTest.testShouldFireKeyDownEvents',
164 # Test is written using local files; doesn't work on Android. 166 # Test is written using local files; doesn't work on Android.
165 'UploadTest.testFileUploading', 167 'UploadTest.testFileUploading',
166 # Not applicable on Android. 168 # Not applicable on Android.
167 'WindowSwitchingTest.*', 169 'WindowSwitchingTest.*',
168 ] 170 ]
169 171
170 def GetPassedJavaTestFilter(operating_system, chrome_version): 172 def GetPassedJavaTestFilter(operating_system, chrome_version):
171 """Returns the test filter for running all passing tests. 173 """Returns the test filter for running all passing tests.
172 174
173 Args: 175 Args:
(...skipping 18 matching lines...) Expand all
192 194
193 Returns: 195 Returns:
194 Set of passed test names. 196 Set of passed test names.
195 """ 197 """
196 filters = (_OS_NEGATIVE_FILTER[operating_system] + 198 filters = (_OS_NEGATIVE_FILTER[operating_system] +
197 _REVISION_NEGATIVE_FILTER[chrome_version]) 199 _REVISION_NEGATIVE_FILTER[chrome_version])
198 passed = set(tests) 200 passed = set(tests)
199 for f in filters: 201 for f in filters:
200 passed.difference_update(set(t for t in tests if fnmatch.fnmatch(t, f))) 202 passed.difference_update(set(t for t in tests if fnmatch.fnmatch(t, f)))
201 return passed 203 return passed
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698