Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for getLocalName (1.03 sec)

  1. src/test/java/jcifs/NameServiceClientTest.java

            when(nameServiceClient.getLocalName()).thenReturn(expectedName);
    
            // Act
            NetbiosName actualName = nameServiceClient.getLocalName();
    
            // Assert
            assertNotNull(actualName);
            assertEquals(expectedName, actualName);
            verify(nameServiceClient, times(1)).getLocalName();
        }
    
        @Test
        void testGetUnknownName() {
            // Arrange
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.4K bytes
    - Viewed (0)
  2. src/test/java/jcifs/netbios/NameServiceClientImplTest.java

        }
    
        @Test
        @DisplayName("Should get local host name")
        void testGetLocalName() {
            // When
            NetbiosName localName = nameServiceClient.getLocalName();
    
            // Then
            assertNotNull(localName, "Local name should not be null");
            assertTrue(localName.getName().length() > 0, "Local name should not be empty");
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 11K bytes
    - Viewed (0)
  3. src/main/java/jcifs/NameServiceClient.java

         *
         * @return local host address
         */
        NetbiosAddress getLocalHost();
    
        /**
         * Gets the local host NetBIOS name.
         *
         * @return the local host name
         */
        NetbiosName getLocalName();
    
        /**
         * Gets the unknown NetBIOS name instance.
         *
         * @return the unknown name
         */
        NetbiosName getUnknownName();
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/api/WebApiRequestTest.java

                return null;
            }
    
            @Override
            public int getRemotePort() {
                return 0;
            }
    
            @Override
            public String getLocalName() {
                return null;
            }
    
            @Override
            public String getLocalAddr() {
                return null;
            }
    
            @Override
            public int getLocalPort() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/netbios/NameServiceClientImpl.java

        public NbtAddress getLocalHost() {
            return this.localhostAddress;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.NameServiceClient#getLocalName()
         */
        @Override
        public Name getLocalName() {
            if (this.localhostAddress != null) {
                return this.localhostAddress.hostName;
            }
            return null;
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 38.5K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/filter/CorsFilterTest.java

                return null;
            }
    
            @Override
            public int getRemotePort() {
                return 0;
            }
    
            @Override
            public String getLocalName() {
                return "localhost";
            }
    
            @Override
            public String getLocalAddr() {
                return "127.0.0.1";
            }
    
            @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/cors/CorsHandlerTest.java

                    return null;
                }
    
                @Override
                public int getRemotePort() {
                    return 0;
                }
    
                @Override
                public String getLocalName() {
                    return null;
                }
    
                @Override
                public String getLocalAddr() {
                    return null;
                }
    
                @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 25.9K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/api/WebApiManagerTest.java

                return null;
            }
    
            @Override
            public int getRemotePort() {
                return 0;
            }
    
            @Override
            public String getLocalName() {
                return "localhost";
            }
    
            @Override
            public String getLocalAddr() {
                return "127.0.0.1";
            }
    
            @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 26.6K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/filter/WebApiFilterTest.java

                    return null;
                }
    
                @Override
                public int getRemotePort() {
                    return 0;
                }
    
                @Override
                public String getLocalName() {
                    return null;
                }
    
                @Override
                public String getLocalAddr() {
                    return null;
                }
    
                @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 26.2K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/util/PrunedTagTest.java

            public String getPrefix() {
                return null;
            }
    
            @Override
            public void setPrefix(String prefix) {
            }
    
            @Override
            public String getLocalName() {
                return null;
            }
    
            @Override
            public boolean hasAttributes() {
                return !attributes.isEmpty();
            }
    
            @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 21K bytes
    - Viewed (0)
Back to top