Home
last modified time | relevance | path

Searched refs:bimap2 (Results 1 – 4 of 4) sorted by relevance

/external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/
DEnumHashBiMapTest.java122 EnumHashBiMap<Currency, Country> bimap2 in testCreateFromMap() local
124 assertTrue(bimap2.isEmpty()); in testCreateFromMap()
132 EnumHashBiMap<Currency, String> bimap2 = in testEnumHashBiMapConstructor() local
134 assertEquals("dollar", bimap2.get(Currency.DOLLAR)); in testEnumHashBiMapConstructor()
135 assertEquals(bimap1, bimap2); in testEnumHashBiMapConstructor()
136 bimap2.inverse().put("franc", Currency.FRANC); in testEnumHashBiMapConstructor()
137 assertEquals("franc", bimap2.get(Currency.FRANC)); in testEnumHashBiMapConstructor()
139 assertFalse(bimap2.equals(bimap1)); in testEnumHashBiMapConstructor()
154 EnumHashBiMap<Currency, Object> bimap2 = // use supertype in testEnumBiMapConstructor() local
156 assertEquals(Country.SWITZERLAND, bimap2.get(Currency.DOLLAR)); in testEnumBiMapConstructor()
[all …]
DEnumBiMapTest.java136 EnumBiMap<Currency, Country> bimap2 = in testEnumBiMapConstructor() local
138 assertEquals(Country.CANADA, bimap2.get(Currency.DOLLAR)); in testEnumBiMapConstructor()
139 assertEquals(bimap1, bimap2); in testEnumBiMapConstructor()
140 bimap2.inverse().put(Country.SWITZERLAND, Currency.FRANC); in testEnumBiMapConstructor()
141 assertEquals(Country.SWITZERLAND, bimap2.get(Currency.FRANC)); in testEnumBiMapConstructor()
143 assertFalse(bimap2.equals(bimap1)); in testEnumBiMapConstructor()
/external/guava/guava-tests/test/com/google/common/collect/
DEnumHashBiMapTest.java147 EnumHashBiMap<Currency, Country> bimap2 in testCreateFromMap() local
149 assertTrue(bimap2.isEmpty()); in testCreateFromMap()
157 EnumHashBiMap<Currency, String> bimap2 = in testEnumHashBiMapConstructor() local
159 assertEquals("dollar", bimap2.get(Currency.DOLLAR)); in testEnumHashBiMapConstructor()
160 assertEquals(bimap1, bimap2); in testEnumHashBiMapConstructor()
161 bimap2.inverse().put("franc", Currency.FRANC); in testEnumHashBiMapConstructor()
162 assertEquals("franc", bimap2.get(Currency.FRANC)); in testEnumHashBiMapConstructor()
164 assertFalse(bimap2.equals(bimap1)); in testEnumHashBiMapConstructor()
179 EnumHashBiMap<Currency, Object> bimap2 = // use supertype in testEnumBiMapConstructor() local
181 assertEquals(Country.SWITZERLAND, bimap2.get(Currency.DOLLAR)); in testEnumBiMapConstructor()
[all …]
DEnumBiMapTest.java160 EnumBiMap<Currency, Country> bimap2 = in testEnumBiMapConstructor() local
162 assertEquals(Country.CANADA, bimap2.get(Currency.DOLLAR)); in testEnumBiMapConstructor()
163 assertEquals(bimap1, bimap2); in testEnumBiMapConstructor()
164 bimap2.inverse().put(Country.SWITZERLAND, Currency.FRANC); in testEnumBiMapConstructor()
165 assertEquals(Country.SWITZERLAND, bimap2.get(Currency.FRANC)); in testEnumBiMapConstructor()
167 assertFalse(bimap2.equals(bimap1)); in testEnumBiMapConstructor()