- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for containsMatch (0.17 sec)
-
guava-tests/test/com/google/common/collect/ImmutableBiMapTest.java
.buildOrThrow(); IllegalArgumentException expected = assertThrows(IllegalArgumentException.class, () -> ImmutableBiMap.copyOf(map)); assertThat(expected.getMessage()).containsMatch("1|2"); } public void testToImmutableBiMap() { Collector<Entry<String, Integer>, ?, ImmutableBiMap<String, Integer>> collector = toImmutableBiMap(Entry::getKey, Entry::getValue);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 22.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/CycleDetectingLockFactoryTest.java
private void checkMessage(IllegalStateException exception, String... expectedLockCycle) { String regex = Joiner.on("\\b.*\\b").join(expectedLockCycle); assertThat(exception).hasMessageThat().containsMatch(regex); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 22:10:29 UTC 2024 - 16.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/CycleDetectingLockFactoryTest.java
private void checkMessage(IllegalStateException exception, String... expectedLockCycle) { String regex = Joiner.on("\\b.*\\b").join(expectedLockCycle); assertThat(exception).hasMessageThat().containsMatch(regex); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 22:10:29 UTC 2024 - 16.1K bytes - Viewed (0)