| 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 _REVISION_NEGATIVE_FILTER = {} | 10 _REVISION_NEGATIVE_FILTER = {} |
| (...skipping 18 matching lines...) Expand all Loading... |
| 29 'ClickTest.testCanClickOnALinkThatContainsEmbeddedBlockElements', | 29 'ClickTest.testCanClickOnALinkThatContainsEmbeddedBlockElements', |
| 30 'CombinedInputActionsTest.testClickingOnFormElements', | 30 'CombinedInputActionsTest.testClickingOnFormElements', |
| 31 'CombinedInputActionsTest.testHoldingDownShiftKeyWhileClicking', | 31 'CombinedInputActionsTest.testHoldingDownShiftKeyWhileClicking', |
| 32 'CoordinatesTest.testShouldGetCoordinatesInViewPortOfAnElementInAFrame', | 32 'CoordinatesTest.testShouldGetCoordinatesInViewPortOfAnElementInAFrame', |
| 33 'CoordinatesTest.testShouldGetCoordinatesInViewPortOfAnElementInANestedFrame
', | 33 'CoordinatesTest.testShouldGetCoordinatesInViewPortOfAnElementInANestedFrame
', |
| 34 'CoordinatesTest.testShouldScrollPageAndGetCoordinatesOfAnElementThatIsOutOf
ViewPort', | 34 'CoordinatesTest.testShouldScrollPageAndGetCoordinatesOfAnElementThatIsOutOf
ViewPort', |
| 35 'CorrectEventFiringTest.testShouldEmitOnClickEventsWhenSelectingElements', | 35 'CorrectEventFiringTest.testShouldEmitOnClickEventsWhenSelectingElements', |
| 36 'CorrectEventFiringTest.testShouldFireEventsInTheRightOrder', | 36 'CorrectEventFiringTest.testShouldFireEventsInTheRightOrder', |
| 37 'CorrectEventFiringTest.testShouldFireFocusEventWhenClicking', | 37 'CorrectEventFiringTest.testShouldFireFocusEventWhenClicking', |
| 38 'DragAndDropTest.testDragTooFar', | 38 'DragAndDropTest.testDragTooFar', |
| 39 'ElementEqualityTest.testAnElementFoundInADifferentFrameViaJsShouldHaveSameI
d', | |
| 40 'ElementFindingTest.testAnElementFoundInADifferentFrameIsStale', | |
| 41 'ElementFindingTest.testAnElementFoundInADifferentFrameViaJsCanBeUsed', | |
| 42 'ExecutingAsyncJavascriptTest.includesAlertTextInUnhandledAlertException', | 39 'ExecutingAsyncJavascriptTest.includesAlertTextInUnhandledAlertException', |
| 43 'ExecutingAsyncJavascriptTest.throwsIfAlertHappensDuringScript', | 40 'ExecutingAsyncJavascriptTest.throwsIfAlertHappensDuringScript', |
| 44 'ExecutingAsyncJavascriptTest.throwsIfAlertHappensDuringScriptWhichTimesOut'
, | 41 'ExecutingAsyncJavascriptTest.throwsIfAlertHappensDuringScriptWhichTimesOut'
, |
| 45 'ExecutingAsyncJavascriptTest.throwsIfScriptTriggersAlert', | 42 'ExecutingAsyncJavascriptTest.throwsIfScriptTriggersAlert', |
| 46 'ExecutingAsyncJavascriptTest.throwsIfScriptTriggersAlertWhichTimesOut', | 43 'ExecutingAsyncJavascriptTest.throwsIfScriptTriggersAlertWhichTimesOut', |
| 47 'ExecutingJavascriptTest.testShouldThrowExceptionIfExecutingOnNoPage', | 44 'ExecutingJavascriptTest.testShouldThrowExceptionIfExecutingOnNoPage', |
| 48 'FormHandlingTest.handleFormWithJavascriptAction', | 45 'FormHandlingTest.handleFormWithJavascriptAction', |
| 49 'FormHandlingTest.testShouldNotBeAbleToSubmitAFormThatDoesNotExist', | 46 'FormHandlingTest.testShouldNotBeAbleToSubmitAFormThatDoesNotExist', |
| 50 'FrameSwitchingTest.testFrameSearchesShouldBeRelativeToTheCurrentlySelectedF
rame', | 47 'FrameSwitchingTest.testFrameSearchesShouldBeRelativeToTheCurrentlySelectedF
rame', |
| 51 'FrameSwitchingTest.testShouldNotBeAbleToDoAnythingTheFrameIsDeletedFromUnde
rUs', | 48 'FrameSwitchingTest.testShouldNotBeAbleToDoAnythingTheFrameIsDeletedFromUnde
rUs', |
| (...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 189 _REVISION_NEGATIVE_FILTER[chrome_version]) | 186 _REVISION_NEGATIVE_FILTER[chrome_version]) |
| 190 passed = set(tests) | 187 passed = set(tests) |
| 191 for f in filters: | 188 for f in filters: |
| 192 passed.difference_update(set(t for t in tests if _TestMatchesFilter(t, f))) | 189 passed.difference_update(set(t for t in tests if _TestMatchesFilter(t, f))) |
| 193 return passed | 190 return passed |
| 194 | 191 |
| 195 def _TestMatchesFilter(test, filter): | 192 def _TestMatchesFilter(test, filter): |
| 196 if '*' in filter: | 193 if '*' in filter: |
| 197 return test[:len(filter) - 1] == test[:-1] | 194 return test[:len(filter) - 1] == test[:-1] |
| 198 return test == filter | 195 return test == filter |
| OLD | NEW |