Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(64)

Unified Diff: tools/json_schema_compiler/test/features_test.json

Issue 2494653005: Support API aliases (Closed)
Patch Set: . Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tools/json_schema_compiler/test/features_generation_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/json_schema_compiler/test/features_test.json
diff --git a/tools/json_schema_compiler/test/features_test.json b/tools/json_schema_compiler/test/features_test.json
index a26901fffce558220bfea71889e644207f7bc9c2..900e9ecc9220e4b7fb3a5fe24c66e02684ecd623 100644
--- a/tools/json_schema_compiler/test/features_test.json
+++ b/tools/json_schema_compiler/test/features_test.json
@@ -74,5 +74,69 @@
"uncompiled": {
"contexts": ["blessed_extension"],
"nocompile": true
+ },
+ "alias": {
+ "channel": "stable",
+ "contexts": ["blessed_extension"],
+ "source": "alias_source"
+ },
+ "alias_source": {
+ "channel": "stable",
+ "contexts": ["blessed_extension"],
+ "alias": "alias"
+ },
+ "complex_alias": [{
+ "channel": "beta",
+ "contexts": ["blessed_extension"],
+ "source": "complex_alias_source"
+ }, {
+ "channel": "dev",
+ "contexts": ["webui"]
+ }],
+ "complex_alias_source": [{
+ "channel": "beta",
+ "contexts": ["blessed_extension"],
+ "alias": "complex_alias"
+ }, {
+ "channel": "dev",
+ "contexts": ["webui"]
+ }],
+ "parent_source" : {
+ "channel": "beta",
+ "contexts": ["blessed_extension"],
+ "alias": "parent_source_alias"
+ },
+ "parent_source.child" : {
+ "channel": "beta",
+ "contexts": ["blessed_extension"]
+ },
+ "parent_source.child_source" : {
+ "channel": "beta",
+ "contexts": ["blessed_extension"],
+ "alias": "parent_source_child_alias"
+ },
+ "parent_source_alias": {
+ "channel": "beta",
+ "contexts": ["blessed_extension"],
+ "source": "parent_source"
+ },
+ "parent_source_child_alias": {
+ "channel": "beta",
+ "contexts": ["blessed_extension"],
+ "source": "parent_source.child_source"
+ },
+ "alias_parent": {
+ "channel": "beta",
+ "contexts": ["blessed_extension"]
+ },
+ "alias_parent.child": {
+ "channel": "beta",
+ "contexts": ["blessed_extension"],
+ "source": "child_source"
+ },
+ "child_source": {
+ "channel": "beta",
+ "contexts": ["blessed_extension"],
+ "alias": "alias_parent.child"
}
}
« no previous file with comments | « tools/json_schema_compiler/test/features_generation_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698