Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for testPadEnd_null (0.29 sec)

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

        assertEquals("xx-", Strings.padEnd("xx", 3, '-'));
      }
    
      public void testPadEnd_negativeMinLength() {
        assertSame("x", Strings.padEnd("x", -1, '-'));
      }
    
      public void testPadEnd_null() {
        assertThrows(NullPointerException.class, () -> Strings.padEnd(null, 5, '0'));
      }
    
      @SuppressWarnings("InlineMeInliner") // test of method that doesn't just delegate
      public void testRepeat() {
    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

        assertEquals("xx-", Strings.padEnd("xx", 3, '-'));
      }
    
      public void testPadEnd_negativeMinLength() {
        assertSame("x", Strings.padEnd("x", -1, '-'));
      }
    
      public void testPadEnd_null() {
        assertThrows(NullPointerException.class, () -> Strings.padEnd(null, 5, '0'));
      }
    
      @SuppressWarnings("InlineMeInliner") // test of method that doesn't just delegate
      public void testRepeat() {
    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