Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for testLenientFormat_badArgumentToString_gwtFriendly (0.21 sec)

  1. android/guava-tests/test/com/google/common/base/StringsTest.java

                "boiler <com\\.google\\.common\\.base\\.StringsTest[.$]ThrowsOnToString@[0-9a-f]+ "
                    + "threw java\\.lang\\.UnsupportedOperationException> plate");
      }
    
      public void testLenientFormat_badArgumentToString_gwtFriendly() {
        assertThat(Strings.lenientFormat("boiler %s plate", new ThrowsOnToString()))
            .matches("boiler <.*> plate");
      }
    
      private static class ThrowsOnToString {
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 17 18:14:12 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/base/StringsTest.java

                "boiler <com\\.google\\.common\\.base\\.StringsTest[.$]ThrowsOnToString@[0-9a-f]+ "
                    + "threw java\\.lang\\.UnsupportedOperationException> plate");
      }
    
      public void testLenientFormat_badArgumentToString_gwtFriendly() {
        assertThat(Strings.lenientFormat("boiler %s plate", new ThrowsOnToString()))
            .matches("boiler <.*> plate");
      }
    
      private static class ThrowsOnToString {
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 17 18:14:12 UTC 2024
    - 10.4K bytes
    - Viewed (0)
Back to top