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