Chromium Code Reviews| Index: tools/chrome_proxy/webdriver/decorator_smoke.py |
| diff --git a/tools/chrome_proxy/webdriver/decorator_smoke.py b/tools/chrome_proxy/webdriver/decorator_smoke.py |
| index bf2f82ffa09a6f78fa1118f57aa486a416337647..0441798c350f70e2b0ac49de9a2471357c70b218 100644 |
| --- a/tools/chrome_proxy/webdriver/decorator_smoke.py |
| +++ b/tools/chrome_proxy/webdriver/decorator_smoke.py |
| @@ -3,6 +3,8 @@ |
| # found in the LICENSE file. |
| from decorators import AndroidOnly |
| +from decorators import ChromeVersionAfterM |
| +from decorators import ChromeVersionBeforeM |
| from common import ParseFlags |
| from common import IntegrationTest |
| @@ -19,6 +21,15 @@ class DecoratorSmokeTest(IntegrationTest): |
| if not ParseFlags().android: |
| self.AndroidOnlyFunction() |
| + @ChromeVersionBeforeM(0) |
|
bengr
2017/05/05 17:53:28
Hmm. Maybe call this ChromeMaximumMilestone or Chr
|
| + def testVersionBeforeDecorator(self): |
| + self.fail('This function should not be called when the Chrome Milestone is ' |
| + 'greater than 0') |
| + |
| + @ChromeVersionAfterM(999999999) |
| + def testVersionAfterDecorator(self): |
| + self.fail('This function should not be called when the Chrome Milestone is ' |
| + 'less than 999999999') |
| if __name__ == '__main__': |
| IntegrationTest.RunAllTests() |