OLD | NEW |
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 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
153 'TakesScreenshotTest.testShouldCaptureScreenshotAtFramePage', | 153 'TakesScreenshotTest.testShouldCaptureScreenshotAtFramePage', |
154 'TakesScreenshotTest.testShouldCaptureScreenshotAtFramePageAfterSwitching', | 154 'TakesScreenshotTest.testShouldCaptureScreenshotAtFramePageAfterSwitching', |
155 'TakesScreenshotTest.testShouldCaptureScreenshotAtIFramePageAfterSwitching', | 155 'TakesScreenshotTest.testShouldCaptureScreenshotAtIFramePageAfterSwitching', |
156 | 156 |
157 # Alerts are not yet supported on Android. | 157 # Alerts are not yet supported on Android. |
158 'AlertsTest.*', | 158 'AlertsTest.*', |
159 | 159 |
160 # http://crbug.com/156390 | 160 # http://crbug.com/156390 |
161 'DragAndDropTest.*', | 161 'DragAndDropTest.*', |
162 | 162 |
163 # Touch events are not yet supported. | 163 # Flick touch events are not yet implemented. |
164 'TouchFlickTest.*', | 164 'TouchFlickTest.*', |
| 165 |
| 166 # Scrolling touch events are not supported. |
165 'TouchScrollTest.*', | 167 'TouchScrollTest.*', |
166 'TouchSingleTapTest.*', | |
167 | 168 |
168 # These tests start multiple sessions, which is not supported on a single | 169 # These tests start multiple sessions, which is not supported on a single |
169 # Android device. | 170 # Android device. |
170 "AvailableLogsTest.shouldBeAbleToEnableProfilerLog", | 171 "AvailableLogsTest.shouldBeAbleToEnableProfilerLog", |
171 "GetLogsTest.turningOffLogShouldMeanNoLogMessages", | 172 "GetLogsTest.turningOffLogShouldMeanNoLogMessages", |
172 "SessionHandlingTest.callingAnyOperationAfterQuitShouldThrowAnException", | 173 "SessionHandlingTest.callingAnyOperationAfterQuitShouldThrowAnException", |
173 "SessionHandlingTest.callingQuitMoreThanOnceOnASessionIsANoOp", | 174 "SessionHandlingTest.callingQuitMoreThanOnceOnASessionIsANoOp", |
174 # Test is written using local files; doesn't work on Android. | 175 # Test is written using local files; doesn't work on Android. |
175 'UploadTest.testFileUploading', | 176 'UploadTest.testFileUploading', |
176 # Not applicable on Chromium Test Shell (doesn't support tabs). | 177 # Not applicable on Chromium Test Shell (doesn't support tabs). |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
210 | 211 |
211 Returns: | 212 Returns: |
212 Set of passed test names. | 213 Set of passed test names. |
213 """ | 214 """ |
214 filters = (_OS_NEGATIVE_FILTER[operating_system] + | 215 filters = (_OS_NEGATIVE_FILTER[operating_system] + |
215 _GetRevisionNegativeFilter(chrome_version)) | 216 _GetRevisionNegativeFilter(chrome_version)) |
216 passed = set(tests) | 217 passed = set(tests) |
217 for f in filters: | 218 for f in filters: |
218 passed.difference_update(set(t for t in tests if fnmatch.fnmatch(t, f))) | 219 passed.difference_update(set(t for t in tests if fnmatch.fnmatch(t, f))) |
219 return passed | 220 return passed |
OLD | NEW |