| 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 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 52 'FrameSwitchingTest.testShouldReturnWindowTitleInAFrameset', | 52 'FrameSwitchingTest.testShouldReturnWindowTitleInAFrameset', |
| 53 'FrameSwitchingTest.testShouldThrowFrameNotFoundExceptionLookingUpSubFramesW
ithSuperFrameNames', | 53 'FrameSwitchingTest.testShouldThrowFrameNotFoundExceptionLookingUpSubFramesW
ithSuperFrameNames', |
| 54 'GetLogsTest.differentLogsShouldNotContainTheSameLogEntries', | 54 'GetLogsTest.differentLogsShouldNotContainTheSameLogEntries', |
| 55 'GetLogsTest.logBufferShouldBeResetAfterEachGetLogCall', | 55 'GetLogsTest.logBufferShouldBeResetAfterEachGetLogCall', |
| 56 'GetLogsTest.turningOffLogShouldMeanNoLogMessages', | 56 'GetLogsTest.turningOffLogShouldMeanNoLogMessages', |
| 57 'I18nTest.testShouldBeAbleToActivateIMEEngine', | 57 'I18nTest.testShouldBeAbleToActivateIMEEngine', |
| 58 # Broken because AddWebStorage.java is broken. | 58 # Broken because AddWebStorage.java is broken. |
| 59 'LocalStorageTest.*', | 59 'LocalStorageTest.*', |
| 60 'LocationContextTest.*', | 60 'LocationContextTest.*', |
| 61 'MiscTest.testShouldBeAbleToGetTheSourceOfAnXmlDocument', | 61 'MiscTest.testShouldBeAbleToGetTheSourceOfAnXmlDocument', |
| 62 'OpacityTest.testShouldBeAbleToClickOnElementsWithOpacityZero', | |
| 63 'PageLoadingTest.shouldBeAbleToDisableAcceptOfInsecureSslCertsWithRequiredCa
pability', | 62 'PageLoadingTest.shouldBeAbleToDisableAcceptOfInsecureSslCertsWithRequiredCa
pability', |
| 64 'PageLoadingTest.testShouldBeAbleToAccessPagesWithAnInsecureSslCertificate', | 63 'PageLoadingTest.testShouldBeAbleToAccessPagesWithAnInsecureSslCertificate', |
| 65 'PageLoadingTest.testShouldNotWaitIndefinitelyIfAnExternalResourceFailsToLoa
d', | 64 'PageLoadingTest.testShouldNotWaitIndefinitelyIfAnExternalResourceFailsToLoa
d', |
| 66 'PageLoadingTest.testShouldTimeoutIfAPageTakesTooLongToLoad', | 65 'PageLoadingTest.testShouldTimeoutIfAPageTakesTooLongToLoad', |
| 67 'PerformanceLoggingTest.testDisabledProfilingDoesNotLog', | 66 'PerformanceLoggingTest.testDisabledProfilingDoesNotLog', |
| 68 'ProxySettingTest.canConfigureProxyWithRequiredCapability', | 67 'ProxySettingTest.canConfigureProxyWithRequiredCapability', |
| 69 'ProxySettingTest.requiredProxyCapabilityShouldHavePriority', | 68 'ProxySettingTest.requiredProxyCapabilityShouldHavePriority', |
| 70 'RenderedWebElementTest.testGetCssValueShouldReturnStandardizedColour', | 69 'RenderedWebElementTest.testGetCssValueShouldReturnStandardizedColour', |
| 71 'RenderedWebElementTest.testShouldAllowInheritedStylesToBeUsed', | 70 'RenderedWebElementTest.testShouldAllowInheritedStylesToBeUsed', |
| 72 'RenderedWebElementTest.testShouldHandleNonIntegerPositionAndSize', | 71 'RenderedWebElementTest.testShouldHandleNonIntegerPositionAndSize', |
| (...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 189 _REVISION_NEGATIVE_FILTER[chrome_version]) | 188 _REVISION_NEGATIVE_FILTER[chrome_version]) |
| 190 passed = set(tests) | 189 passed = set(tests) |
| 191 for f in filters: | 190 for f in filters: |
| 192 passed.difference_update(set(t for t in tests if _TestMatchesFilter(t, f))) | 191 passed.difference_update(set(t for t in tests if _TestMatchesFilter(t, f))) |
| 193 return passed | 192 return passed |
| 194 | 193 |
| 195 def _TestMatchesFilter(test, filter): | 194 def _TestMatchesFilter(test, filter): |
| 196 if '*' in filter: | 195 if '*' in filter: |
| 197 return test[:len(filter) - 1] == test[:-1] | 196 return test[:len(filter) - 1] == test[:-1] |
| 198 return test == filter | 197 return test == filter |
| OLD | NEW |