Home
last modified time | relevance | path

Searched defs:EXTRA_VALUE (Results 1 – 2 of 2) sorted by relevance

/libcore/ojluni/src/test/java/util/Map/
DDefaults.java85 …assertSame(map.getOrDefault(EXTRA_KEY, EXTRA_VALUE), EXTRA_VALUE, "value not returned as default"); in testGetOrDefault() local
97 assertSame(map.get(null), EXTRA_VALUE, "unexpected value"); in testPutIfAbsentNulls() local
98 assertSame(map.putIfAbsent(null, null), EXTRA_VALUE, "previous not expected value"); in testPutIfAbsentNulls() local
100 assertSame(map.get(null), EXTRA_VALUE, "unexpected value"); in testPutIfAbsentNulls() local
101 assertSame(map.remove(null), EXTRA_VALUE, "removed unexpected value"); in testPutIfAbsentNulls() local
110 assertSame(map.get(null), EXTRA_VALUE, "value not expected"); in testPutIfAbsentNulls() local
125 assertSame(map.get(EXTRA_KEY), EXTRA_VALUE); in testPutIfAbsent() local
126 assertSame(map.putIfAbsent(EXTRA_KEY, VALUES[2]), EXTRA_VALUE); in testPutIfAbsent() local
127 assertSame(map.get(EXTRA_KEY), EXTRA_VALUE); in testPutIfAbsent() local
204 assertSame(map.get(null), EXTRA_VALUE); in testReplaceKVNulls() local
[all …]
DBasicSerialization.java89 private static final String EXTRA_VALUE = IntegerEnum.EXTRA_KEY.name(); field in BasicSerialization
146 assertSame(map.get(EXTRA_KEY), EXTRA_VALUE, description + ":wrong value"); in testSerialization() local
147 assertSame(clone.get(EXTRA_KEY), EXTRA_VALUE, description + ":wrong value"); in testSerialization() local
148 assertSame(serialClone.get(EXTRA_KEY), EXTRA_VALUE, description + ":wrong value"); in testSerialization() local