Home | History | Annotate | Download | only in intltest

Lines Matching refs:Bucket

35     const AlphabeticIndex::Bucket *bucket;
36 for (int32_t i = 0; (bucket = index.getBucket(i)) != NULL; ++i) {
40 dest.append(bucket->getLabel());
370 assertEquals("initial bucket index", -1, index.getBucketIndex());
374 assertEquals("bucket index", bucketIndex, index.getBucketIndex());
379 const AlphabeticIndex::Bucket *bucket = immIndex->getBucket(bucketIndex);
380 TEST_ASSERT(bucket != NULL);
381 assertEquals("bucket label vs. immutable: locale=" + UnicodeString(localeName) +
383 label, bucket->getLabel());
384 TEST_ASSERT(&label != &bucket->getLabel()); // not the same pointers
386 TEST_ASSERT(labelType == bucket->getLabelType());
446 // Weak checking: make sure that none of the Chinese names landed in the overflow bucket
463 errln("File %s, Line %d, Name \"\\u%x\" is in an under or overflow bucket.",
566 assertEquals("getBucketIndex(U+897F)", 0, bucketIndex); // underflow bucket
622 // name, bucket index, bucket label
645 sprintf(msg, "immutable bucket label (%s)", testCase.name);
663 assertEquals("all records in the underflow bucket", (int32_t)3, index.getBucketRecordCount());
687 // They should all go into the overflow bucket.
692 sprintf(msg, "kanji[%d]=U+%04lX in overflow bucket", (int)i, (long)kanji[i]);