OLD | NEW |
1 #!/usr/bin/env python | 1 #!/usr/bin/env 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 import json | 6 import json |
7 import unittest | 7 import unittest |
8 | 8 |
9 from extensions_paths import EXTENSIONS | 9 from extensions_paths import EXTENSIONS |
10 from server_instance import ServerInstance | 10 from server_instance import ServerInstance |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
63 'background': { | 63 'background': { |
64 'channel': 'stable', | 64 'channel': 'stable', |
65 'extension_types': ['extension', 'legacy_packaged_app', 'hosted_app'] | 65 'extension_types': ['extension', 'legacy_packaged_app', 'hosted_app'] |
66 }, | 66 }, |
67 'manifest_version': { | 67 'manifest_version': { |
68 'channel': 'stable', | 68 'channel': 'stable', |
69 'extension_types': 'all' | 69 'extension_types': 'all' |
70 }, | 70 }, |
71 'omnibox': { | 71 'omnibox': { |
72 'channel': 'stable', | 72 'channel': 'stable', |
73 'extension_types': ['extension'] | 73 'extension_types': ['extension'], |
| 74 'platforms': ['win'] |
74 }, | 75 }, |
75 'page_action': { | 76 'page_action': { |
76 'channel': 'stable', | 77 'channel': 'stable', |
77 'extension_types': ['extension'] | 78 'extension_types': ['extension'] |
78 }, | 79 }, |
79 'sockets': { | 80 'sockets': { |
80 'channel': 'dev', | 81 'channel': 'dev', |
81 'extension_types': ['platform_app'] | 82 'extension_types': ['platform_app'] |
82 } | 83 } |
83 }), | 84 }), |
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
256 'dependencies': ['api:tabs'] | 257 'dependencies': ['api:tabs'] |
257 } | 258 } |
258 } | 259 } |
259 self.assertEqual( | 260 self.assertEqual( |
260 expected_features, | 261 expected_features, |
261 self._server.features_bundle.GetAPIFeatures().Get()) | 262 self._server.features_bundle.GetAPIFeatures().Get()) |
262 | 263 |
263 | 264 |
264 if __name__ == '__main__': | 265 if __name__ == '__main__': |
265 unittest.main() | 266 unittest.main() |
OLD | NEW |