StructureThere are currently 4 directories in common/testData. Each has a _readme.txt with copyright information for all the files in that directory. The format of the files in the directory is either in the individual data files, or in the _readme.txt - localeIdentifiers — generated data for use by clients
- localeCanonicalization.txt
- localeDisplayName.txt
- segmentation — curated data used in CLDR testing, and can be used by clients
- graphemeCluster
- TestSegmenter-Bengali.txt
- TestSegmenter-Devanagari.txt
- ...
- transforms — curated data used in CLDR testing, and can be used by clients
- am-fonipa-t-am.txt
- am-Latn-t-am-m0-bgn.txt
- am-t-am-fonipa.txt
- ...
- units — generated data for use by clients
- unitPreferencesTest.txt
- unitsTest.txt
GenerationTo produce the generated data (units/ and localeIdentifiers/): - units/
- run TestUnits with -DTestUnits:GENERATE_TESTS, and copy the relevant sections into the two files as per generated instructions. Compare, verify, and commit.
- localeIdentifiers/
- localeCanonicalization.txt
- run GenerateLocaleIDTestData.java. It will generate the file in place.
- localeDisplayName.txt
- run TestLocaleDisplay.java -v. Copy the section under TestLocaleDisplay into the file (after the header).
Issues |
|