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 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
103 'PageLoadingTest.testShouldNotHangIfDocumentOpenCallIsNeverFollowedByDocumen
tCloseCall', | 103 'PageLoadingTest.testShouldNotHangIfDocumentOpenCallIsNeverFollowedByDocumen
tCloseCall', |
104 ] | 104 ] |
105 _OS_NEGATIVE_FILTER['linux'] = [ | 105 _OS_NEGATIVE_FILTER['linux'] = [ |
106 # https://code.google.com/p/chromedriver/issues/detail?id=284 | 106 # https://code.google.com/p/chromedriver/issues/detail?id=284 |
107 'TypingTest.testArrowKeysAndPageUpAndDown', | 107 'TypingTest.testArrowKeysAndPageUpAndDown', |
108 'TypingTest.testHomeAndEndAndPageUpAndPageDownKeys', | 108 'TypingTest.testHomeAndEndAndPageUpAndPageDownKeys', |
109 'TypingTest.testNumberpadKeys', | 109 'TypingTest.testNumberpadKeys', |
110 ] | 110 ] |
111 _OS_NEGATIVE_FILTER['mac'] = [] | 111 _OS_NEGATIVE_FILTER['mac'] = [] |
112 _OS_NEGATIVE_FILTER['android'] = [ | 112 _OS_NEGATIVE_FILTER['android'] = [ |
113 'BasicMouseInterfaceTest.testDoubleClick', | 113 'BasicKeyboardInterfaceTest.*', |
114 'BasicMouseInterfaceTest.testDoubleClickThenGet', | 114 'BasicMouseInterfaceTest.*', |
115 'BasicMouseInterfaceTest.testDragAndDrop', | |
116 'BasicMouseInterfaceTest.testDraggingElementWithMouseFiresEvents', | |
117 'BasicMouseInterfaceTest.testDraggingElementWithMouseMovesItToAnotherList', | |
118 'BasicMouseInterfaceTest.testMoveAndClick', | |
119 'ClickScrollingTest.testShouldBeAbleToClickElementThatIsOutOfViewInANestedFr
ameThatIsOutOfView', | 115 'ClickScrollingTest.testShouldBeAbleToClickElementThatIsOutOfViewInANestedFr
ameThatIsOutOfView', |
120 'ClickScrollingTest.testShouldBeAbleToClickElementThatIsOutOfViewInANestedFr
ame', | 116 'ClickScrollingTest.testShouldBeAbleToClickElementThatIsOutOfViewInANestedFr
ame', |
121 'ClickTest.testCanClickOnAnElementWithTopSetToANegativeNumber', | 117 'ClickTest.testCanClickOnAnElementWithTopSetToANegativeNumber', |
122 'ClickTest.testShouldOnlyFollowHrefOnce', | 118 'ClickTest.testShouldOnlyFollowHrefOnce', |
123 'CombinedInputActionsTest.testCombiningShiftAndClickResultsInANewWindow', | 119 'CombinedInputActionsTest.*', |
124 'CoordinatesTest.testShouldGetCoordinatesInViewPortOfAnElementInAFrame', | 120 'CoordinatesTest.testShouldGetCoordinatesInViewPortOfAnElementInAFrame', |
125 'CoordinatesTest.testShouldGetCoordinatesInViewPortOfAnElementInANestedFrame
', | 121 'CoordinatesTest.testShouldGetCoordinatesInViewPortOfAnElementInANestedFrame
', |
126 'CoordinatesTest.testShouldGetCoordinatesOfAHiddenElement', | 122 'CoordinatesTest.testShouldGetCoordinatesOfAHiddenElement', |
127 'CorrectEventFiringTest.testSendingKeysToAFocusedElementShouldNotBlurThatEle
ment', | 123 'CorrectEventFiringTest.testSendingKeysToAFocusedElementShouldNotBlurThatEle
ment', |
128 'CorrectEventFiringTest.testSendingKeysToAnElementShouldCauseTheFocusEventTo
Fire', | 124 'CorrectEventFiringTest.testSendingKeysToAnElementShouldCauseTheFocusEventTo
Fire', |
129 'CorrectEventFiringTest.testSendingKeysToAnotherElementShouldCauseTheBlurEve
ntToFire', | 125 'CorrectEventFiringTest.testSendingKeysToAnotherElementShouldCauseTheBlurEve
ntToFire', |
130 'CorrectEventFiringTest.testShouldEmitClickEventWhenClickingOnATextInputElem
ent', | 126 'CorrectEventFiringTest.testShouldEmitClickEventWhenClickingOnATextInputElem
ent', |
131 'ElementAttributeTest.testCanRetrieveTheCurrentValueOfATextFormField_emailIn
put', | 127 'ElementAttributeTest.testCanRetrieveTheCurrentValueOfATextFormField_emailIn
put', |
132 'ElementAttributeTest.testCanRetrieveTheCurrentValueOfATextFormField_textAre
a', | 128 'ElementAttributeTest.testCanRetrieveTheCurrentValueOfATextFormField_textAre
a', |
133 'ElementAttributeTest.testCanRetrieveTheCurrentValueOfATextFormField_textInp
ut', | 129 'ElementAttributeTest.testCanRetrieveTheCurrentValueOfATextFormField_textInp
ut', |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
201 | 197 |
202 Returns: | 198 Returns: |
203 Set of passed test names. | 199 Set of passed test names. |
204 """ | 200 """ |
205 filters = (_OS_NEGATIVE_FILTER[operating_system] + | 201 filters = (_OS_NEGATIVE_FILTER[operating_system] + |
206 _REVISION_NEGATIVE_FILTER[chrome_version]) | 202 _REVISION_NEGATIVE_FILTER[chrome_version]) |
207 passed = set(tests) | 203 passed = set(tests) |
208 for f in filters: | 204 for f in filters: |
209 passed.difference_update(set(t for t in tests if fnmatch.fnmatch(t, f))) | 205 passed.difference_update(set(t for t in tests if fnmatch.fnmatch(t, f))) |
210 return passed | 206 return passed |
OLD | NEW |