New issue
Advanced search Search tips

Issue 759549 link

Starred by 1 user

Issue metadata

Status: Assigned
Owner:
Cc:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

Introduce policy_templates.json PRESUBMIT checking enum values

Project Member Reported by pmarko@chromium.org, Aug 28 2017

Issue description

Enum values in policy_templates.json have a
- 'schema': {'enum': [ 0, 1, 2, .. ], .. }
- 'items': [
    {
     'name': '<NAME>',
     'value': 0,
     'caption': '''<CAPTION>''',
    },
    ...
   ]
Introduce a second PRESUBMIT to check that these match.

 
Summary: Introduce policy_templates.json PRESUBMIT validating 'schema' fields and checking enum values (was: Introduce policy_templates.json PRESUBMIT checking enum values)
Cc: ljusten@chromium.org
Description: Show this description
Description: Show this description
Cc: -ljusten@chromium.org
Summary: Introduce policy_templates.json PRESUBMIT checking enum values (was: Introduce policy_templates.json PRESUBMIT validating 'schema' fields and checking enum values)
Labels: pmarko-backlog

Sign in to add a comment