| Index: grit/format/policy_templates/writers/ios_plist_writer_unittest.py
|
| diff --git a/grit/format/policy_templates/writers/ios_plist_writer_unittest.py b/grit/format/policy_templates/writers/ios_plist_writer_unittest.py
|
| index 14a0cab1edc0f641f2616e5c732fce413fab1ad4..4743e4ee04af7aa55b07c3b3e031c1261ee0ab6b 100644
|
| --- a/grit/format/policy_templates/writers/ios_plist_writer_unittest.py
|
| +++ b/grit/format/policy_templates/writers/ios_plist_writer_unittest.py
|
| @@ -180,6 +180,21 @@ class IOSPListWriterUnittest(writer_unittest_common.WriterUnittestCommon):
|
| }
|
| self._VerifyGeneratedOutput(templates, expected)
|
|
|
| + def testStringEnumList(self):
|
| + templates = self._MakeTemplate('StringEnumListPolicy',
|
| + 'string-enum-list', '["a", "b"]',
|
| + '''
|
| + 'items': [
|
| + { 'name': 'Foo', 'value': 'a', 'caption': '' },
|
| + { 'name': 'Bar', 'value': 'b', 'caption': '' },
|
| + ],
|
| + ''')
|
| +
|
| + expected = {
|
| + 'StringEnumListPolicy': [ "a", "b" ],
|
| + }
|
| + self._VerifyGeneratedOutput(templates, expected)
|
| +
|
| def testListOfDictionary(self):
|
| templates = self._MakeTemplate(
|
| 'ManagedBookmarks', 'dict',
|
|
|