# Test data for Person Name Data
#  Copyright © 1991-2024 Unicode, Inc.
#  For terms of use, see http://www.unicode.org/copyright.html
#  SPDX-License-Identifier: Unicode-3.0
#  CLDR data files are interpreted according to the LDML specification (http://unicode.org/reports/tr35/)
# CLDR person name formatting test data for: zh
#
# 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_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

# nativeGS
name ; given; 安怡
name ; surname; 张
name ; locale; zh_AQ

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
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; surnameFirst; short; referring; formal
parameters; surnameFirst; short; 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; monogram; formal
parameters; givenFirst; long; 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; long; monogram; formal
parameters; surnameFirst; long; monogram; informal

expectedResult; 安

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

expectedResult; 张

parameters; givenFirst; long; addressing; formal
parameters; givenFirst; medium; addressing; formal
parameters; givenFirst; medium; monogram; formal
parameters; givenFirst; short; addressing; formal
parameters; givenFirst; short; monogram; 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

# nativeGGS
name ; given; 俊年
name ; given2; 杰思
name ; surname; 陈
name ; locale; zh_AQ

expectedResult; 俊年杰思陈

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

expectedResult; 陈俊年杰思

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

expectedResult; 俊年陈

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

expectedResult; 俊杰陈

parameters; givenFirst; long; monogram; formal

expectedResult; 陈俊年

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

expectedResult; 陈俊杰

parameters; surnameFirst; long; monogram; formal

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; informal

expectedResult; 陈俊

parameters; surnameFirst; long; monogram; informal

expectedResult; 俊

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

expectedResult; 陈

parameters; givenFirst; long; addressing; formal
parameters; givenFirst; medium; addressing; formal
parameters; givenFirst; medium; monogram; formal
parameters; givenFirst; short; addressing; formal
parameters; givenFirst; short; monogram; 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_AQ

expectedResult; 小彭德威东升议员先生

parameters; surnameFirst; long; referring; formal

expectedResult; 小德威东升彭议员先生

parameters; givenFirst; long; referring; formal

expectedResult; 小彭德威东升议员

parameters; surnameFirst; medium; referring; formal

expectedResult; 小德威东升彭议员

parameters; givenFirst; medium; referring; formal

expectedResult; 彭德威东升

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

expectedResult; 彭德东升

parameters; sorting; short; referring; formal

expectedResult; 德东升彭

parameters; givenFirst; short; referring; formal

expectedResult; 小德彭

parameters; givenFirst; long; referring; informal
parameters; givenFirst; medium; referring; informal
parameters; givenFirst; short; 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

expectedResult; 彭德威

parameters; surnameFirst; short; referring; informal

expectedResult; 德东彭

parameters; givenFirst; long; monogram; formal

expectedResult; 小彭

parameters; givenFirst; long; 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; long; monogram; informal

expectedResult; 小

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

expectedResult; 彭

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

endName

# foreignG
name ; given; 辛巴达
name ; locale; en_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; en_AQ

expectedResult; 克·特·米勒

parameters; givenFirst; short; referring; formal

expectedResult; 米勒·克·特

parameters; sorting; short; referring; formal

expectedResult; 克特·米勒

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

expectedResult; 米勒·克特

parameters; surnameFirst; long; referring; formal
parameters; surnameFirst; long; referring; informal
parameters; surnameFirst; medium; referring; formal
parameters; surnameFirst; medium; referring; informal
parameters; surnameFirst; short; referring; formal
parameters; surnameFirst; short; 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; informal

expectedResult; 克特·米

parameters; givenFirst; 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; givenFirst; long; monogram; formal
parameters; givenFirst; long; monogram; informal

expectedResult; 米克

parameters; surnameFirst; long; monogram; formal
parameters; surnameFirst; long; 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; short; addressing; formal

expectedResult; 克

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

expectedResult; 米

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

endName

# foreignGGS
name ; given; 塞西莉亚
name ; given2; 哈米什
name ; surname; 施托贝尔
name ; locale; en_AQ

expectedResult; 塞·西·莉·亚·哈·米·什·施托贝尔

parameters; givenFirst; short; referring; formal

expectedResult; 施托贝尔·塞·西·莉·亚·哈·米·什

parameters; sorting; short; referring; formal

expectedResult; 塞西莉亚·哈·米·什·施托贝尔

parameters; givenFirst; medium; referring; formal

expectedResult; 施托贝尔·塞西莉亚·哈·米·什

parameters; surnameFirst; medium; referring; formal
parameters; sorting; medium; referring; formal

expectedResult; 塞西莉亚·哈米什·施托贝尔

parameters; givenFirst; long; referring; formal

expectedResult; 施托贝尔·塞西莉亚·哈米什

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

expectedResult; 塞西莉亚·施·托·贝

parameters; givenFirst; short; referring; informal

expectedResult; 塞西莉亚·施托贝尔

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

expectedResult; 施托贝尔·塞西莉亚

parameters; surnameFirst; long; referring; informal
parameters; surnameFirst; medium; referring; informal
parameters; surnameFirst; short; referring; informal
parameters; sorting; long; referring; informal
parameters; sorting; medium; referring; informal
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; 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; givenFirst; long; monogram; formal

expectedResult; 施塞哈

parameters; surnameFirst; long; monogram; formal

expectedResult; 塞施

parameters; givenFirst; long; monogram; informal

expectedResult; 施塞

parameters; surnameFirst; long; monogram; informal

expectedResult; 塞

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

expectedResult; 施

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

endName

# foreignFull
name ; title; 教授
name ; given; 艾达·科妮莉亚
name ; given-informal; 尼尔
name ; given2; 塞萨尔·马丁
name ; surname-prefix; 冯
name ; surname-core; 布鲁赫
name ; generation; 小
name ; credentials; 博士
name ; locale; en_AQ

expectedResult; 小冯·布鲁赫·艾达·科妮莉亚·塞萨尔·马丁·博士教授

parameters; surnameFirst; long; referring; formal

expectedResult; 小艾达·科妮莉亚·塞萨尔·马丁·冯·布鲁赫博士教授

parameters; givenFirst; long; referring; formal

expectedResult; 布鲁赫·艾·达·科·妮·莉·亚·塞·萨·马·冯

parameters; sorting; short; referring; formal

expectedResult; 艾·达·科·妮·莉·亚·塞·萨·马·冯·布鲁赫

parameters; givenFirst; short; referring; formal

expectedResult; 小冯·布鲁赫·艾达·科妮莉亚·塞·萨·马博士

parameters; surnameFirst; medium; referring; formal

expectedResult; 小艾达·科妮莉亚·塞·萨·马·冯·布鲁赫博士

parameters; givenFirst; medium; referring; formal

expectedResult; 冯·布鲁赫·艾达·科妮莉亚·塞萨尔·马丁

parameters; surnameFirst; short; referring; formal

expectedResult; 布鲁赫·艾达·科妮莉亚·塞萨尔·马丁·冯

parameters; sorting; long; referring; formal

expectedResult; 布鲁赫·艾达·科妮莉亚·塞·萨·马·冯

parameters; sorting; medium; referring; formal

expectedResult; 冯·布鲁赫·艾达·科妮莉亚

parameters; surnameFirst; short; referring; informal

expectedResult; 尼尔·冯·布·鲁·赫

parameters; givenFirst; short; referring; informal

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; 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; monogram; formal

expectedResult; 艾塞冯

parameters; givenFirst; long; monogram; formal

expectedResult; 冯尼

parameters; surnameFirst; long; monogram; informal

expectedResult; 尼冯

parameters; givenFirst; long; 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; medium; monogram; formal
parameters; givenFirst; short; monogram; formal
parameters; surnameFirst; medium; monogram; formal
parameters; surnameFirst; short; monogram; formal

expectedResult; 尼

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

endName
