# 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: it
#
# 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; Mina
name ; locale; it_AQ

expectedResult; Mina

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

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; Irene
name ; surname; Fabbri
name ; locale; it_AQ

expectedResult; Fabbri, Irene

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; Fabbri Irene

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

expectedResult; Irene Fabbri

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

expectedResult; Fabbri, I.

parameters; sorting; short; referring; formal

expectedResult; Fabbri I.

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

expectedResult; I. Fabbri

parameters; givenFirst; short; referring; formal

expectedResult; Irene F.

parameters; givenFirst; short; referring; informal

expectedResult; Fabbri

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

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

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

expectedResult; IF

parameters; givenFirst; long; monogram; formal
parameters; givenFirst; long; monogram; informal

expectedResult; F

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

expectedResult; I

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

endName

# nativeGGS
name ; given; Gian Carlo
name ; given2; Maria
name ; surname; Conti
name ; locale; it_AQ

expectedResult; Conti, Gian Carlo Maria

parameters; sorting; long; referring; formal

expectedResult; Conti Gian Carlo Maria

parameters; surnameFirst; long; referring; formal

expectedResult; Gian Carlo Maria Conti

parameters; givenFirst; long; referring; formal

expectedResult; Conti, Gian Carlo M.

parameters; sorting; medium; referring; formal

expectedResult; Conti Gian Carlo M.

parameters; surnameFirst; medium; referring; formal

expectedResult; Gian Carlo M. Conti

parameters; givenFirst; medium; referring; formal

expectedResult; Conti, Gian Carlo

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

expectedResult; Conti Gian Carlo

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

expectedResult; Gian Carlo Conti

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

expectedResult; Conti, G. C. M.

parameters; sorting; short; referring; formal

expectedResult; Conti G. C. M.

parameters; surnameFirst; short; referring; formal

expectedResult; G. C. M. Conti

parameters; givenFirst; short; referring; formal

expectedResult; Gian Carlo C.

parameters; givenFirst; short; referring; informal

expectedResult; Conti G. C.

parameters; surnameFirst; short; referring; informal

expectedResult; Gian Carlo

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

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

parameters; surnameFirst; long; monogram; formal

expectedResult; GMC

parameters; givenFirst; long; monogram; formal

expectedResult; CG

parameters; surnameFirst; long; monogram; informal

expectedResult; GC

parameters; givenFirst; long; monogram; informal

expectedResult; C

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

expectedResult; G

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

endName

# nativeFull
name ; title; Sig.
name ; given; Fabio Massimo
name ; given-informal; Max
name ; given2; Carlo Alberto
name ; surname-core; Martini
name ; generation; II
name ; credentials; AD
name ; locale; it_AQ

expectedResult; Sig. Fabio Massimo Carlo Alberto Martini II, AD

parameters; givenFirst; long; referring; formal

expectedResult; Sig. Martini Fabio Massimo Carlo Alberto II, AD

parameters; surnameFirst; long; referring; formal

expectedResult; Martini, Fabio Massimo Carlo Alberto

parameters; sorting; long; referring; formal

expectedResult; Fabio Massimo C. A. Martini II, AD

parameters; givenFirst; medium; referring; formal

expectedResult; Martini Fabio Massimo C. A. II, AD

parameters; surnameFirst; medium; referring; formal

expectedResult; Martini, Fabio Massimo C. A.

parameters; sorting; medium; referring; formal

expectedResult; Martini, F. M. C. A.

parameters; sorting; short; referring; formal

expectedResult; F. M. C. A. Martini

parameters; givenFirst; short; referring; formal

expectedResult; Martini F. M. C. A.

parameters; surnameFirst; short; referring; formal

expectedResult; Martini F. M.

parameters; surnameFirst; short; referring; informal

expectedResult; Martini, Max

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

expectedResult; Sig. Martini

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; Martini Max

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

expectedResult; Max Martini

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

expectedResult; Max M.

parameters; givenFirst; short; referring; informal

expectedResult; FCM

parameters; givenFirst; long; monogram; formal

expectedResult; Max

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

parameters; surnameFirst; long; monogram; formal

expectedResult; MM

parameters; givenFirst; long; monogram; informal
parameters; surnameFirst; long; monogram; informal

expectedResult; M

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

endName

# foreignG
name ; given; Sinbad
name ; locale; ko_AQ

expectedResult; Sinbad

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

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; Julia
name ; surname; Roberts
name ; locale; ko_AQ

expectedResult; Roberts, Julia

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; Julia Roberts

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

expectedResult; Roberts Julia

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

expectedResult; Roberts, J.

parameters; sorting; short; referring; formal

expectedResult; J. Roberts

parameters; givenFirst; short; referring; formal

expectedResult; Roberts J.

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

expectedResult; Julia R.

parameters; givenFirst; short; referring; informal

expectedResult; Roberts

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

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

parameters; givenFirst; long; monogram; formal
parameters; givenFirst; long; monogram; informal

expectedResult; RJ

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

expectedResult; J

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

expectedResult; R

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

endName

# foreignGGS
name ; given; Zäzilia
name ; given2; Hamish
name ; surname; Stöber
name ; locale; ko_AQ

expectedResult; Stöber, Zäzilia Hamish

parameters; sorting; long; referring; formal

expectedResult; Stöber Zäzilia Hamish

parameters; surnameFirst; long; referring; formal

expectedResult; Zäzilia Hamish Stöber

parameters; givenFirst; long; referring; formal

expectedResult; Stöber, Zäzilia H.

parameters; sorting; medium; referring; formal

expectedResult; Stöber Zäzilia H.

parameters; surnameFirst; medium; referring; formal

expectedResult; Zäzilia H. Stöber

parameters; givenFirst; medium; referring; formal

expectedResult; Stöber, Zäzilia

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

expectedResult; Stöber Zäzilia

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

expectedResult; Zäzilia Stöber

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

expectedResult; Stöber, Z. H.

parameters; sorting; short; referring; formal

expectedResult; Stöber Z. H.

parameters; surnameFirst; short; referring; formal

expectedResult; Z. H. Stöber

parameters; givenFirst; short; referring; formal

expectedResult; Zäzilia S.

parameters; givenFirst; short; referring; informal

expectedResult; Stöber Z.

parameters; surnameFirst; short; referring; informal

expectedResult; Zäzilia

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; Stöber

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

parameters; surnameFirst; long; monogram; formal

expectedResult; ZHS

parameters; givenFirst; long; monogram; formal

expectedResult; SZ

parameters; surnameFirst; long; monogram; informal

expectedResult; ZS

parameters; givenFirst; long; monogram; informal

expectedResult; S

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

expectedResult; Z

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

endName

# foreignFull
name ; title; Prof. Dr.
name ; given; Ada Cornelia
name ; given-informal; Neele
name ; given2; César Martín
name ; surname-prefix; von
name ; surname-core; Brühl
name ; surname2; González Domingo
name ; generation; Jr
name ; credentials; MD DDS
name ; locale; ko_AQ

expectedResult; Prof. Dr. Ada Cornelia César Martín von Brühl Jr, MD DDS

parameters; givenFirst; long; referring; formal

expectedResult; Prof. Dr. von Brühl Ada Cornelia César Martín Jr, MD DDS

parameters; surnameFirst; long; referring; formal

expectedResult; Ada Cornelia C. M. von Brühl Jr, MD DDS

parameters; givenFirst; medium; referring; formal

expectedResult; von Brühl Ada Cornelia C. M. Jr, MD DDS

parameters; surnameFirst; medium; referring; formal

expectedResult; von Brühl, Ada Cornelia César Martín

parameters; sorting; long; referring; formal

expectedResult; von Brühl, Ada Cornelia C. M.

parameters; sorting; medium; referring; formal

expectedResult; von Brühl, A. C. C. M.

parameters; sorting; short; referring; formal

expectedResult; A. C. C. M. von Brühl

parameters; givenFirst; short; referring; formal

expectedResult; von Brühl A. C. C. M.

parameters; surnameFirst; short; referring; formal

expectedResult; Prof. Dr. von Brühl

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; von Brühl, Neele

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

expectedResult; Neele von Brühl

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

expectedResult; von Brühl A. C.

parameters; surnameFirst; short; referring; informal

expectedResult; von Brühl Neele

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

expectedResult; Neele v. B.

parameters; givenFirst; short; referring; informal

expectedResult; Neele

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

parameters; givenFirst; long; monogram; formal

expectedResult; BAC

parameters; surnameFirst; long; monogram; formal

expectedResult; BN

parameters; surnameFirst; long; monogram; informal

expectedResult; NB

parameters; givenFirst; long; monogram; informal

expectedResult; B

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

expectedResult; N

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

endName
