Lines Matching refs:map
41 PluralMapForPluralMapTest &map);
90 PluralMapForPluralMapTest map;
91 addVariant(PluralMapBase::OTHER, "pickles", map);
92 addVariant(PluralMapBase::ONE, "pickle", map);
93 addVariant(PluralMapBase::FEW, "picklefew", map);
94 assertEquals("", "pickles", map.get(PluralMapBase::OTHER));
95 assertEquals("", "pickle", map.get(PluralMapBase::ONE));
96 assertEquals("", "picklefew", map.get(PluralMapBase::FEW));
97 assertEquals("", "pickles", map.get(PluralMapBase::MANY));
98 assertEquals("", "pickles", map.get(PluralMapBase::NONE));
99 assertEquals("", "pickles", map.get(PluralMapBase::CATEGORY_COUNT));
100 assertEquals("", "picklefew", map.get("few"));
101 assertEquals("", "pickles", map.get("many"));
102 assertEquals("", "pickles", map.get("somebadform"));
103 assertEquals("", "pickle", map.get(UnicodeString("one")));
104 assertEquals("", "pickles", map.get(UnicodeString("many")));
105 assertEquals("", "pickles", map.get(UnicodeString("somebadform")));
106 assertEquals("", "pickles", map.getOther());
110 PluralMapForPluralMapTest map;
111 addVariant(PluralMapBase::OTHER, "pickles", map);
112 addVariant(PluralMapBase::ONE, "pickle", map);
113 addVariant(PluralMapBase::FEW, "pickleops", map);
114 addVariant(PluralMapBase::FEW, "picklefew", map);
116 const UnicodeString *current = map.next(index);
119 current = map.next(index);
122 current = map.next(index);
125 current = map.next(index);
146 PluralMapForPluralMapTest map;
147 addVariant(PluralMapBase::FEW, "picklefew", map);
148 addVariant(PluralMapBase::OTHER, "pickles", map);
149 addVariant(PluralMapBase::ONE, "pickle", map);
150 assertTrue("", control == map);
151 addVariant(PluralMapBase::ONE, "pickl", map);
152 assertFalse("", control == map);
155 PluralMapForPluralMapTest map;
156 addVariant(PluralMapBase::MANY, "picklemany", map);
157 addVariant(PluralMapBase::OTHER, "pickles", map);
158 addVariant(PluralMapBase::ONE, "pickle", map);
159 assertFalse("", control == map);
207 PluralMapForPluralMapTest &map) {
209 UnicodeString *current = map.getMutable(v, status);