- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for getOEMDomainName (0.18 sec)
-
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) -
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) -
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)