]> git.saurik.com Git - apple/icu.git/blob - icuSources/test/testdata/casing.txt
ICU-3.13.tar.gz
[apple/icu.git] / icuSources / test / testdata / casing.txt
1 //*******************************************************************************
2 //*
3 //* Copyright (C) 2002, International Business Machines
4 //* Corporation and others. All Rights Reserved.
5 //*
6 //*******************************************************************************
7
8 casing {
9 Info {
10 Description { "This is test data file for string casing" }
11
12 LongDescription { "each item is an array with"
13 "input string, result string, locale ID, break iterator"
14 "the break iterator is specified as an int, same as in UBreakIteratorType:"
15 "0=UBRK_CHARACTER 1=UBRK_WORD 2=UBRK_LINE 3=UBRK_SENTENCE 4=UBRK_TITLE -1=default"
16 }
17 }
18 TestData {
19 titlecasing {
20 Headers { "Input", "Output", "Locale", "Type" }
21 Cases {
22 { " tHe QUIcK bRoWn", " The Quick Brown", "", "4" },
23 { "DŽDždžLJLjljNJNjnj", "DžDžDžLjLjLjNjNjNj", "", "0" }, // UBRK_CHARACTER
24 { "ljubav ljubav", "Ljubav Ljubav", "", "-1" }, // Lj vs. L+j
25 { "'oH dOn'T tItLeCaSe AfTeR lEtTeR+'", "'Oh Don't Titlecase After Letter+'", "", "-1" }
26 }
27 }
28 }
29 }