Home | History | Annotate | Download | only in intltest

Lines Matching refs:Bucket

33     const AlphabeticIndex::Bucket *bucket;
34 for (int32_t i = 0; (bucket = index.getBucket(i)) != NULL; ++i) {
38 dest.append(bucket->getLabel());
368 assertEquals("initial bucket index", -1, index.getBucketIndex());
372 assertEquals("bucket index", bucketIndex, index.getBucketIndex());
377 const AlphabeticIndex::Bucket *bucket = immIndex->getBucket(bucketIndex);
378 TEST_ASSERT(bucket != NULL);
379 assertEquals("bucket label vs. immutable: locale=" + UnicodeString(localeName) +
381 label, bucket->getLabel());
382 TEST_ASSERT(&label != &bucket->getLabel()); // not the same pointers
384 TEST_ASSERT(labelType == bucket->getLabelType());
444 // Weak checking: make sure that none of the Chinese names landed in the overflow bucket
461 errln("File %s, Line %d, Name \"\\u%x\" is in an under or overflow bucket.",
564 assertEquals("getBucketIndex(U+897F)", 0, bucketIndex); // underflow bucket
620 // name, bucket index, bucket label
643 sprintf(msg, "immutable bucket label (%s)", testCase.name);
661 assertEquals("all records in the underflow bucket", (int32_t)3, index.getBucketRecordCount());
685 // They should all go into the overflow bucket.
690 sprintf(msg, "kanji[%d]=U+%04lX in overflow bucket", (int)i, (long)kanji[i]);