Lines Matching defs:label
104 assertEquals("only the underflow label in an index built from a collator",
191 index->nextBucket(status); // Move to underflow label
266 UnicodeString label = index->getBucketLabel();
270 TEST_ASSERT(label == adam);
275 TEST_ASSERT(expectedLabel == label);
278 TEST_ASSERT(label == charlie);
293 TEST_ASSERT(n == 1); /* Label #0 is underflow, 1 is A, etc. */
297 TEST_ASSERT(n == 27); // Overflow label
304 UnicodeString label = index->getBucketLabel();
313 // Latin-script names should go into the underflow label (0)
315 // but into the overflow label (getBucketCount()-1)
373 const UnicodeString &label = index.getBucketLabel();
374 TEST_ASSERT(label.length()>0);
376 // std::cout << ":" << label.toUTF8String(ss);
379 assertEquals("bucket label vs. immutable: locale=" + UnicodeString(localeName) +
381 label, bucket->getLabel());
382 TEST_ASSERT(&label != &bucket->getLabel()); // not the same pointers
452 UnicodeString label = aindex.getBucketLabel();
454 // std::cout << label.toUTF8String(s) << ": ";
620 // name, bucket index, bucket label
637 UnicodeString label = UnicodeString(testCase.bucketLabel).unescape();
643 sprintf(msg, "immutable bucket label (%s)", testCase.name);
644 assertEquals(msg, label, immIndex->getBucket(testCase.bucketIndex)->getLabel());
660 assertEquals("underflow label type", (int32_t)U_ALPHAINDEX_UNDERFLOW, index.getBucketLabelType());
672 assertEquals("label 1", UnicodeString((UChar)0x3105), immIndex->getBucket(1)->getLabel());
673 assertEquals("label 2", UnicodeString((UChar)0x3106), immIndex->getBucket(2)->getLabel());
674 assertEquals("label 3", UnicodeString((UChar)0x3107), immIndex->getBucket(3)->getLabel());
675 assertEquals("label 4", UnicodeString((UChar)0x3108), immIndex->getBucket(4)->getLabel());
676 assertEquals("label 5", UnicodeString((UChar)0x3109), immIndex->getBucket(5)->getLabel());
708 // There should be at least an underflow and overflow label,