Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for toString_withoutScope_shouldNotIncludeScope (1.2 sec)

  1. src/test/java/jcifs/netbios/NameTest.java

            // Should replace first char with '..' and char at position 14 with '.'
            assertTrue(result.contains(".."));
            assertFalse(result.contains("\u0001"));
        }
    
        @Test
        void toString_withoutScope_shouldNotIncludeScope() {
            Name name = new Name(mockConfig, "TEST", 0x20, null);
            name.scope = null;
    
            String result = name.toString();
            assertTrue(result.contains("TEST"));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.4K bytes
    - Viewed (0)
Back to top