| OLD | NEW |
| 1 #!/usr/bin/python | 1 #!/usr/bin/python |
| 2 # Copyright 2013 The Chromium Authors. All rights reserved. | 2 # Copyright 2013 The Chromium Authors. All rights reserved. |
| 3 # Use of this source code is governed by a BSD-style license that can be | 3 # Use of this source code is governed by a BSD-style license that can be |
| 4 # found in the LICENSE file. | 4 # found in the LICENSE file. |
| 5 | 5 |
| 6 """Host-driven Java tests which exercise sync functionality.""" | 6 """Host-driven Java tests which exercise sync functionality.""" |
| 7 | 7 |
| 8 from pylib import constants | 8 from pylib import constants |
| 9 from pylib.host_driven import test_case | 9 from pylib.host_driven import test_case |
| 10 from pylib.host_driven import test_server | 10 from pylib.host_driven import test_server |
| (...skipping 30 matching lines...) Expand all Loading... |
| 41 for test_name in test_names: | 41 for test_name in test_names: |
| 42 full_names.append('SyncTest.' + test_name) | 42 full_names.append('SyncTest.' + test_name) |
| 43 return self._RunJavaTestFilters(full_names, self.additional_flags) | 43 return self._RunJavaTestFilters(full_names, self.additional_flags) |
| 44 | 44 |
| 45 @tests_annotations.Feature(['Sync']) | 45 @tests_annotations.Feature(['Sync']) |
| 46 @tests_annotations.EnormousTest | 46 @tests_annotations.EnormousTest |
| 47 def testGetAboutSyncInfoYieldsValidData(self): | 47 def testGetAboutSyncInfoYieldsValidData(self): |
| 48 java_tests = ['testGetAboutSyncInfoYieldsValidData'] | 48 java_tests = ['testGetAboutSyncInfoYieldsValidData'] |
| 49 return self._RunSyncTests(java_tests) | 49 return self._RunSyncTests(java_tests) |
| 50 | 50 |
| 51 @tests_annotations.Feature(['Sync']) | 51 # Disabled for http://crbug.com/309997 |
| 52 @tests_annotations.EnormousTest | 52 # @tests_annotations.Feature(['Sync']) |
| 53 # @tests_annotations.EnormousTest |
| 54 @tests_annotations.DisabledTest |
| 53 def testAboutSyncPageDisplaysCurrentSyncStatus(self): | 55 def testAboutSyncPageDisplaysCurrentSyncStatus(self): |
| 54 java_tests = ['testAboutSyncPageDisplaysCurrentSyncStatus'] | 56 java_tests = ['testAboutSyncPageDisplaysCurrentSyncStatus'] |
| 55 return self._RunSyncTests(java_tests) | 57 return self._RunSyncTests(java_tests) |
| 56 | 58 |
| 57 # Disabled for http://crbug.com/311091 | 59 # Disabled for http://crbug.com/311091 |
| 58 # @tests_annotations.Feature(['Sync']) | 60 # @tests_annotations.Feature(['Sync']) |
| 59 # @tests_annotations.EnormousTest | 61 # @tests_annotations.EnormousTest |
| 60 @tests_annotations.DisabledTest | 62 @tests_annotations.DisabledTest |
| 61 def testDisableAndEnableSync(self): | 63 def testDisableAndEnableSync(self): |
| 62 java_tests = ['testDisableAndEnableSync'] | 64 java_tests = ['testDisableAndEnableSync'] |
| 63 return self._RunSyncTests(java_tests) | 65 return self._RunSyncTests(java_tests) |
| OLD | NEW |