# 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: gl
#
# 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; Uxía
name ; locale; gl_AQ

expectedResult; Uxía

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

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; Xiana
name ; surname; Freire
name ; locale; gl_AQ

expectedResult; Freire, Xiana

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; Freire Xiana

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

expectedResult; Xiana Freire

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

expectedResult; Freire, X.

parameters; sorting; short; referring; formal

expectedResult; Freire X.

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

expectedResult; X. Freire

parameters; givenFirst; short; referring; formal

expectedResult; Xiana F.

parameters; givenFirst; short; referring; informal

expectedResult; Freire

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

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

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

expectedResult; XF

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

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

endName

# nativeGGS
name ; given; Brais
name ; given2; Manoel
name ; surname; Souto
name ; locale; gl_AQ

expectedResult; Souto, Brais Manoel

parameters; sorting; long; referring; formal

expectedResult; Brais Manoel Souto

parameters; givenFirst; long; referring; formal

expectedResult; Souto Brais Manoel

parameters; surnameFirst; long; referring; formal

expectedResult; Souto, Brais M.

parameters; sorting; medium; referring; formal

expectedResult; Brais M. Souto

parameters; givenFirst; medium; referring; formal

expectedResult; Souto Brais M.

parameters; surnameFirst; medium; referring; formal

expectedResult; Souto, B. M.

parameters; sorting; short; referring; formal

expectedResult; Souto, Brais

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

expectedResult; B. M. Souto

parameters; givenFirst; short; referring; formal

expectedResult; Brais Souto

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

expectedResult; Souto B. M.

parameters; surnameFirst; short; referring; formal

expectedResult; Souto Brais

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

expectedResult; Brais S.

parameters; givenFirst; short; referring; informal

expectedResult; Souto B.

parameters; surnameFirst; short; referring; informal

expectedResult; Brais

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

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

parameters; surnameFirst; long; monogram; formal

expectedResult; BS

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

expectedResult; SB

parameters; surnameFirst; long; monogram; informal

expectedResult; B

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

expectedResult; S

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

endName

# nativeFull
name ; title; Sr.
name ; given; Xosé Carlos
name ; given-informal; Pepe
name ; given2; Francisco Xavier
name ; surname-prefix; de
name ; surname-core; Castro
name ; surname2; Sáez
name ; locale; gl_AQ

expectedResult; Sr. Xosé Carlos Francisco Xavier de Castro Sáez

parameters; givenFirst; long; referring; formal

expectedResult; Castro Sáez, Xosé Carlos Francisco Xavier de

parameters; sorting; long; referring; formal

expectedResult; de Castro Xosé Carlos Francisco Xavier

parameters; surnameFirst; long; referring; formal

expectedResult; Castro Sáez, Xosé Carlos F. X. de

parameters; sorting; medium; referring; formal

expectedResult; Xosé Carlos F. X. de Castro Sáez

parameters; givenFirst; medium; referring; formal

expectedResult; Castro Sáez, X. C. F. X. de

parameters; sorting; short; referring; formal

expectedResult; de Castro Xosé Carlos F. X.

parameters; surnameFirst; medium; referring; formal

expectedResult; X. C. F. X. de Castro Sáez

parameters; givenFirst; short; referring; formal

expectedResult; de Castro X. C. F. X.

parameters; surnameFirst; short; referring; formal

expectedResult; Castro Sáez, Pepe de

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

expectedResult; Pepe de Castro Sáez

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

expectedResult; Sr. de Castro Sáez

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

expectedResult; de Castro X. C.

parameters; surnameFirst; short; referring; informal

expectedResult; de Castro Pepe

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

expectedResult; Pepe d. C. S.

parameters; givenFirst; short; referring; informal

expectedResult; Sr. de Castro

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

expectedResult; Pepe

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

parameters; surnameFirst; long; monogram; formal

expectedResult; PCS

parameters; givenFirst; long; monogram; informal

expectedResult; XCS

parameters; givenFirst; long; monogram; formal

expectedResult; CP

parameters; surnameFirst; long; monogram; informal

expectedResult; CS

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

expectedResult; C

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

expectedResult; P

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

endName

# foreignG
name ; given; John
name ; locale; ko_AQ

expectedResult; John

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

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; Annelise
name ; surname; Weber
name ; locale; ko_AQ

expectedResult; Weber, Annelise

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; Annelise Weber

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

expectedResult; Weber Annelise

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

expectedResult; Annelise W.

parameters; givenFirst; short; referring; informal

expectedResult; Weber, A.

parameters; sorting; short; referring; formal

expectedResult; A. Weber

parameters; givenFirst; short; referring; formal

expectedResult; Annelise

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; Weber A.

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

expectedResult; Weber

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

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

expectedResult; WA

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

expectedResult; A

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

expectedResult; W

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

endName

# foreignGGS
name ; given; Benno
name ; given2; Hans
name ; surname; Meyer
name ; locale; ko_AQ

expectedResult; Meyer, Benno Hans

parameters; sorting; long; referring; formal

expectedResult; Benno Hans Meyer

parameters; givenFirst; long; referring; formal

expectedResult; Meyer Benno Hans

parameters; surnameFirst; long; referring; formal

expectedResult; Meyer, Benno H.

parameters; sorting; medium; referring; formal

expectedResult; Benno H. Meyer

parameters; givenFirst; medium; referring; formal

expectedResult; Meyer Benno H.

parameters; surnameFirst; medium; referring; formal

expectedResult; Meyer, B. H.

parameters; sorting; short; referring; formal

expectedResult; Meyer, Benno

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

expectedResult; B. H. Meyer

parameters; givenFirst; short; referring; formal

expectedResult; Benno Meyer

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

expectedResult; Meyer B. H.

parameters; surnameFirst; short; referring; formal

expectedResult; Meyer Benno

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

expectedResult; Benno M.

parameters; givenFirst; short; referring; informal

expectedResult; Meyer B.

parameters; surnameFirst; short; referring; informal

expectedResult; Benno

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

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

parameters; surnameFirst; long; monogram; formal

expectedResult; BM

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

expectedResult; MB

parameters; surnameFirst; long; monogram; informal

expectedResult; B

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

expectedResult; M

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

endName

# foreignFull
name ; title; Dra.
name ; given; Erika Cornelia
name ; given-informal; Neele
name ; given2; Anna Isabelle
name ; surname-prefix; von
name ; surname-core; Brül
name ; surname2; Cabral de Melo
name ; generation; II
name ; credentials; MD DDS
name ; locale; ko_AQ

expectedResult; Dra. Erika Cornelia Anna Isabelle von Brül Cabral de Melo II

parameters; givenFirst; long; referring; formal

expectedResult; Brül Cabral de Melo, Erika Cornelia Anna Isabelle von

parameters; sorting; long; referring; formal

expectedResult; Erika Cornelia A. I. von Brül Cabral de Melo II

parameters; givenFirst; medium; referring; formal

expectedResult; Brül Cabral de Melo, Erika Cornelia A. I. von

parameters; sorting; medium; referring; formal

expectedResult; von Brül Erika Cornelia Anna Isabelle II

parameters; surnameFirst; long; referring; formal

expectedResult; Brül Cabral de Melo, E. C. A. I. von

parameters; sorting; short; referring; formal

expectedResult; E. C. A. I. von Brül Cabral de Melo

parameters; givenFirst; short; referring; formal

expectedResult; von Brül Erika Cornelia A. I. II

parameters; surnameFirst; medium; referring; formal

expectedResult; Brül Cabral de Melo, Neele von

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

expectedResult; Neele von Brül Cabral de Melo

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

expectedResult; Dra. von Brül Cabral de Melo

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

expectedResult; Neele v. B. C. d. M.

parameters; givenFirst; short; referring; informal

expectedResult; von Brül E. C. A. I.

parameters; surnameFirst; short; referring; formal

expectedResult; von Brül E. C.

parameters; surnameFirst; short; referring; informal

expectedResult; von Brül Neele

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

expectedResult; Dra. von Brül

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

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

parameters; surnameFirst; long; monogram; formal

expectedResult; EBC

parameters; givenFirst; long; monogram; formal

expectedResult; NBC

parameters; givenFirst; long; monogram; informal

expectedResult; BC

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

expectedResult; BN

parameters; surnameFirst; long; monogram; informal

expectedResult; B

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
