HomeSort by relevance Sort by last modified time
    Searched full:mockmap (Results 1 - 9 of 9) sorted by null

  /external/android-mock/tests/com/google/android/testing/mocking/
AndroidMockTest.java 252 Map<String, String> mockMap = AndroidMock.createMock(Map.class);
253 AndroidMock.expect(mockMap.get("key")).andReturn("Hello World");
254 AndroidMock.replay(mockMap);
255 assertEquals("Hello World", mockMap.get("key"));
256 AndroidMock.verify(mockMap);
341 Map<String, String> mockMap = AndroidMock.createNiceMock(Map.class);
342 AndroidMock.expect(mockMap.get("key")).andReturn("Hello World");
343 AndroidMock.replay(mockMap);
344 assertEquals("Hello World", mockMap.get("key"));
345 AndroidMock.verify(mockMap);
    [all...]
  /libcore/luni/src/test/java/tests/api/java/util/
WeakHashMapTest.java 33 class MockMap extends AbstractMap {
125 Map mockMap = new MockMap();
126 WeakHashMap map = new WeakHashMap(mockMap);
254 Map mockMap=new MockMap();
256 map.putAll(mockMap);
HashMapTest.java 26 class MockMap extends AbstractMap {
117 Map mockMap = new MockMap();
118 hm = new HashMap(mockMap);
119 assertEquals(hm, mockMap);
372 Map mockMap = new MockMap();
374 hm2.putAll(mockMap);
IdentityHashMapTest.java 39 class MockMap extends AbstractMap {
104 Map mockMap = new MockMap();
105 hm2 = new IdentityHashMap(mockMap);
328 Map mockMap = new MockMap();
329 hm2.putAll(mockMap);
LinkedHashMapTest.java 423 LinkedHashMap hashMap = new MockMap();
426 MockMap cloneMap = (MockMap) hashMap.clone();
435 class MockMap extends LinkedHashMap {
  /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/
IdentityHashMap2Test.java 39 class MockMap extends AbstractMap {
113 Map mockMap = new MockMap();
114 hm2 = new IdentityHashMap(mockMap);
339 Map mockMap = new MockMap();
340 hm2.putAll(mockMap);
WeakHashMapTest.java 33 class MockMap extends AbstractMap {
108 Map mockMap = new MockMap();
109 WeakHashMap map = new WeakHashMap(mockMap);
309 Map mockMap=new MockMap();
311 map.putAll(mockMap);
HashMapTest.java 39 class MockMap extends AbstractMap {
179 Map mockMap = new MockMap();
180 hm = new HashMap(mockMap);
525 Map mockMap = new MockMap();
527 hm2.putAll(mockMap);
LinkedHashMapTest.java 377 LinkedHashMap hashMap = new MockMap();
380 MockMap cloneMap = (MockMap) hashMap.clone();
389 class MockMap extends LinkedHashMap {

Completed in 1172 milliseconds