Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for testToStringEmpty (0.86 sec)

  1. guava-testlib/src/com/google/common/collect/testing/google/MultimapToStringTester.java

    public class MultimapToStringTester<K, V> extends AbstractMultimapTester<K, V, Multimap<K, V>> {
      @CollectionSize.Require(ZERO)
      @CollectionFeature.Require(absent = NON_STANDARD_TOSTRING)
      public void testToStringEmpty() {
        assertEquals("{}", multimap().toString());
      }
    
      @CollectionSize.Require(ONE)
      @CollectionFeature.Require(absent = NON_STANDARD_TOSTRING)
      public void testToStringSingleton() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapToStringTester.java

    public class MultimapToStringTester<K, V> extends AbstractMultimapTester<K, V, Multimap<K, V>> {
      @CollectionSize.Require(ZERO)
      @CollectionFeature.Require(absent = NON_STANDARD_TOSTRING)
      public void testToStringEmpty() {
        assertEquals("{}", multimap().toString());
      }
    
      @CollectionSize.Require(ONE)
      @CollectionFeature.Require(absent = NON_STANDARD_TOSTRING)
      public void testToStringSingleton() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb1/trans/nt/FileNotifyInformationImplTest.java

            String expectedHex = String.format("%04X", action);
            assertTrue(result.contains("0x" + expectedHex));
        }
    
        @Test
        @DisplayName("Test toString with empty object")
        void testToStringEmpty() {
            String result = notifyInfo.toString();
    
            assertNotNull(result);
            assertTrue(result.contains("FileNotifyInformation"));
            assertTrue(result.contains("nextEntry=0"));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.1K bytes
    - Viewed (0)
Back to top