Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for containsMatch (0.07 sec)

  1. 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)
  2. 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)
  3. 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)
Back to top