Home
last modified time | relevance | path

Searched refs:newHashMap (Results 1 – 25 of 198) sorted by relevance

12345678

/external/guava/android/guava-testlib/src/com/google/common/collect/testing/testers/
DMapEqualsTester.java45 getMap().equals(newHashMap(getSampleEntries()))); in testEquals_otherMapWithSameEntries()
50 Map<K, V> other = newHashMap(getSampleEntries(getNumEntries() - 1)); in testEquals_otherMapWithDifferentEntries()
66 getMap().equals(newHashMap(entries))); in testEquals_containingNullKey()
73 Map<K, V> other = newHashMap(entries); in testEquals_otherContainsNullKey()
90 getMap().equals(newHashMap(entries))); in testEquals_containingNullValue()
97 Map<K, V> other = newHashMap(entries); in testEquals_otherContainsNullValue()
108 "Maps of different sizes should not be equal.", getMap().equals(newHashMap(fewerEntries))); in testEquals_smallerMap()
114 "Maps of different sizes should not be equal.", getMap().equals(newHashMap(moreEntries))); in testEquals_largerMap()
123 private static <K, V> HashMap<K, V> newHashMap( in newHashMap() method in MapEqualsTester
/external/guava/guava-testlib/src/com/google/common/collect/testing/testers/
DMapEqualsTester.java45 getMap().equals(newHashMap(getSampleEntries()))); in testEquals_otherMapWithSameEntries()
50 Map<K, V> other = newHashMap(getSampleEntries(getNumEntries() - 1)); in testEquals_otherMapWithDifferentEntries()
66 getMap().equals(newHashMap(entries))); in testEquals_containingNullKey()
73 Map<K, V> other = newHashMap(entries); in testEquals_otherContainsNullKey()
90 getMap().equals(newHashMap(entries))); in testEquals_containingNullValue()
97 Map<K, V> other = newHashMap(entries); in testEquals_otherContainsNullValue()
108 "Maps of different sizes should not be equal.", getMap().equals(newHashMap(fewerEntries))); in testEquals_smallerMap()
114 "Maps of different sizes should not be equal.", getMap().equals(newHashMap(moreEntries))); in testEquals_largerMap()
123 private static <K, V> HashMap<K, V> newHashMap( in newHashMap() method in MapEqualsTester
/external/jcommander/src/main/java/com/beust/jcommander/internal/
DMaps.java27 public static <K, V> Map<K,V> newHashMap() { in newHashMap() method in Maps
35 public static <T> Map<T, T> newHashMap(T... parameters) { in newHashMap() method in Maps
36 Map<T, T> result = Maps.newHashMap(); in newHashMap()
/external/jcommander/src/test/java/com/beust/jcommander/dynamic/
DDynamicParameterTest.java27 Assert.assertEquals(ds.params, Maps.newHashMap("a", "b", "c", "d")); in simple()
46 Assert.assertEquals(ds.params, Maps.newHashMap("a", "b")); in differentAssignment()
47 Assert.assertEquals(ds.params2, Maps.newHashMap("c", "d")); in differentAssignment()
DDSimple.java12 public Map<String, String> params = Maps.newHashMap();
15 public Map<String, String> params2 = Maps.newHashMap();
/external/guava/guava-tests/test/com/google/common/collect/
DMapsTransformValuesTest.java63 return Maps.transformValues(Maps.<String, String>newHashMap(), Functions.<String>identity()); in makeEmptyMap()
68 Map<String, Integer> underlying = Maps.newHashMap(); in makePopulatedMap()
103 assertMapsEqual(Maps.newHashMap(), map); in testTransformEmptyMapEquality()
143 Map<String, Integer> underlying = Maps.newHashMap(); in testTransformRemoveEntry()
151 Map<String, String> underlying = Maps.newHashMap(); in testTransformEqualityOfMapsWithNullValues()
175 Map<String, Integer> underlying = Maps.newHashMap(); in testTransformReflectsUnderlyingMap()
268 Map<String, Boolean> underlying = Maps.newHashMap(); in testTransformEntrySetContains()
DMapsTransformValuesUnmodifiableIteratorTest.java135 Map<String, Integer> underlying = Maps.newHashMap();
142 Map<String, Integer> underlying = Maps.newHashMap();
178 assertMapsEqual(Maps.newHashMap(), map);
218 Map<String, Integer> underlying = Maps.newHashMap();
226 Map<String, String> underlying = Maps.newHashMap();
250 Map<String, Integer> underlying = Maps.newHashMap();
343 Map<String, Boolean> underlying = Maps.newHashMap();
DForMapMultimapAsMapImplementsMapTest.java39 Map<String, Integer> map = Maps.newHashMap(); in makeEmptyMap()
45 Map<String, Integer> map = Maps.newHashMap(); in makePopulatedMap()
/external/guava/android/guava-tests/test/com/google/common/collect/
DMapsTransformValuesTest.java62 return Maps.transformValues(Maps.<String, String>newHashMap(), Functions.<String>identity()); in makeEmptyMap()
67 Map<String, Integer> underlying = Maps.newHashMap(); in makePopulatedMap()
102 assertMapsEqual(Maps.newHashMap(), map); in testTransformEmptyMapEquality()
142 Map<String, Integer> underlying = Maps.newHashMap(); in testTransformRemoveEntry()
150 Map<String, String> underlying = Maps.newHashMap(); in testTransformEqualityOfMapsWithNullValues()
174 Map<String, Integer> underlying = Maps.newHashMap(); in testTransformReflectsUnderlyingMap()
267 Map<String, Boolean> underlying = Maps.newHashMap(); in testTransformEntrySetContains()
DMapsTransformValuesUnmodifiableIteratorTest.java135 Map<String, Integer> underlying = Maps.newHashMap();
142 Map<String, Integer> underlying = Maps.newHashMap();
178 assertMapsEqual(Maps.newHashMap(), map);
218 Map<String, Integer> underlying = Maps.newHashMap();
226 Map<String, String> underlying = Maps.newHashMap();
250 Map<String, Integer> underlying = Maps.newHashMap();
343 Map<String, Boolean> underlying = Maps.newHashMap();
DForMapMultimapAsMapImplementsMapTest.java39 Map<String, Integer> map = Maps.newHashMap(); in makeEmptyMap()
45 Map<String, Integer> map = Maps.newHashMap(); in makePopulatedMap()
/external/testng/src/main/java/org/testng/
DClassMethodMap.java20 private Map<Object, List<ITestNGMethod>> m_classMap = Maps.newHashMap();
23 private Map<ITestClass, Set<Object>> m_beforeClassMethods = Maps.newHashMap();
24 private Map<ITestClass, Set<Object>> m_afterClassMethods = Maps.newHashMap();
/external/testng/src/main/java/org/testng/reporters/jq/
DModel.java23 private Map<String, String> m_testTags = Maps.newHashMap();
24 private Map<ITestResult, String> m_testResultMap = Maps.newHashMap();
25 private Map<ISuite, ResultsByClass> m_failedResultsByClass = Maps.newHashMap();
26 private Map<ISuite, ResultsByClass> m_skippedResultsByClass = Maps.newHashMap();
27 private Map<ISuite, ResultsByClass> m_passedResultsByClass = Maps.newHashMap();
30 private Map<String, String> m_statusBySuiteName = Maps.newHashMap();
/external/guava/android/guava-tests/test/com/google/common/base/
DFunctionsTest.java88 Map<String, Integer> map = Maps.newHashMap(); in testForMapWithoutDefault()
116 Map<String, Integer> map = Maps.newHashMap(); in testForMapWithDefault()
137 Map<String, Integer> map = Maps.newHashMap(); in testForMapWithDefault_includeSerializable()
190 Map<String, Integer> map = Maps.newHashMap(); in testForMapWildCardWithDefault()
202 Map<String, Integer> mJapaneseToInteger = Maps.newHashMap(); in testComposition()
208 Map<Integer, String> mIntegerToSpanish = Maps.newHashMap(); in testComposition()
240 Map<String, Integer> mJapaneseToInteger = Maps.newHashMap(); in testComposition_includeReserializabled()
246 Map<Integer, String> mIntegerToSpanish = Maps.newHashMap(); in testComposition_includeReserializabled()
267 Map<String, Integer> mapJapaneseToInteger = Maps.newHashMap(); in testCompositionWildcard()
/external/guava/guava-tests/test/com/google/common/base/
DFunctionsTest.java88 Map<String, Integer> map = Maps.newHashMap(); in testForMapWithoutDefault()
116 Map<String, Integer> map = Maps.newHashMap(); in testForMapWithDefault()
137 Map<String, Integer> map = Maps.newHashMap(); in testForMapWithDefault_includeSerializable()
190 Map<String, Integer> map = Maps.newHashMap(); in testForMapWildCardWithDefault()
202 Map<String, Integer> mJapaneseToInteger = Maps.newHashMap(); in testComposition()
208 Map<Integer, String> mIntegerToSpanish = Maps.newHashMap(); in testComposition()
240 Map<String, Integer> mJapaneseToInteger = Maps.newHashMap(); in testComposition_includeReserializabled()
246 Map<Integer, String> mIntegerToSpanish = Maps.newHashMap(); in testComposition_includeReserializabled()
267 Map<String, Integer> mapJapaneseToInteger = Maps.newHashMap(); in testCompositionWildcard()
/external/testng/src/main/java/org/testng/collections/
DMaps.java11 public static <K, V> Map<K,V> newHashMap() { in newHashMap() method in Maps
31 public static <K, V> Map<K, V> newHashMap(Map<K, V> parameters) { in newHashMap() method in Maps
/external/testng/src/main/java/org/testng/internal/
DMethodGroupsHelper.java129 Map<String, List<ITestNGMethod>> result = Maps.newHashMap(); in findGroupsMethods()
159 Map<ITestNGMethod, ITestNGMethod> runningMethods = Maps.newHashMap(); in findGroupTransitiveClosure()
164 Map<String, String> runningGroups = Maps.newHashMap(); in findGroupTransitiveClosure()
171 Map<ITestNGMethod, ITestNGMethod> newMethods = Maps.newHashMap(); in findGroupTransitiveClosure()
218 newMethods = Maps.newHashMap(); in findGroupTransitiveClosure()
DTarjan.java18 Map<T, Integer> m_indices = Maps.newHashMap();
19 Map<T, Integer> m_lowlinks = Maps.newHashMap();
/external/testng/src/main/java/org/testng/internal/invokers/
DInvokedMethodListenerInvoker.java113 InvocationStrategy>> strategies = Maps.newHashMap();
115 INVOKE_WITH_CONTEXT_STRATEGIES = Maps.newHashMap();
117 INVOKE_WITHOUT_CONTEXT_STRATEGIES = Maps.newHashMap();
/external/testng/src/test/java/org/testng/
DAssertTest.java67 Map expected = Maps.newHashMap(); in mapAssertEquals()
68 Map actual = Maps.newHashMap(); in mapAssertEquals()
82 Map expected = Maps.newHashMap(); in oneNullMapAssertEquals()
/external/smali/dexlib2/src/test/java/org/jf/dexlib2/
DDexEntryFinderTest.java59 Map<String, DexBackedDexFile> entries = Maps.newHashMap(); in testNormalStuff()
108 Map<String, DexBackedDexFile> entries = Maps.newHashMap(); in testSimilarEntries()
129 Map<String, DexBackedDexFile> entries = Maps.newHashMap(); in testMatchingSuffix()
148 Map<String, DexBackedDexFile> entries = Maps.newHashMap(); in testNonDexEntries()
/external/guice/extensions/servlet/test/com/google/inject/servlet/
DServletTestUtils.java54 final Map<String, Object> attributes = Maps.newHashMap(); in newFakeHttpServletRequest()
106 final Map<String, Object> attributes = Maps.newHashMap();
/external/guice/extensions/grapher/src/com/google/inject/grapher/graphviz/
DGraphvizGrapher.java50 private final Map<NodeId, GraphvizNode> nodes = Maps.newHashMap();
96 Map<String, String> attrs = Maps.newHashMap(); in getGraphAttributes()
118 Map<String, String> attrs = Maps.newHashMap(); in getNodeAttributes()
186 Map<String, String> attrs = Maps.newHashMap(); in getEdgeAttributes()
/external/testng/src/main/java/org/testng/reporters/
DFailedReporter.java56 Map<String, XmlTest> xmlTests= Maps.newHashMap(); in generateFailureSuite()
186 Map<Class, Set<ITestNGMethod>> methodsMap= Maps.newHashMap(); in createXmlClasses()
203 Map<String, String> parameters = Maps.newHashMap(); in createXmlClasses()
/external/testng/src/main/java/org/testng/xml/
DXmlTest.java39 private Map<String, List<String>> m_metaGroups = Maps.newHashMap();
40 private Map<String, String> m_parameters = Maps.newHashMap();
59 private Map<String, String> m_xmlDependencyGroups = Maps.newHashMap();
322 Map<String, List<String>> result = Maps.newHashMap(); in getMetaGroups()
358 Map<String, String> result = Maps.newHashMap(); in getAllParameters()
672 m_failedInvocationNumbers = Maps.newHashMap(); in getInvocationNumbers()
877 Map<String, String> result = Maps.newHashMap(); in getXmlDependencyGroups()

12345678