| 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 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 114 'BasicMouseInterfaceTest.testDoubleClickThenGet', | 114 'BasicMouseInterfaceTest.testDoubleClickThenGet', |
| 115 'BasicMouseInterfaceTest.testDragAndDrop', | 115 'BasicMouseInterfaceTest.testDragAndDrop', |
| 116 'BasicMouseInterfaceTest.testDraggingElementWithMouseFiresEvents', | 116 'BasicMouseInterfaceTest.testDraggingElementWithMouseFiresEvents', |
| 117 'BasicMouseInterfaceTest.testDraggingElementWithMouseMovesItToAnotherList', | 117 'BasicMouseInterfaceTest.testDraggingElementWithMouseMovesItToAnotherList', |
| 118 'BasicMouseInterfaceTest.testMoveAndClick', | 118 'BasicMouseInterfaceTest.testMoveAndClick', |
| 119 'ClickScrollingTest.testShouldBeAbleToClickElementThatIsOutOfViewInANestedFr
ameThatIsOutOfView', | 119 'ClickScrollingTest.testShouldBeAbleToClickElementThatIsOutOfViewInANestedFr
ameThatIsOutOfView', |
| 120 'ClickScrollingTest.testShouldBeAbleToClickElementThatIsOutOfViewInANestedFr
ame', | 120 'ClickScrollingTest.testShouldBeAbleToClickElementThatIsOutOfViewInANestedFr
ame', |
| 121 'ClickTest.testCanClickOnAnElementWithTopSetToANegativeNumber', | 121 'ClickTest.testCanClickOnAnElementWithTopSetToANegativeNumber', |
| 122 'ClickTest.testShouldOnlyFollowHrefOnce', | 122 'ClickTest.testShouldOnlyFollowHrefOnce', |
| 123 'CombinedInputActionsTest.testCombiningShiftAndClickResultsInANewWindow', | 123 'CombinedInputActionsTest.testCombiningShiftAndClickResultsInANewWindow', |
| 124 'CoordinatesTest.testShouldGetCoordinatesInViewPortOfAnElementInAFrame', |
| 125 'CoordinatesTest.testShouldGetCoordinatesInViewPortOfAnElementInANestedFrame
', |
| 124 'CoordinatesTest.testShouldGetCoordinatesOfAHiddenElement', | 126 'CoordinatesTest.testShouldGetCoordinatesOfAHiddenElement', |
| 125 'CorrectEventFiringTest.testSendingKeysToAFocusedElementShouldNotBlurThatEle
ment', | 127 'CorrectEventFiringTest.testSendingKeysToAFocusedElementShouldNotBlurThatEle
ment', |
| 126 'CorrectEventFiringTest.testSendingKeysToAnElementShouldCauseTheFocusEventTo
Fire', | 128 'CorrectEventFiringTest.testSendingKeysToAnElementShouldCauseTheFocusEventTo
Fire', |
| 127 'CorrectEventFiringTest.testSendingKeysToAnotherElementShouldCauseTheBlurEve
ntToFire', | 129 'CorrectEventFiringTest.testSendingKeysToAnotherElementShouldCauseTheBlurEve
ntToFire', |
| 128 'CorrectEventFiringTest.testShouldEmitClickEventWhenClickingOnATextInputElem
ent', | 130 'CorrectEventFiringTest.testShouldEmitClickEventWhenClickingOnATextInputElem
ent', |
| 129 'ElementAttributeTest.testCanRetrieveTheCurrentValueOfATextFormField_emailIn
put', | 131 'ElementAttributeTest.testCanRetrieveTheCurrentValueOfATextFormField_emailIn
put', |
| 130 'ElementAttributeTest.testCanRetrieveTheCurrentValueOfATextFormField_textAre
a', | 132 'ElementAttributeTest.testCanRetrieveTheCurrentValueOfATextFormField_textAre
a', |
| 131 'ElementAttributeTest.testCanRetrieveTheCurrentValueOfATextFormField_textInp
ut', | 133 'ElementAttributeTest.testCanRetrieveTheCurrentValueOfATextFormField_textInp
ut', |
| 134 'ElementEqualityTest.testAnElementFoundInADifferentFrameViaJsShouldHaveSameI
d', |
| 135 'ElementFindingTest.testAnElementFoundInADifferentFrameIsStale', |
| 136 'ElementFindingTest.testAnElementFoundInADifferentFrameViaJsCanBeUsed', |
| 132 'ElementSelectingTest.testShouldBeAbleToToggleEnabledMultiSelectOption', | 137 'ElementSelectingTest.testShouldBeAbleToToggleEnabledMultiSelectOption', |
| 133 'ExecutingAsyncJavascriptTest.shouldBeAbleToExecuteAsynchronousScripts', | 138 'ExecutingAsyncJavascriptTest.shouldBeAbleToExecuteAsynchronousScripts', |
| 134 'ExecutingAsyncJavascriptTest.shouldNotTimeoutIfScriptCallsbackInsideAZeroTi
meout', | 139 'ExecutingAsyncJavascriptTest.shouldNotTimeoutIfScriptCallsbackInsideAZeroTi
meout', |
| 135 'FormHandlingTest.testSendingKeyboardEventsShouldAppendTextInInputs', | 140 'FormHandlingTest.testSendingKeyboardEventsShouldAppendTextInInputs', |
| 136 'FormHandlingTest.testSendingKeyboardEventsShouldAppendTextInInputsWithExist
ingValue', | 141 'FormHandlingTest.testSendingKeyboardEventsShouldAppendTextInInputsWithExist
ingValue', |
| 137 'FormHandlingTest.testSendingKeyboardEventsShouldAppendTextinTextAreas', | 142 'FormHandlingTest.testSendingKeyboardEventsShouldAppendTextinTextAreas', |
| 138 'FormHandlingTest.testSendKeysKeepsCapitalization', | 143 'FormHandlingTest.testSendKeysKeepsCapitalization', |
| 139 'FormHandlingTest.testShouldBeAbleToClearTextFromInputElements', | 144 'FormHandlingTest.testShouldBeAbleToClearTextFromInputElements', |
| 140 'FormHandlingTest.testShouldBeAbleToClearTextFromTextAreas', | 145 'FormHandlingTest.testShouldBeAbleToClearTextFromTextAreas', |
| 141 'FormHandlingTest.testShouldBeAbleToEnterTextIntoATextAreaBySettingItsValue'
, | 146 'FormHandlingTest.testShouldBeAbleToEnterTextIntoATextAreaBySettingItsValue'
, |
| 142 'FormHandlingTest.testShouldEnterDataIntoFormFields', | 147 'FormHandlingTest.testShouldEnterDataIntoFormFields', |
| 143 'FrameSwitchingTest.testClosingTheFinalBrowserWindowShouldNotCauseAnExceptio
nToBeThrown', | 148 'FrameSwitchingTest.testClosingTheFinalBrowserWindowShouldNotCauseAnExceptio
nToBeThrown', |
| 144 'FrameSwitchingTest.testGetCurrentUrl', | 149 'FrameSwitchingTest.testGetCurrentUrl', |
| 145 'FrameSwitchingTest.testShouldNotSwitchMagicallyToTheTopWindow', | 150 'FrameSwitchingTest.testShouldNotSwitchMagicallyToTheTopWindow', |
| 146 'I18nTest.testEnteringHebrewTextFromLeftToRight', | 151 'I18nTest.testEnteringHebrewTextFromLeftToRight', |
| 147 'I18nTest.testEnteringHebrewTextFromRightToLeft', | 152 'I18nTest.testEnteringHebrewTextFromRightToLeft', |
| 148 'I18nTest.testShouldBeAbleToInputJapanese', | 153 'I18nTest.testShouldBeAbleToInputJapanese', |
| 149 'ImplicitWaitTest.testShouldImplicitlyWaitForAnElementToBeVisibleBeforeInter
acting', | 154 'ImplicitWaitTest.testShouldImplicitlyWaitForAnElementToBeVisibleBeforeInter
acting', |
| 150 'JavascriptEnabledDriverTest.testChangeEventIsFiredAppropriatelyWhenFocusIsL
ost', | 155 'JavascriptEnabledDriverTest.testChangeEventIsFiredAppropriatelyWhenFocusIsL
ost', |
| 151 'JavascriptEnabledDriverTest.testIssue80ClickShouldGenerateClickEvent', | 156 'JavascriptEnabledDriverTest.testIssue80ClickShouldGenerateClickEvent', |
| 152 'JavascriptEnabledDriverTest.testShouldBeAbleToClickALinkThatClosesAWindow', | 157 'JavascriptEnabledDriverTest.testShouldBeAbleToClickALinkThatClosesAWindow', |
| 153 'JavascriptEnabledDriverTest.testShouldFireOnChangeEventWhenSettingAnElement
sValue', | 158 'JavascriptEnabledDriverTest.testShouldFireOnChangeEventWhenSettingAnElement
sValue', |
| 159 'OpacityTest.testShouldBeAbleToClickOnElementsWithOpacityZero', |
| 154 'SelectElementHandlingTest.testShouldBePossibleToDeselectASingleOptionFromAS
electWhichAllowsMultipleChoices', | 160 'SelectElementHandlingTest.testShouldBePossibleToDeselectASingleOptionFromAS
electWhichAllowsMultipleChoices', |
| 155 'SelectElementTest.shouldAllowOptionsToBeDeselectedByIndex', | 161 'SelectElementTest.shouldAllowOptionsToBeDeselectedByIndex', |
| 156 'SelectElementTest.shouldAllowOptionsToBeDeselectedByReturnedValue', | 162 'SelectElementTest.shouldAllowOptionsToBeDeselectedByReturnedValue', |
| 157 'SelectElementTest.shouldAllowUserToDeselectAllWhenSelectSupportsMultipleSel
ections', | 163 'SelectElementTest.shouldAllowUserToDeselectAllWhenSelectSupportsMultipleSel
ections', |
| 158 'SelectElementTest.shouldAllowUserToDeselectOptionsByVisibleText', | 164 'SelectElementTest.shouldAllowUserToDeselectOptionsByVisibleText', |
| 159 'TakesScreenshotTest.testCaptureToBase64', | 165 'TakesScreenshotTest.testCaptureToBase64', |
| 160 'TakesScreenshotTest.testSaveScreenshotAsFile', | 166 'TakesScreenshotTest.testSaveScreenshotAsFile', |
| 161 'TextHandlingTest.testShouldBeAbleToEnterDatesAfterFillingInOtherValuesFirst
', | 167 'TextHandlingTest.testShouldBeAbleToEnterDatesAfterFillingInOtherValuesFirst
', |
| 162 'TextHandlingTest.testShouldBeAbleToSetMoreThanOneLineOfTextInATextArea', | 168 'TextHandlingTest.testShouldBeAbleToSetMoreThanOneLineOfTextInATextArea', |
| 163 'TextHandlingTest.testTextOfATextAreaShouldBeEqualToItsDefaultTextEvenAfterT
yping', | 169 'TextHandlingTest.testTextOfATextAreaShouldBeEqualToItsDefaultTextEvenAfterT
yping', |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 195 | 201 |
| 196 Returns: | 202 Returns: |
| 197 Set of passed test names. | 203 Set of passed test names. |
| 198 """ | 204 """ |
| 199 filters = (_OS_NEGATIVE_FILTER[operating_system] + | 205 filters = (_OS_NEGATIVE_FILTER[operating_system] + |
| 200 _REVISION_NEGATIVE_FILTER[chrome_version]) | 206 _REVISION_NEGATIVE_FILTER[chrome_version]) |
| 201 passed = set(tests) | 207 passed = set(tests) |
| 202 for f in filters: | 208 for f in filters: |
| 203 passed.difference_update(set(t for t in tests if fnmatch.fnmatch(t, f))) | 209 passed.difference_update(set(t for t in tests if fnmatch.fnmatch(t, f))) |
| 204 return passed | 210 return passed |
| OLD | NEW |