# 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: fi
#
# 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; Louhi
name ; locale; fi_AQ

expectedResult; Louhi

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

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; Seppo
name ; surname; Ilmarinen
name ; locale; fi_AQ

expectedResult; Ilmarinen, Seppo

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; Ilmarinen Seppo

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

expectedResult; Seppo Ilmarinen

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

expectedResult; Ilmarinen, S.

parameters; sorting; short; referring; formal

expectedResult; Ilmarinen S.

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

expectedResult; S. Ilmarinen

parameters; givenFirst; short; referring; formal

expectedResult; Ilmarinen

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; Seppo I.

parameters; givenFirst; short; referring; informal

expectedResult; Seppo

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

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

expectedResult; SI

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

expectedResult; I

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

expectedResult; S

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

endName

# nativeGGS
name ; given; Ulrika
name ; given2; Wilhelmina
name ; surname; Canth
name ; locale; fi_AQ

expectedResult; Canth, Ulrika Wilhelmina

parameters; sorting; long; referring; formal

expectedResult; Canth Ulrika Wilhelmina

parameters; surnameFirst; long; referring; formal

expectedResult; Ulrika Wilhelmina Canth

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

expectedResult; Canth, Ulrika W.

parameters; sorting; medium; referring; formal

expectedResult; Canth, Ulrika

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

expectedResult; Canth Ulrika

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

expectedResult; Canth, U. W.

parameters; sorting; short; referring; formal

expectedResult; Ulrika Canth

parameters; givenFirst; long; referring; informal

expectedResult; Canth U. W.

parameters; surnameFirst; short; referring; formal

expectedResult; U. W. Canth

parameters; givenFirst; short; referring; formal

expectedResult; Ulrika C.

parameters; givenFirst; short; referring; informal

expectedResult; Canth U.

parameters; surnameFirst; short; referring; informal

expectedResult; Ulrika

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

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

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

expectedResult; UWC

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

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

endName

# nativeFull
name ; given; Marja-Liisa
name ; given-informal; Maikki
name ; given2; Katariina
name ; surname-core; Lehtola-Aalto
name ; credentials; kansanedustaja
name ; locale; fi_AQ

expectedResult; Lehtola-Aalto Marja-Liisa Katariina, kansanedustaja

parameters; surnameFirst; long; referring; formal

expectedResult; Marja-Liisa Katariina Lehtola-Aalto kansanedustaja

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

expectedResult; Lehtola-Aalto, Marja-Liisa Katariina

parameters; sorting; long; referring; formal

expectedResult; Marja-Liisa Katariina Lehtola-Aalto

parameters; givenFirst; medium; referring; informal

expectedResult; Lehtola-Aalto, Marja-Liisa K.

parameters; sorting; medium; referring; formal

expectedResult; Lehtola-Aalto Marja-Liisa

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

expectedResult; Marja-Liisa Lehtola-Aalto

parameters; givenFirst; long; referring; informal

expectedResult; Lehtola-Aalto, M. L. K.

parameters; sorting; short; referring; formal

expectedResult; Lehtola-Aalto M. L. K.

parameters; surnameFirst; short; referring; formal

expectedResult; M. L. K. Lehtola-Aalto

parameters; givenFirst; short; referring; formal

expectedResult; Lehtola-Aalto, Maikki

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

expectedResult; Lehtola-Aalto M. L.

parameters; surnameFirst; short; referring; informal

expectedResult; Lehtola-Aalto

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; Maikki L. A.

parameters; givenFirst; short; referring; informal

expectedResult; Maikki

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

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

expectedResult; MKL

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

expectedResult; L

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

expectedResult; M

parameters; givenFirst; medium; monogram; informal
parameters; givenFirst; short; monogram; informal
parameters; surnameFirst; medium; monogram; informal
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; Käthe
name ; surname; Müller
name ; locale; ko_AQ

expectedResult; Müller, Käthe

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; Käthe Müller

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

expectedResult; Müller Käthe

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

expectedResult; Müller, K.

parameters; sorting; short; referring; formal

expectedResult; K. Müller

parameters; givenFirst; short; referring; formal

expectedResult; Müller K.

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

expectedResult; Käthe M.

parameters; givenFirst; short; referring; informal

expectedResult; Müller

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; Käthe

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

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

expectedResult; MK

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

expectedResult; K

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

# foreignGGS
name ; given; John
name ; given2; Hamish
name ; surname; Watson
name ; locale; ko_AQ

expectedResult; Watson, John Hamish

parameters; sorting; long; referring; formal

expectedResult; John Hamish Watson

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

expectedResult; Watson John Hamish

parameters; surnameFirst; long; referring; formal

expectedResult; Watson, John H.

parameters; sorting; medium; referring; formal

expectedResult; Watson, J. H.

parameters; sorting; short; referring; formal

expectedResult; J. H. Watson

parameters; givenFirst; short; referring; formal

expectedResult; Watson J. H.

parameters; surnameFirst; short; referring; formal

expectedResult; Watson, John

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

expectedResult; John Watson

parameters; givenFirst; long; referring; informal

expectedResult; Watson John

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

expectedResult; Watson J.

parameters; surnameFirst; short; referring; informal

expectedResult; John W.

parameters; givenFirst; short; referring; informal

expectedResult; Watson

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

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

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

expectedResult; WJH

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

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

endName

# foreignFull
name ; title; professori
name ; given; Ana Christina
name ; given-informal; Chrissy
name ; given2; Lëja
name ; surname-prefix; von
name ; surname-core; Wright
name ; surname2; González Domingo
name ; generation; jr.
name ; credentials; MD DDS
name ; locale; ko_AQ

expectedResult; professori Ana Christina Lëja von Wright González Domingo, MD DDS

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

expectedResult; von Wright González Domingo Ana Christina Lëja, professori MD DDS

parameters; surnameFirst; long; referring; formal

expectedResult; von Wright González Domingo Ana Christina, professori

parameters; surnameFirst; medium; referring; formal

expectedResult; Ana Christina Lëja von Wright González Domingo

parameters; givenFirst; medium; referring; informal

expectedResult; professori von Wright González Domingo

parameters; givenFirst; long; addressing; formal

expectedResult; von Wright, Ana Christina Lëja

parameters; sorting; long; referring; formal

expectedResult; von Wright, Ana Christina L.

parameters; sorting; medium; referring; formal

expectedResult; Ana Christina von Wright

parameters; givenFirst; long; referring; informal

expectedResult; von Wright Ana Christina

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

expectedResult; professori von Wright

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 Wright, A. C. L.

parameters; sorting; short; referring; formal

expectedResult; A. C. L. von Wright

parameters; givenFirst; short; referring; formal

expectedResult; von Wright A. C. L.

parameters; surnameFirst; short; referring; formal

expectedResult; von Wright, Chrissy

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

expectedResult; von Wright A. C.

parameters; surnameFirst; short; referring; informal

expectedResult; Chrissy v. W.

parameters; givenFirst; short; referring; informal

expectedResult; Chrissy

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

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

expectedResult; VAL

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

expectedResult; C

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

expectedResult; V

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

endName
