~ubuntu-branches/ubuntu/gutsy/icu/gutsy

« back to all changes in this revision

Viewing changes to source/test/intltest/dacoll.cpp

  • Committer: Package Import Robot
  • Author(s): Matthias Klose
  • Date: 2005-05-21 22:44:31 UTC
  • mfrom: (2.1.1 warty)
  • Revision ID: package-import@ubuntu.com-20050521224431-r7rktfhnu1n4tf1g
Tags: 2.1-2.1
Rename icu-doc to icu21-doc. icu-doc is built by the icu28 package.

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
    myCollation = Collator::createInstance(Locale("da", "DK", ""),status);
20
20
    if(!myCollation || U_FAILURE(status)) {
21
21
      errln(__FILE__ "failed to create! err " + UnicodeString(u_errorName(status)));
22
 
        /* if it wasn't already: */
23
 
        delete myCollation;
24
 
        myCollation = NULL;
 
22
    /* if it wasn't already: */
 
23
    delete myCollation;
 
24
    myCollation = NULL;
25
25
    }
26
26
 
27
27
}
204
204
    /* problem in strcollinc for unfinshed contractions */
205
205
    if(U_FAILURE(status)){
206
206
      errln("ERROR: in setting normalization mode of the Danish collator\n");
207
 
            return;
 
207
      return;
208
208
    }
209
209
    for (i = 0; i < 5 ; i++) {
210
210
        doTest(testSourceCases[i], testTargetCases[i], results[i]);