Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testPadEnd_null (0.12 sec)

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

      }
    
      public void testPadEnd_negativeMinLength() {
        assertSame("x", Strings.padEnd("x", -1, '-'));
      }
    
      // TODO: could remove if we got NPT working in GWT somehow
      public void testPadEnd_null() {
        try {
          Strings.padEnd(null, 5, '0');
          fail();
        } catch (NullPointerException expected) {
        }
      }
    
      public void testRepeat() {
        String input = "20";
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Feb 09 15:49:48 UTC 2024
    - 10.3K bytes
    - Viewed (0)
Back to top