OLD | NEW |
1 # Copyright 2013 The Chromium Authors. All rights reserved. | 1 # Copyright 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 import json | 5 import json |
6 | 6 |
7 from extensions_paths import CHROME_EXTENSIONS | 7 from extensions_paths import CHROME_EXTENSIONS |
8 from test_file_system import MoveAllTo | 8 from test_file_system import MoveAllTo |
9 from test_util import ReadFile | 9 from test_util import ReadFile |
10 | 10 |
(...skipping 14 matching lines...) Expand all Loading... |
25 '', | 25 '', |
26 '// Some description here.', | 26 '// Some description here.', |
27 'namespace fakeTabs {', | 27 'namespace fakeTabs {', |
28 ' dictionary WasImplicitlyInlinedType {};', | 28 ' dictionary WasImplicitlyInlinedType {};', |
29 ' interface Functions {', | 29 ' interface Functions {', |
30 ' static void myFunc(WasImplicitlyInlinedType arg);', | 30 ' static void myFunc(WasImplicitlyInlinedType arg);', |
31 ' };', | 31 ' };', |
32 '};']) | 32 '};']) |
33 | 33 |
34 TABS_SCHEMA_BRANCHES = MoveAllTo(CHROME_EXTENSIONS, { | 34 TABS_SCHEMA_BRANCHES = MoveAllTo(CHROME_EXTENSIONS, { |
35 'trunk': { | 35 'master': { |
36 'docs': { | 36 'docs': { |
37 'templates': { | 37 'templates': { |
38 'json': { | 38 'json': { |
39 'api_availabilities.json': '{}', | 39 'api_availabilities.json': '{}', |
40 'intro_tables.json': '{}' | 40 'intro_tables.json': '{}' |
41 } | 41 } |
42 } | 42 } |
43 }, | 43 }, |
44 'api': { | 44 'api': { |
45 '_api_features.json': json.dumps({ | 45 '_api_features.json': json.dumps({ |
(...skipping 1438 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1484 ] | 1484 ] |
1485 }]) | 1485 }]) |
1486 } | 1486 } |
1487 }, | 1487 }, |
1488 '782': { | 1488 '782': { |
1489 'api': { | 1489 'api': { |
1490 'extension_api.json': "{}" | 1490 'extension_api.json': "{}" |
1491 } | 1491 } |
1492 } | 1492 } |
1493 }) | 1493 }) |
OLD | NEW |