| //******************************************************************************* |
| //* |
| //* Copyright (C) 2002, International Business Machines |
| //* Corporation and others. All Rights Reserved. |
| //* |
| //******************************************************************************* |
| |
| // test data file for string casing |
| |
| casing { |
| titlecasing { |
| // 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 |
| { {" tHe QUIcK bRoWn"} {" The Quick Brown"} {""} :int{4} } |
| { {"DŽDždžLJLjljNJNjnj"} {"DžDžDžLjLjLjNjNjNj"} {""} :int{0} } // UBRK_CHARACTER |
| { {"ljubav ljubav"} {"Ljubav Ljubav"} {""} :int{-1} } // Lj vs. L+j |
| { {"'oH dOn'T tItLeCaSe AfTeR lEtTeR+'"} {"'Oh Don't Titlecase After Letter+'"} {""} :int{-1} } |
| } |
| } |