- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for testEmptyMap (0.06 sec)
-
android/guava-tests/test/com/google/common/escape/ArrayBasedEscaperMapTest.java
@GwtCompatible public class ArrayBasedEscaperMapTest extends TestCase { public void testNullMap() { assertThrows(NullPointerException.class, () -> ArrayBasedEscaperMap.create(null)); } public void testEmptyMap() { Map<Character, String> map = ImmutableMap.of(); ArrayBasedEscaperMap fem = ArrayBasedEscaperMap.create(map); // Non-null array of zero length. assertEquals(0, fem.getReplacementArray().length); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 15:00:32 UTC 2024 - 2.5K bytes - Viewed (0)