mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-25 01:23:03 +01:00
30 lines
1.2 KiB
Plaintext
30 lines
1.2 KiB
Plaintext
|
//*******************************************************************************
|
||
|
//*
|
||
|
//* Copyright (C) 2002, International Business Machines
|
||
|
//* Corporation and others. All Rights Reserved.
|
||
|
//*
|
||
|
//*******************************************************************************
|
||
|
|
||
|
casing {
|
||
|
Info {
|
||
|
Description { "This is test data file for string casing" }
|
||
|
|
||
|
LongDescription { "each item is an array with"
|
||
|
"input string, result string, locale ID, break iterator"
|
||
|
"the break iterator is specified as an int, same as in UBreakIteratorType:"
|
||
|
"0=UBRK_CHARACTER 1=UBRK_WORD 2=UBRK_LINE 3=UBRK_SENTENCE 4=UBRK_TITLE -1=default"
|
||
|
}
|
||
|
}
|
||
|
TestData {
|
||
|
titlecasing {
|
||
|
Headers { "Input", "Output", "Locale", "Type" }
|
||
|
Cases {
|
||
|
{ " tHe QUIcK bRoWn", " The Quick Brown", "", "4" },
|
||
|
{ "DŽDždžLJLjljNJNjnj", "DžDžDžLjLjLjNjNjNj", "", "0" }, // UBRK_CHARACTER
|
||
|
{ "ljubav ljubav", "Ljubav Ljubav", "", "-1" }, // Lj vs. L+j
|
||
|
{ "'oH dOn'T tItLeCaSe AfTeR lEtTeR+'", "'Oh Don't Titlecase After Letter+'", "", "-1" }
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|