Chromium Code Reviews| 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 # Scrolling touch events are not supported. |
| 164 'TouchFlickTest.*', | 164 'TouchFlickTest.*', |
|
frankf
2013/08/06 01:28:21
this doesn't match the comment
craigdh
2013/08/06 22:03:10
Done.
| |
| 165 'TouchScrollTest.*', | 165 'TouchScrollTest.*', |
| 166 'TouchSingleTapTest.*', | |
| 167 | 166 |
| 168 # These tests start multiple sessions, which is not supported on a single | 167 # These tests start multiple sessions, which is not supported on a single |
| 169 # Android device. | 168 # Android device. |
| 170 "AvailableLogsTest.shouldBeAbleToEnableProfilerLog", | 169 "AvailableLogsTest.shouldBeAbleToEnableProfilerLog", |
| 171 "GetLogsTest.turningOffLogShouldMeanNoLogMessages", | 170 "GetLogsTest.turningOffLogShouldMeanNoLogMessages", |
| 172 "SessionHandlingTest.callingAnyOperationAfterQuitShouldThrowAnException", | 171 "SessionHandlingTest.callingAnyOperationAfterQuitShouldThrowAnException", |
| 173 "SessionHandlingTest.callingQuitMoreThanOnceOnASessionIsANoOp", | 172 "SessionHandlingTest.callingQuitMoreThanOnceOnASessionIsANoOp", |
| 174 # Test is written using local files; doesn't work on Android. | 173 # Test is written using local files; doesn't work on Android. |
| 175 'UploadTest.testFileUploading', | 174 'UploadTest.testFileUploading', |
| 176 # Not applicable on Chromium Test Shell (doesn't support tabs). | 175 # Not applicable on Chromium Test Shell (doesn't support tabs). |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 210 | 209 |
| 211 Returns: | 210 Returns: |
| 212 Set of passed test names. | 211 Set of passed test names. |
| 213 """ | 212 """ |
| 214 filters = (_OS_NEGATIVE_FILTER[operating_system] + | 213 filters = (_OS_NEGATIVE_FILTER[operating_system] + |
| 215 _GetRevisionNegativeFilter(chrome_version)) | 214 _GetRevisionNegativeFilter(chrome_version)) |
| 216 passed = set(tests) | 215 passed = set(tests) |
| 217 for f in filters: | 216 for f in filters: |
| 218 passed.difference_update(set(t for t in tests if fnmatch.fnmatch(t, f))) | 217 passed.difference_update(set(t for t in tests if fnmatch.fnmatch(t, f))) |
| 219 return passed | 218 return passed |
| OLD | NEW |