Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testToStringOmitEmptyValues_manyFieldsFirstEmpty (0.2 sec)

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

                .toString();
        assertEquals("TestClass{field2=Googley, field3=World}", toTest);
      }
    
      @GwtIncompatible // Class names are obfuscated in GWT
      public void testToStringOmitEmptyValues_manyFieldsFirstEmpty() {
        String toTest =
            MoreObjects.toStringHelper(new TestClass())
                .omitEmptyValues()
                .add("field1", "")
                .add("field2", "Googley")
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 09 21:19:18 UTC 2024
    - 21.3K bytes
    - Viewed (0)
Back to top