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

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
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..d345565adf52c3f319ba942bc09e397e9ad23d77 100644
--- a/tools/json_schema_compiler/test/features_test.json
+++ b/tools/json_schema_compiler/test/features_test.json
@@ -74,5 +74,41 @@
"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.alias" : {
+ "channel": "beta",
+ "contexts": ["blessed_extension"],
+ "source": "parent_source"
Devlin 2016/11/23 15:56:14 What would this mean, for a child feature to be a
tbarzic 2016/11/23 20:16:41 OK, I guess I was testing too much things using th
}
}

Powered by Google App Engine
This is Rietveld 408576698