Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for testToStringLenient_oneField (1.09 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

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

        String toTest =
            MoreObjects.toStringHelper(new TestClass()).add("field1", (Integer) null).toString();
        assertThat(toTest).isEqualTo("TestClass{field1=null}");
      }
    
      public void testToStringLenient_oneField() {
        String toTest = MoreObjects.toStringHelper(new TestClass()).add("field1", "Hello").toString();
        assertTrue(toTest, toTest.matches(".*\\{field1\\=Hello\\}"));
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 15:59:55 GMT 2026
    - 22K bytes
    - Click Count (0)
Back to Top