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 _REVISION_NEGATIVE_FILTER = {} | 10 _REVISION_NEGATIVE_FILTER = {} |
| (...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 88 'TypingTest.testNonPrintableCharactersShouldWorkWithContentEditableOrDesignM odeSet', | 88 'TypingTest.testNonPrintableCharactersShouldWorkWithContentEditableOrDesignM odeSet', |
| 89 'TypingTest.testShiftSelectionDeletes', | 89 'TypingTest.testShiftSelectionDeletes', |
| 90 'TypingTest.testShouldBeAbleToTypeIntoContentEditableElementWithExistingValu e', | 90 'TypingTest.testShouldBeAbleToTypeIntoContentEditableElementWithExistingValu e', |
| 91 'TypingTest.testShouldNotTypeIntoElementsThatPreventKeyDownEvents', | 91 'TypingTest.testShouldNotTypeIntoElementsThatPreventKeyDownEvents', |
| 92 'TypingTest.testTypingIntoAnIFrameWithContentEditableOrDesignModeSet', | 92 'TypingTest.testTypingIntoAnIFrameWithContentEditableOrDesignModeSet', |
| 93 'UnexpectedAlertBehaviorTest.*', | 93 'UnexpectedAlertBehaviorTest.*', |
| 94 'VisibilityTest.tooSmallAWindowWithOverflowHiddenIsNotAProblem', | 94 'VisibilityTest.tooSmallAWindowWithOverflowHiddenIsNotAProblem', |
| 95 'WebElementTest.testElementReturnsOriginDriver', | 95 'WebElementTest.testElementReturnsOriginDriver', |
| 96 'WindowTest.*', | 96 'WindowTest.*', |
| 97 ] | 97 ] |
| 98 _REVISION_NEGATIVE_FILTER['27'] = [] + _REVISION_NEGATIVE_FILTER['HEAD'] | |
| 98 _REVISION_NEGATIVE_FILTER['26'] = [ | 99 _REVISION_NEGATIVE_FILTER['26'] = [ |
| 99 'UploadTest.testFileUploading', | 100 'UploadTest.testFileUploading', |
| 100 'CorrectEventFiringTest.testUploadingFileShouldFireOnChangeEvent', | 101 'CorrectEventFiringTest.testUploadingFileShouldFireOnChangeEvent', |
| 101 'FormHandlingTest.testShouldBeAbleToAlterTheContentsOfAFileUploadInputElemen t', | 102 'FormHandlingTest.testShouldBeAbleToAlterTheContentsOfAFileUploadInputElemen t', |
| 102 'FormHandlingTest.testShouldBeAbleToUploadTheSameFileTwice', | 103 'FormHandlingTest.testShouldBeAbleToUploadTheSameFileTwice', |
| 103 'FormHandlingTest.testShouldBeAbleToSendKeysToAFileUploadInputElementInAnXht mlDocument', | 104 'FormHandlingTest.testShouldBeAbleToSendKeysToAFileUploadInputElementInAnXht mlDocument', |
| 104 ] + _REVISION_NEGATIVE_FILTER['HEAD'] | 105 ] + _REVISION_NEGATIVE_FILTER['HEAD'] |
| 105 | 106 |
| 106 _OS_NEGATIVE_FILTER = {} | 107 _OS_NEGATIVE_FILTER = {} |
| 107 _OS_NEGATIVE_FILTER['win'] = [ | 108 _OS_NEGATIVE_FILTER['win'] = [ |
| (...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 209 'XPathElementFindingTest.testShouldThrowInvalidSelectorExceptionWhenXPathRet urnsWrongTypeInElementFindElement', | 210 'XPathElementFindingTest.testShouldThrowInvalidSelectorExceptionWhenXPathRet urnsWrongTypeInElementFindElement', |
| 210 'XPathElementFindingTest.testShouldThrowInvalidSelectorExceptionWhenXPathRet urnsWrongTypeInElementFindElements', | 211 'XPathElementFindingTest.testShouldThrowInvalidSelectorExceptionWhenXPathRet urnsWrongTypeInElementFindElements', |
| 211 ] | 212 ] |
| 212 | 213 |
| 213 def GetPassedJavaTestFilter(operating_system, chrome_version): | 214 def GetPassedJavaTestFilter(operating_system, chrome_version): |
| 214 """Returns the test filter for running all passing tests. | 215 """Returns the test filter for running all passing tests. |
| 215 | 216 |
| 216 Args: | 217 Args: |
| 217 operating_system: The operating system, one of 'linux', 'mac', 'win', or | 218 operating_system: The operating system, one of 'linux', 'mac', 'win', or |
| 218 'android'. | 219 'android'. |
| 219 chrome_version: Chrome version to test against, e.g., 'HEAD' or '26'. | 220 chrome_version: Chrome version to test against, e.g., 'HEAD', '27', or '26'. |
|
kkania
2013/04/08 23:34:21
you don't need to include all the options here, si
chrisgao (Use stgao instead)
2013/04/08 23:52:54
Done.
| |
| 220 | 221 |
| 221 Returns: | 222 Returns: |
| 222 Filter string, in Google Test (C++) format. | 223 Filter string, in Google Test (C++) format. |
| 223 """ | 224 """ |
| 224 return '*-' + ':'.join(_OS_NEGATIVE_FILTER[operating_system] + | 225 return '*-' + ':'.join(_OS_NEGATIVE_FILTER[operating_system] + |
| 225 _REVISION_NEGATIVE_FILTER[chrome_version]) | 226 _REVISION_NEGATIVE_FILTER[chrome_version]) |
| OLD | NEW |