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 11 matching lines...) Expand all Loading... |
22 'BasicMouseInterfaceTest.testMousePositionIsNotPreservedInActionsChain', | 22 'BasicMouseInterfaceTest.testMousePositionIsNotPreservedInActionsChain', |
23 'BasicMouseInterfaceTest.testMovingIntoAnImageEnclosedInALink', | 23 'BasicMouseInterfaceTest.testMovingIntoAnImageEnclosedInALink', |
24 'BasicMouseInterfaceTest.testMovingMouseBackAndForthPastViewPort', | 24 'BasicMouseInterfaceTest.testMovingMouseBackAndForthPastViewPort', |
25 'BasicMouseInterfaceTest.testMovingMousePastViewPort', | 25 'BasicMouseInterfaceTest.testMovingMousePastViewPort', |
26 'ClickScrollingTest.testShouldNotBeAbleToClickElementThatIsOutOfViewInANonSc
rollableFrame', | 26 'ClickScrollingTest.testShouldNotBeAbleToClickElementThatIsOutOfViewInANonSc
rollableFrame', |
27 'ClickScrollingTest.testShouldNotScrollIfAlreadyScrolledAndElementIsInView', | 27 'ClickScrollingTest.testShouldNotScrollIfAlreadyScrolledAndElementIsInView', |
28 'ClickTest.testCanClickAnImageMapArea', | 28 'ClickTest.testCanClickAnImageMapArea', |
29 'ClickTest.testCanClickOnALinkThatContainsEmbeddedBlockElements', | 29 'ClickTest.testCanClickOnALinkThatContainsEmbeddedBlockElements', |
30 'CombinedInputActionsTest.testClickingOnFormElements', | 30 'CombinedInputActionsTest.testClickingOnFormElements', |
31 'CombinedInputActionsTest.testHoldingDownShiftKeyWhileClicking', | 31 'CombinedInputActionsTest.testHoldingDownShiftKeyWhileClicking', |
32 'CoordinatesTest.testShouldGetCoordinatesInViewPortOfAnElementInAFrame', | |
33 'CoordinatesTest.testShouldGetCoordinatesInViewPortOfAnElementInANestedFrame
', | |
34 'CoordinatesTest.testShouldScrollPageAndGetCoordinatesOfAnElementThatIsOutOf
ViewPort', | 32 'CoordinatesTest.testShouldScrollPageAndGetCoordinatesOfAnElementThatIsOutOf
ViewPort', |
35 'CorrectEventFiringTest.testShouldEmitOnClickEventsWhenSelectingElements', | 33 'CorrectEventFiringTest.testShouldEmitOnClickEventsWhenSelectingElements', |
36 'CorrectEventFiringTest.testShouldFireEventsInTheRightOrder', | 34 'CorrectEventFiringTest.testShouldFireEventsInTheRightOrder', |
37 'CorrectEventFiringTest.testShouldFireFocusEventWhenClicking', | 35 'CorrectEventFiringTest.testShouldFireFocusEventWhenClicking', |
38 'DragAndDropTest.testDragTooFar', | 36 'DragAndDropTest.testDragTooFar', |
39 'ExecutingAsyncJavascriptTest.includesAlertTextInUnhandledAlertException', | 37 'ExecutingAsyncJavascriptTest.includesAlertTextInUnhandledAlertException', |
40 'ExecutingAsyncJavascriptTest.throwsIfAlertHappensDuringScript', | 38 'ExecutingAsyncJavascriptTest.throwsIfAlertHappensDuringScript', |
41 'ExecutingAsyncJavascriptTest.throwsIfAlertHappensDuringScriptWhichTimesOut'
, | 39 'ExecutingAsyncJavascriptTest.throwsIfAlertHappensDuringScriptWhichTimesOut'
, |
42 'ExecutingAsyncJavascriptTest.throwsIfScriptTriggersAlert', | 40 'ExecutingAsyncJavascriptTest.throwsIfScriptTriggersAlert', |
43 'ExecutingAsyncJavascriptTest.throwsIfScriptTriggersAlertWhichTimesOut', | 41 'ExecutingAsyncJavascriptTest.throwsIfScriptTriggersAlertWhichTimesOut', |
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
185 _REVISION_NEGATIVE_FILTER[chrome_version]) | 183 _REVISION_NEGATIVE_FILTER[chrome_version]) |
186 passed = set(tests) | 184 passed = set(tests) |
187 for f in filters: | 185 for f in filters: |
188 passed.difference_update(set(t for t in tests if _TestMatchesFilter(t, f))) | 186 passed.difference_update(set(t for t in tests if _TestMatchesFilter(t, f))) |
189 return passed | 187 return passed |
190 | 188 |
191 def _TestMatchesFilter(test, filter): | 189 def _TestMatchesFilter(test, filter): |
192 if '*' in filter: | 190 if '*' in filter: |
193 return test[:len(filter) - 1] == test[:-1] | 191 return test[:len(filter) - 1] == test[:-1] |
194 return test == filter | 192 return test == filter |
OLD | NEW |