Fix coverage for units

Description

We have the following lines in coverage.xml. This is fragile, since we have to remember to update for any new units.

Should change to programmatically generate the different sets.

The logic needs to be simpler also. For example:

Target-Plurals is unnecessary, since we won’t generate paths for locales with plurals they don’t support.

<coverageLevel inLanguage="en" value="modern" match="units/unitLength[@type='%unitLengths']/unit[@type='%unitsEnglish']/unitPattern[@count='${Target-Plurals}']"/>

<coverageLevel inLanguage="en" value="modern" match="units/unitLength[@type='%unitLengths']/unit[@type='%unitsEnglish']/displayName"/>

<coverageLevel inLanguage="en" value="modern" match="units/unitLength[@type='%unitLengths']/unit[@type='%unitsEnglish']/gender"/>

<coverageLevel inLanguage="en" value="modern" match="units/unitLength[@type='%unitLengths']/unit[@type='%unitsEnglish']/perUnitPattern"/>

xpath

None

locale

None

Assignee

Mark Davis

Reporter

Mark Davis

Labels

tracReporter

None

tracOwner

None

tracResolution

None

tracStatus

None

Reviewer

None

phase

None

tracCc

None

tracCreated

None

Components

Fix versions

Priority

critical
Configure