Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for testPadStart_null (0.12 sec)

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

      }
    
      public void testPadStart_negativeMinLength() {
        assertSame("x", Strings.padStart("x", -1, '-'));
      }
    
      // TODO: could remove if we got NPT working in GWT somehow
      public void testPadStart_null() {
        assertThrows(NullPointerException.class, () -> Strings.padStart(null, 5, '0'));
      }
    
      public void testPadEnd_noPadding() {
        assertSame("", Strings.padEnd("", 0, '-'));
    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

      }
    
      public void testPadStart_negativeMinLength() {
        assertSame("x", Strings.padStart("x", -1, '-'));
      }
    
      // TODO: could remove if we got NPT working in GWT somehow
      public void testPadStart_null() {
        assertThrows(NullPointerException.class, () -> Strings.padStart(null, 5, '0'));
      }
    
      public void testPadEnd_noPadding() {
        assertSame("", Strings.padEnd("", 0, '-'));
    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