Home
last modified time | relevance | path

Searched refs:unmod (Results 1 – 10 of 10) sorted by relevance

/external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/
DMultimapsTest.java80 ListMultimap<String, Integer> unmod = Multimaps.unmodifiableListMultimap(mod); in testUnmodifiableListMultimapShortCircuit() local
81 assertNotSame(mod, unmod); in testUnmodifiableListMultimapShortCircuit()
82 assertSame(unmod, Multimaps.unmodifiableListMultimap(unmod)); in testUnmodifiableListMultimapShortCircuit()
93 SetMultimap<String, Integer> unmod = Multimaps.unmodifiableSetMultimap(mod); in testUnmodifiableSetMultimapShortCircuit() local
94 assertNotSame(mod, unmod); in testUnmodifiableSetMultimapShortCircuit()
95 assertSame(unmod, Multimaps.unmodifiableSetMultimap(unmod)); in testUnmodifiableSetMultimapShortCircuit()
106 Multimap<String, Integer> unmod = Multimaps.unmodifiableMultimap(mod); in testUnmodifiableMultimapShortCircuit() local
107 assertNotSame(mod, unmod); in testUnmodifiableMultimapShortCircuit()
108 assertSame(unmod, Multimaps.unmodifiableMultimap(unmod)); in testUnmodifiableMultimapShortCircuit()
136 Multimap<String, Integer> unmod = Multimaps.unmodifiableMultimap(mod); in testUnmodifiableMultimapIsView() local
[all …]
DMultisetsTest.java229 Multiset<String> unmod = Multisets.unmodifiableMultiset(mod); in testUnmodifiableMultisetShortCircuit() local
230 assertNotSame(mod, unmod); in testUnmodifiableMultisetShortCircuit()
231 assertSame(unmod, Multisets.unmodifiableMultiset(unmod)); in testUnmodifiableMultisetShortCircuit()
DMapsTest.java940 BiMap<Number, String> unmod = Maps.<Number, String>unmodifiableBiMap(mod);
943 assertSame(unmod.inverse(), unmod.inverse());
944 assertSame(unmod, unmod.inverse().inverse());
948 assertEquals(true, unmod.get(4).equals("four"));
949 assertEquals(true, unmod.inverse().get("four").equals(4));
953 unmod.put(4, "four");
957 unmod.forcePut(4, "four");
961 unmod.putAll(Collections.singletonMap(4, "four"));
966 BiMap<String, Number> inverse = unmod.inverse();
979 Set<String> values = unmod.values();
[all …]
DSetsTest.java767 void ensureNotDirectlyModifiable(SortedSet<Integer> unmod) {
769 unmod.add(4);
774 unmod.remove(4);
779 unmod.addAll(Collections.singleton(4));
784 Iterator<Integer> iterator = unmod.iterator();
DIteratorsTest.java1273 UnmodifiableIterator<String> unmod = Iterators.unmodifiableIterator(mod); in testUnmodifiableIteratorShortCircuit() local
1274 assertNotSame(mod, unmod); in testUnmodifiableIteratorShortCircuit()
1275 assertSame(unmod, Iterators.unmodifiableIterator(unmod)); in testUnmodifiableIteratorShortCircuit()
1276 assertSame(unmod, Iterators.unmodifiableIterator((Iterator<String>) unmod)); in testUnmodifiableIteratorShortCircuit()
/external/guava/guava-tests/test/com/google/common/collect/
DMultimapsTest.java84 ListMultimap<String, Integer> unmod = Multimaps.unmodifiableListMultimap(mod); in testUnmodifiableListMultimapShortCircuit() local
85 assertNotSame(mod, unmod); in testUnmodifiableListMultimapShortCircuit()
86 assertSame(unmod, Multimaps.unmodifiableListMultimap(unmod)); in testUnmodifiableListMultimapShortCircuit()
97 SetMultimap<String, Integer> unmod = Multimaps.unmodifiableSetMultimap(mod); in testUnmodifiableSetMultimapShortCircuit() local
98 assertNotSame(mod, unmod); in testUnmodifiableSetMultimapShortCircuit()
99 assertSame(unmod, Multimaps.unmodifiableSetMultimap(unmod)); in testUnmodifiableSetMultimapShortCircuit()
110 Multimap<String, Integer> unmod = Multimaps.unmodifiableMultimap(mod); in testUnmodifiableMultimapShortCircuit() local
111 assertNotSame(mod, unmod); in testUnmodifiableMultimapShortCircuit()
112 assertSame(unmod, Multimaps.unmodifiableMultimap(unmod)); in testUnmodifiableMultimapShortCircuit()
228 Multimap<String, Integer> unmod = Multimaps.unmodifiableMultimap(mod); in testUnmodifiableMultimapIsView() local
[all …]
DMultisetsTest.java231 Multiset<String> unmod = Multisets.unmodifiableMultiset(mod); in testUnmodifiableMultisetShortCircuit() local
232 assertNotSame(mod, unmod); in testUnmodifiableMultisetShortCircuit()
233 assertSame(unmod, Multisets.unmodifiableMultiset(unmod)); in testUnmodifiableMultisetShortCircuit()
DMapsTest.java1087 BiMap<Number, String> unmod = Maps.<Number, String>unmodifiableBiMap(mod);
1090 assertSame(unmod.inverse(), unmod.inverse());
1091 assertSame(unmod, unmod.inverse().inverse());
1095 assertEquals(true, unmod.get(4).equals("four"));
1096 assertEquals(true, unmod.inverse().get("four").equals(4));
1100 unmod.put(4, "four");
1104 unmod.forcePut(4, "four");
1108 unmod.putAll(Collections.singletonMap(4, "four"));
1113 BiMap<String, Number> inverse = unmod.inverse();
1126 Set<String> values = unmod.values();
[all …]
DSetsTest.java1031 void ensureNotDirectlyModifiable(SortedSet<Integer> unmod) {
1033 unmod.add(4);
1038 unmod.remove(4);
1043 unmod.addAll(Collections.singleton(4));
1048 Iterator<Integer> iterator = unmod.iterator();
DIteratorsTest.java1586 UnmodifiableIterator<String> unmod = Iterators.unmodifiableIterator(mod);
1587 assertNotSame(mod, unmod);
1588 assertSame(unmod, Iterators.unmodifiableIterator(unmod));
1589 assertSame(unmod, Iterators.unmodifiableIterator((Iterator<String>) unmod));