Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for getOEMDomainName (0.18 sec)

  1. src/main/java/jcifs/smb/SmbTreeHandleImpl.java

                return 0;
            }
        }
    
        /**
         * {@inheritDoc}
         *
         * @throws SmbException
         *
         * @see jcifs.SmbTreeHandle#getOEMDomainName()
         */
        @Override
        public String getOEMDomainName() throws SmbException {
            try (SmbSessionImpl session = this.treeConnection.getSession(); SmbTransportImpl transport = session.getTransport()) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SmbTreeHandleImplTest.java

            when(transport.getNegotiateResponse()).thenReturn(nego);
    
            assertEquals(60L * 1000L * 60L, handle.getServerTimeZoneOffset());
            assertEquals("DOMAIN", handle.getOEMDomainName());
            verify(session, times(2)).close();
            verify(transport, times(2)).close();
        }
    
        @Test
        @DisplayName("getServerTimeZoneOffset/OEMDomainName: non-SMB1 negotiate returns 0/null")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/NetServerEnumIteratorTest.java

            when(parent.getLocator()).thenReturn(locator);
            when(treeHandle.getConfig()).thenReturn(config);
            when(treeHandle.acquire()).thenReturn(treeHandle);
            when(treeHandle.getOEMDomainName()).thenReturn("TESTDOMAIN");
        }
    
        @Test
        @DisplayName("Constructor should throw SmbException for non-workgroup type with host")
        void testConstructor_NonWorkgroupType_ThrowsException() throws Exception {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.8K bytes
    - Viewed (0)
Back to top