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

Unified Diff: tools/grit/grit/format/policy_templates/writers/json_writer_unittest.py

Issue 6360002: Remove 'annotations' dictionary in policy_definitions.json. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: better comments Created 9 years, 11 months 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/grit/grit/format/policy_templates/writers/json_writer_unittest.py
diff --git a/tools/grit/grit/format/policy_templates/writers/json_writer_unittest.py b/tools/grit/grit/format/policy_templates/writers/json_writer_unittest.py
index 0d8663417b7fc82497c366be884694fff6529194..a3fc3a2c77f665b53476ad2cb4f51c93a8b38d7a 100644
--- a/tools/grit/grit/format/policy_templates/writers/json_writer_unittest.py
+++ b/tools/grit/grit/format/policy_templates/writers/json_writer_unittest.py
@@ -56,9 +56,7 @@ class JsonWriterUnittest(writer_unittest_common.WriterUnittestCommon):
' "caption": "",'
' "desc": "",'
' "supported_on": ["chrome.linux:8-"],'
- ' "annotations": {'
- ' "example_value": True'
- ' }'
+ ' "example_value": True'
' },'
' ],'
' "placeholders": [],'
@@ -82,9 +80,7 @@ class JsonWriterUnittest(writer_unittest_common.WriterUnittestCommon):
' "caption": "",'
' "desc": "",'
' "supported_on": ["chrome.linux:8-"],'
- ' "annotations": {'
- ' "example_value": "hello, world!"'
- ' }'
+ ' "example_value": "hello, world!"'
' },'
' ],'
' "placeholders": [],'
@@ -108,9 +104,7 @@ class JsonWriterUnittest(writer_unittest_common.WriterUnittestCommon):
' "caption": "",'
' "desc": "",'
' "supported_on": ["chrome.linux:8-"],'
- ' "annotations": {'
- ' "example_value": 15'
- ' }'
+ ' "example_value": 15'
' },'
' ],'
' "placeholders": [],'
@@ -138,9 +132,7 @@ class JsonWriterUnittest(writer_unittest_common.WriterUnittestCommon):
' {"name": "ProxyServerAutoDetect", "value": 1, "caption": ""},'
' ],'
' "supported_on": ["chrome.linux:8-"],'
- ' "annotations": {'
- ' "example_value": 1'
- ' }'
+ ' "example_value": 1'
' },'
' ],'
' "placeholders": [],'
@@ -170,9 +162,7 @@ class JsonWriterUnittest(writer_unittest_common.WriterUnittestCommon):
' "caption": ""},'
' ],'
' "supported_on": ["chrome.linux:8-"],'
- ' "annotations": {'
- ' "example_value": "one"'
- ' }'
+ ' "example_value": "one"'
' },'
' ],'
' "placeholders": [],'
@@ -196,9 +186,7 @@ class JsonWriterUnittest(writer_unittest_common.WriterUnittestCommon):
' "caption": "",'
' "desc": "",'
' "supported_on": ["chrome.linux:8-"],'
- ' "annotations": {'
- ' "example_value": ["foo", "bar"]'
- ' }'
+ ' "example_value": ["foo", "bar"]'
' },'
' ],'
' "placeholders": [],'
@@ -223,9 +211,7 @@ class JsonWriterUnittest(writer_unittest_common.WriterUnittestCommon):
' "caption": "",'
' "desc": "",'
' "supported_on": ["chrome.mac:8-"],'
- ' "annotations": {'
- ' "example_value": ["a"]'
- ' }'
+ ' "example_value": ["a"]'
' },'
' ],'
' "placeholders": [],'
@@ -251,18 +237,14 @@ class JsonWriterUnittest(writer_unittest_common.WriterUnittestCommon):
' "caption": "",'
' "desc": "",'
' "supported_on": ["chrome.linux:8-"],'
- ' "annotations": {'
- ' "example_value": ["a", "b"]'
- ' }'
+ ' "example_value": ["a", "b"]'
' },{'
' "name": "Policy2",'
' "type": "string",'
' "caption": "",'
' "desc": "",'
' "supported_on": ["chrome.linux:8-"],'
- ' "annotations": {'
- ' "example_value": "c"'
- ' }'
+ ' "example_value": "c"'
' }],'
' },'
' ],'

Powered by Google App Engine
This is Rietveld 408576698