# Test data for unit conversions
#  Copyright © 1991-2023 Unicode, Inc.
#  For terms of use, see http://www.unicode.org/copyright.html
#  SPDX-License-Identifier: Unicode-DFS-2016
#  CLDR data files are interpreted according to the LDML specification (http://unicode.org/reports/tr35/)
#
# CLDR person name formatting test data for: zh_Hant_HK
#
# Test lines have the following structure:
#
# enum ; <type> ; <value>(', ' <value)
#   For all the elements in <…> below, the possible choices that could appear in the file.
#   For example, <field> could be any of title, given, … credentials.
#   Verify that all of these values work with the implementation.
#
# name ; <field>('-'<modifier>) ; <value>
#   A sequence of these is to be used to build a person name object with the given field values.
#   If the <field> is 'locale', then the value is the locale of the name.
#     That will always be the last field in the name.
#     NOTE: the locale for the name (where different than the test file's locale) will generally not match the text.
#     It is chosen to exercise the person name formatting, by having a different given-surname order than the file's locale.
#
# expectedResult; <value>
#   This line follows a sequence of name lines, and indicates the that all the following parameter lines have this expected value.
#
# parameters; <options>; <length>; <usage>; <formality>
#   Each of these parameter lines should be tested to see that when formatting the current name with these parameters, 
#   the expected value is produced.
#
# endName
#   Indicates the end of the values to be tested with the current name.
#
# =====
# Example:
#     enum ; field ; title, given, given2, surname, surname2, generation, credentials
#     …
#
#     name ; given; Iris
#     name ; surname; Falke
#     name ; locale; de
#
#     expectedResult; Falke, Iris
#
#     parameters; sorting; long; referring; formal
#     parameters; sorting; medium; referring; informal
#
#     endName
#
#     name ; given; Max
#     name ; given2; Ben
#     name ; surname; Mustermann
#     …
# =====

enum ; field ; title, given, given2, surname, surname2, generation, credentials
enum ; modifiers ; informal, allCaps, initialCap, initial, retain, monogram, prefix, core, vocative, genitive
enum ; order ; givenFirst, surnameFirst, sorting
enum ; length ; long, medium, short
enum ; usage ; referring, addressing, monogram
enum ; formality ; formal, informal

# nativeG
name ; given; 文傑
name ; locale; zh_Hant_HK

expectedResult; 文傑

parameters; givenFirst; long; referring; formal
parameters; givenFirst; long; referring; informal
parameters; givenFirst; long; addressing; formal
parameters; givenFirst; long; addressing; informal
parameters; givenFirst; medium; referring; formal
parameters; givenFirst; medium; referring; informal
parameters; givenFirst; medium; addressing; formal
parameters; givenFirst; medium; addressing; informal
parameters; givenFirst; short; referring; formal
parameters; givenFirst; short; referring; informal
parameters; givenFirst; short; addressing; formal
parameters; givenFirst; short; addressing; informal
parameters; surnameFirst; long; referring; formal
parameters; surnameFirst; long; referring; informal
parameters; surnameFirst; long; addressing; formal
parameters; surnameFirst; long; addressing; informal
parameters; surnameFirst; medium; referring; formal
parameters; surnameFirst; medium; referring; informal
parameters; surnameFirst; medium; addressing; formal
parameters; surnameFirst; medium; addressing; informal
parameters; surnameFirst; short; referring; formal
parameters; surnameFirst; short; referring; informal
parameters; surnameFirst; short; addressing; formal
parameters; surnameFirst; short; addressing; informal
parameters; sorting; long; referring; formal
parameters; sorting; long; referring; informal
parameters; sorting; medium; referring; formal
parameters; sorting; medium; referring; informal
parameters; sorting; short; referring; formal
parameters; sorting; short; referring; informal

expectedResult; 文

parameters; givenFirst; long; monogram; formal
parameters; givenFirst; long; monogram; informal
parameters; givenFirst; medium; monogram; formal
parameters; givenFirst; medium; monogram; informal
parameters; givenFirst; short; monogram; formal
parameters; givenFirst; short; monogram; informal
parameters; surnameFirst; long; monogram; formal
parameters; surnameFirst; long; monogram; informal
parameters; surnameFirst; medium; monogram; formal
parameters; surnameFirst; medium; monogram; informal
parameters; surnameFirst; short; monogram; formal
parameters; surnameFirst; short; monogram; informal

endName

# nativeGS
name ; given; 雅婷
name ; surname; 張
name ; locale; zh_Hant_HK

expectedResult; 張雅.婷.

parameters; surnameFirst; short; referring; formal
parameters; surnameFirst; short; referring; informal

expectedResult; 雅婷張.

parameters; givenFirst; short; referring; informal

expectedResult; 張雅婷

parameters; surnameFirst; long; referring; formal
parameters; surnameFirst; long; referring; informal
parameters; surnameFirst; medium; referring; formal
parameters; surnameFirst; medium; referring; informal
parameters; sorting; long; referring; formal
parameters; sorting; long; referring; informal
parameters; sorting; medium; referring; formal
parameters; sorting; medium; referring; informal
parameters; sorting; short; referring; formal
parameters; sorting; short; referring; informal

expectedResult; 雅婷張

parameters; givenFirst; long; referring; formal
parameters; givenFirst; long; referring; informal
parameters; givenFirst; medium; referring; formal
parameters; givenFirst; medium; referring; informal
parameters; givenFirst; short; referring; formal

expectedResult; 張雅

parameters; surnameFirst; long; monogram; formal
parameters; surnameFirst; long; monogram; informal
parameters; surnameFirst; medium; monogram; informal

expectedResult; 雅婷

parameters; givenFirst; long; addressing; informal
parameters; givenFirst; medium; addressing; informal
parameters; givenFirst; short; addressing; informal
parameters; surnameFirst; long; addressing; informal
parameters; surnameFirst; medium; addressing; informal
parameters; surnameFirst; short; addressing; informal

expectedResult; 雅張

parameters; givenFirst; long; monogram; formal
parameters; givenFirst; long; monogram; informal
parameters; givenFirst; medium; monogram; formal
parameters; givenFirst; medium; monogram; informal
parameters; givenFirst; short; monogram; formal
parameters; givenFirst; short; monogram; informal

expectedResult; 張

parameters; givenFirst; long; addressing; formal
parameters; givenFirst; medium; addressing; formal
parameters; givenFirst; short; addressing; formal
parameters; surnameFirst; long; addressing; formal
parameters; surnameFirst; medium; addressing; formal
parameters; surnameFirst; medium; monogram; formal
parameters; surnameFirst; short; addressing; formal
parameters; surnameFirst; short; monogram; formal

expectedResult; 雅

parameters; surnameFirst; short; monogram; informal

endName

# nativeGGS
name ; given; 家豪
name ; given2; 明德
name ; surname; 林
name ; locale; zh_Hant_HK

expectedResult; 林家.豪.明.

parameters; surnameFirst; short; referring; formal

expectedResult; 家豪明德林

parameters; givenFirst; long; referring; formal
parameters; givenFirst; medium; referring; formal
parameters; givenFirst; short; referring; formal

expectedResult; 林家.豪.

parameters; surnameFirst; short; referring; informal

expectedResult; 林家豪明.

parameters; surnameFirst; medium; referring; formal

expectedResult; 林家豪明德

parameters; surnameFirst; long; referring; formal
parameters; sorting; long; referring; formal

expectedResult; 家豪林.

parameters; givenFirst; short; referring; informal

expectedResult; 家明林

parameters; givenFirst; long; monogram; formal
parameters; givenFirst; long; monogram; informal
parameters; givenFirst; medium; monogram; formal
parameters; givenFirst; medium; monogram; informal
parameters; givenFirst; short; monogram; formal
parameters; givenFirst; short; monogram; informal

expectedResult; 家豪林

parameters; givenFirst; long; referring; informal
parameters; givenFirst; medium; referring; informal

expectedResult; 林家明

parameters; surnameFirst; long; monogram; formal
parameters; surnameFirst; long; monogram; informal
parameters; surnameFirst; medium; monogram; informal

expectedResult; 林家豪

parameters; surnameFirst; long; referring; informal
parameters; surnameFirst; medium; referring; informal
parameters; sorting; long; referring; informal
parameters; sorting; medium; referring; formal
parameters; sorting; medium; referring; informal
parameters; sorting; short; referring; formal
parameters; sorting; short; referring; informal

expectedResult; 家豪

parameters; givenFirst; long; addressing; informal
parameters; givenFirst; medium; addressing; informal
parameters; givenFirst; short; addressing; informal
parameters; surnameFirst; long; addressing; informal
parameters; surnameFirst; medium; addressing; informal
parameters; surnameFirst; short; addressing; informal

expectedResult; 家

parameters; surnameFirst; short; monogram; informal

expectedResult; 林

parameters; givenFirst; long; addressing; formal
parameters; givenFirst; medium; addressing; formal
parameters; givenFirst; short; addressing; formal
parameters; surnameFirst; long; addressing; formal
parameters; surnameFirst; medium; addressing; formal
parameters; surnameFirst; medium; monogram; formal
parameters; surnameFirst; short; addressing; formal
parameters; surnameFirst; short; monogram; formal

endName

# nativeFull
name ; title; 先生
name ; given; 雅婷
name ; given-informal; 婷婷
name ; given2; 婷婷
name ; surname-core; 王
name ; generation; 二世
name ; credentials; 議員
name ; locale; zh_Hant_HK

expectedResult; 先生雅婷婷婷王二世,議員

parameters; givenFirst; long; referring; formal
parameters; givenFirst; medium; referring; formal
parameters; givenFirst; short; referring; formal

expectedResult; 王雅婷婷.二世，議員

parameters; surnameFirst; medium; referring; formal

expectedResult; 王雅婷婷婷二世議員

parameters; surnameFirst; long; referring; formal

expectedResult; 王雅.婷.婷.

parameters; surnameFirst; short; referring; formal

expectedResult; 王雅.婷.

parameters; surnameFirst; short; referring; informal

expectedResult; 王雅婷婷婷

parameters; sorting; long; referring; formal

expectedResult; 婷婷王.

parameters; givenFirst; short; referring; informal

expectedResult; 婷婷王

parameters; givenFirst; long; referring; informal
parameters; givenFirst; medium; referring; informal

expectedResult; 王先生

parameters; givenFirst; long; addressing; formal
parameters; givenFirst; medium; addressing; formal
parameters; givenFirst; short; addressing; formal
parameters; surnameFirst; long; addressing; formal
parameters; surnameFirst; medium; addressing; formal
parameters; surnameFirst; short; addressing; formal

expectedResult; 王婷婷

parameters; surnameFirst; long; referring; informal
parameters; surnameFirst; medium; referring; informal
parameters; sorting; long; referring; informal
parameters; sorting; medium; referring; informal
parameters; sorting; short; referring; informal

expectedResult; 王雅婷

parameters; surnameFirst; long; monogram; formal
parameters; surnameFirst; long; monogram; informal
parameters; surnameFirst; medium; monogram; informal
parameters; sorting; medium; referring; formal
parameters; sorting; short; referring; formal

expectedResult; 雅婷王

parameters; givenFirst; long; monogram; formal
parameters; givenFirst; long; monogram; informal
parameters; givenFirst; medium; monogram; formal
parameters; givenFirst; medium; monogram; informal
parameters; givenFirst; short; monogram; formal
parameters; givenFirst; short; monogram; informal

expectedResult; 婷婷

parameters; givenFirst; long; addressing; informal
parameters; givenFirst; medium; addressing; informal
parameters; givenFirst; short; addressing; informal
parameters; surnameFirst; long; addressing; informal
parameters; surnameFirst; medium; addressing; informal
parameters; surnameFirst; short; addressing; informal

expectedResult; 婷

parameters; surnameFirst; short; monogram; informal

expectedResult; 王

parameters; surnameFirst; medium; monogram; formal
parameters; surnameFirst; short; monogram; formal

endName

# foreignG
name ; given; 雅婷
name ; locale; fr_AQ

expectedResult; 雅婷

parameters; givenFirst; long; referring; formal
parameters; givenFirst; long; referring; informal
parameters; givenFirst; long; addressing; formal
parameters; givenFirst; long; addressing; informal
parameters; givenFirst; medium; referring; formal
parameters; givenFirst; medium; referring; informal
parameters; givenFirst; medium; addressing; formal
parameters; givenFirst; medium; addressing; informal
parameters; givenFirst; short; referring; formal
parameters; givenFirst; short; referring; informal
parameters; givenFirst; short; addressing; formal
parameters; givenFirst; short; addressing; informal
parameters; surnameFirst; long; referring; formal
parameters; surnameFirst; long; referring; informal
parameters; surnameFirst; long; addressing; formal
parameters; surnameFirst; long; addressing; informal
parameters; surnameFirst; medium; referring; formal
parameters; surnameFirst; medium; referring; informal
parameters; surnameFirst; medium; addressing; formal
parameters; surnameFirst; medium; addressing; informal
parameters; surnameFirst; short; referring; formal
parameters; surnameFirst; short; referring; informal
parameters; surnameFirst; short; addressing; formal
parameters; surnameFirst; short; addressing; informal
parameters; sorting; long; referring; formal
parameters; sorting; long; referring; informal
parameters; sorting; medium; referring; formal
parameters; sorting; medium; referring; informal
parameters; sorting; short; referring; formal
parameters; sorting; short; referring; informal

expectedResult; 雅

parameters; givenFirst; long; monogram; formal
parameters; givenFirst; long; monogram; informal
parameters; givenFirst; medium; monogram; formal
parameters; givenFirst; medium; monogram; informal
parameters; givenFirst; short; monogram; formal
parameters; givenFirst; short; monogram; informal
parameters; surnameFirst; long; monogram; formal
parameters; surnameFirst; long; monogram; informal
parameters; surnameFirst; medium; monogram; formal
parameters; surnameFirst; medium; monogram; informal
parameters; surnameFirst; short; monogram; formal
parameters; surnameFirst; short; monogram; informal

endName

# foreignGS
name ; given; 雅婷
name ; surname; 王
name ; locale; fr_AQ

expectedResult; 王·雅.·婷.

parameters; surnameFirst; short; referring; formal

expectedResult; 王雅.·婷.

parameters; surnameFirst; short; referring; informal

expectedResult; 王·雅婷

parameters; surnameFirst; long; referring; formal
parameters; sorting; long; referring; formal
parameters; sorting; medium; referring; formal
parameters; sorting; short; referring; formal
parameters; sorting; short; referring; informal

expectedResult; 雅婷·王

parameters; givenFirst; long; referring; formal
parameters; givenFirst; medium; referring; formal
parameters; givenFirst; short; referring; formal

expectedResult; 雅婷王.

parameters; givenFirst; short; referring; informal

expectedResult; 王雅婷

parameters; surnameFirst; long; referring; informal
parameters; surnameFirst; medium; referring; formal
parameters; surnameFirst; medium; referring; informal
parameters; sorting; long; referring; informal
parameters; sorting; medium; referring; informal

expectedResult; 雅婷王

parameters; givenFirst; long; referring; informal
parameters; givenFirst; medium; referring; informal

expectedResult; 王雅

parameters; surnameFirst; long; monogram; formal
parameters; surnameFirst; long; monogram; informal
parameters; surnameFirst; medium; monogram; informal

expectedResult; 雅婷

parameters; givenFirst; long; addressing; informal
parameters; givenFirst; medium; addressing; informal
parameters; givenFirst; short; addressing; informal
parameters; surnameFirst; long; addressing; informal
parameters; surnameFirst; medium; addressing; informal
parameters; surnameFirst; short; addressing; informal

expectedResult; 雅王

parameters; givenFirst; long; monogram; formal
parameters; givenFirst; long; monogram; informal
parameters; givenFirst; medium; monogram; formal
parameters; givenFirst; medium; monogram; informal
parameters; givenFirst; short; monogram; formal
parameters; givenFirst; short; monogram; informal

expectedResult; 王

parameters; givenFirst; long; addressing; formal
parameters; givenFirst; medium; addressing; formal
parameters; givenFirst; short; addressing; formal
parameters; surnameFirst; long; addressing; formal
parameters; surnameFirst; medium; addressing; formal
parameters; surnameFirst; medium; monogram; formal
parameters; surnameFirst; short; addressing; formal
parameters; surnameFirst; short; monogram; formal

expectedResult; 雅

parameters; surnameFirst; short; monogram; informal

endName

# foreignGGS
name ; given; 雅婷
name ; given2; 婷婷
name ; surname; 王
name ; locale; fr_AQ

expectedResult; 王·雅.·婷.·婷.

parameters; surnameFirst; short; referring; formal

expectedResult; 王·雅婷·婷婷

parameters; surnameFirst; long; referring; formal
parameters; sorting; long; referring; formal

expectedResult; 雅婷·婷婷·王

parameters; givenFirst; long; referring; formal
parameters; givenFirst; medium; referring; formal
parameters; givenFirst; short; referring; formal

expectedResult; 王雅.·婷.

parameters; surnameFirst; short; referring; informal

expectedResult; 王雅婷婷.

parameters; surnameFirst; medium; referring; formal

expectedResult; 王·雅婷

parameters; sorting; medium; referring; formal
parameters; sorting; short; referring; formal
parameters; sorting; short; referring; informal

expectedResult; 雅婷王.

parameters; givenFirst; short; referring; informal

expectedResult; 王雅婷

parameters; surnameFirst; long; referring; informal
parameters; surnameFirst; long; monogram; formal
parameters; surnameFirst; long; monogram; informal
parameters; surnameFirst; medium; referring; informal
parameters; surnameFirst; medium; monogram; informal
parameters; sorting; long; referring; informal
parameters; sorting; medium; referring; informal

expectedResult; 雅婷王

parameters; givenFirst; long; referring; informal
parameters; givenFirst; long; monogram; formal
parameters; givenFirst; long; monogram; informal
parameters; givenFirst; medium; referring; informal
parameters; givenFirst; medium; monogram; formal
parameters; givenFirst; medium; monogram; informal
parameters; givenFirst; short; monogram; formal
parameters; givenFirst; short; monogram; informal

expectedResult; 雅婷

parameters; givenFirst; long; addressing; informal
parameters; givenFirst; medium; addressing; informal
parameters; givenFirst; short; addressing; informal
parameters; surnameFirst; long; addressing; informal
parameters; surnameFirst; medium; addressing; informal
parameters; surnameFirst; short; addressing; informal

expectedResult; 王

parameters; givenFirst; long; addressing; formal
parameters; givenFirst; medium; addressing; formal
parameters; givenFirst; short; addressing; formal
parameters; surnameFirst; long; addressing; formal
parameters; surnameFirst; medium; addressing; formal
parameters; surnameFirst; medium; monogram; formal
parameters; surnameFirst; short; addressing; formal
parameters; surnameFirst; short; monogram; formal

expectedResult; 雅

parameters; surnameFirst; short; monogram; informal

endName

# foreignFull
name ; title; 博士
name ; given; 怡君
name ; given-informal; 小君
name ; given2; 達印
name ; surname-prefix; 馮
name ; surname-core; 陳
name ; generation; 二世
name ; credentials; 醫學博士
name ; locale; fr_AQ

expectedResult; 博士·怡君·達印·馮·陳·二世,·醫學博士

parameters; givenFirst; long; referring; formal
parameters; givenFirst; medium; referring; formal
parameters; givenFirst; short; referring; formal

expectedResult; 馮·陳怡君達.·印.二世，醫學博士

parameters; surnameFirst; medium; referring; formal

expectedResult; 馮·陳·怡君·達印·二世醫學博士

parameters; surnameFirst; long; referring; formal

expectedResult; 馮·陳·怡.·君.·達.·印.

parameters; surnameFirst; short; referring; formal

expectedResult; 馮·陳·怡君·達印

parameters; sorting; long; referring; formal

expectedResult; 馮·陳怡.·君.

parameters; surnameFirst; short; referring; informal

expectedResult; 小君馮.·陳.

parameters; givenFirst; short; referring; informal

expectedResult; 馮·陳·博士

parameters; givenFirst; long; addressing; formal
parameters; givenFirst; medium; addressing; formal
parameters; givenFirst; short; addressing; formal

expectedResult; 馮·陳·小君

parameters; sorting; short; referring; informal

expectedResult; 馮·陳·怡君

parameters; sorting; medium; referring; formal
parameters; sorting; short; referring; formal

expectedResult; 小君馮·陳

parameters; givenFirst; long; referring; informal
parameters; givenFirst; medium; referring; informal

expectedResult; 馮·陳博士

parameters; surnameFirst; long; addressing; formal
parameters; surnameFirst; medium; addressing; formal
parameters; surnameFirst; short; addressing; formal

expectedResult; 馮·陳小君

parameters; surnameFirst; long; referring; informal
parameters; surnameFirst; medium; referring; informal
parameters; sorting; long; referring; informal
parameters; sorting; medium; referring; informal

expectedResult; 怡達馮

parameters; givenFirst; long; monogram; formal
parameters; givenFirst; long; monogram; informal
parameters; givenFirst; medium; monogram; formal
parameters; givenFirst; medium; monogram; informal
parameters; givenFirst; short; monogram; formal
parameters; givenFirst; short; monogram; informal

expectedResult; 馮怡達

parameters; surnameFirst; long; monogram; formal
parameters; surnameFirst; long; monogram; informal
parameters; surnameFirst; medium; monogram; informal

expectedResult; 小君

parameters; givenFirst; long; addressing; informal
parameters; givenFirst; medium; addressing; informal
parameters; givenFirst; short; addressing; informal
parameters; surnameFirst; long; addressing; informal
parameters; surnameFirst; medium; addressing; informal
parameters; surnameFirst; short; addressing; informal

expectedResult; 小

parameters; surnameFirst; short; monogram; informal

expectedResult; 馮

parameters; surnameFirst; medium; monogram; formal
parameters; surnameFirst; short; monogram; formal

endName
