| Index: tools/grit/grit/format/policy_templates/writers/adml_writer_unittest.py
|
| diff --git a/tools/grit/grit/format/policy_templates/writers/adml_writer_unittest.py b/tools/grit/grit/format/policy_templates/writers/adml_writer_unittest.py
|
| index 04a16f53c1a4f12cbeaeda26bc51a307abcca578..dd4d42e1a3fadec3d18102abf6b9a1916d283cc7 100644
|
| --- a/tools/grit/grit/format/policy_templates/writers/adml_writer_unittest.py
|
| +++ b/tools/grit/grit/format/policy_templates/writers/adml_writer_unittest.py
|
| @@ -242,14 +242,14 @@ class AdmlWriterTest(xml_writer_base_unittest.XmlWriterBaseTest):
|
| def testPlatform(self):
|
| # Test that the writer correctly chooses policies of platform Windows.
|
| self.assertTrue(self.writer.IsPolicySupported({
|
| - 'annotations': {
|
| - 'platforms': ['win', 'zzz', 'aaa']
|
| - }
|
| + 'supported_on': [
|
| + {'platforms': ['win', 'zzz']}, {'platforms': ['aaa']}
|
| + ]
|
| }))
|
| self.assertFalse(self.writer.IsPolicySupported({
|
| - 'annotations': {
|
| - 'platforms': ['mac', 'linux', 'aaa']
|
| - }
|
| + 'supported_on': [
|
| + {'platforms': ['mac', 'linux']}, {'platforms': ['aaa']}
|
| + ]
|
| }))
|
|
|
|
|
|
|