Home | History | Annotate | Download | only in testers

Lines Matching refs:entries

43         "A Map should equal any other Map containing the same entries.",
53 "A Map should not equal another Map containing different entries.",
61 Collection<Map.Entry<K, V>> entries = getSampleEntries(getNumEntries() - 1);
62 entries.add(entry(null, samples.e3.getValue()));
64 resetContainer(getSubjectGenerator().create(entries.toArray()));
65 assertTrue("A Map should equal any other Map containing the same entries,"
67 getMap().equals(newHashMap(entries)));
72 Collection<Map.Entry<K, V>> entries = getSampleEntries(getNumEntries() - 1);
73 entries.add(entry(null, samples.e3.getValue()));
74 Map<K, V> other = newHashMap(entries);
85 Collection<Map.Entry<K, V>> entries = getSampleEntries(getNumEntries() - 1);
86 entries.add(entry(samples.e3.getKey(), null));
88 resetContainer(getSubjectGenerator().create(entries.toArray()));
89 assertTrue("A Map should equal any other Map containing the same entries,"
91 getMap().equals(newHashMap(entries)));
96 Collection<Map.Entry<K, V>> entries = getSampleEntries(getNumEntries() - 1);
97 entries.add(entry(samples.e3.getKey(), null));
98 Map<K, V> other = newHashMap(entries);
127 Collection<? extends Map.Entry<? extends K, ? extends V>> entries) {
129 for (Map.Entry<? extends K, ? extends V> entry : entries) {