- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 388 for seriez (2.57 sec)
-
src/test/java/jcifs/internal/witness/WitnessClientTest.java
CompletableFuture<WitnessRegistration> future = client.registerForNotifications("\\\\server\\share", serverAddress, listener); WitnessRegistration registration = future.get(5, TimeUnit.SECONDS); assertNotNull(registration); assertEquals(WitnessRegistrationState.REGISTERED, registration.getState()); assertEquals("\\\\server\\share", registration.getShareName());Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 09:06:40 UTC 2025 - 9.8K bytes - Viewed (0) -
src/test/java/jcifs/context/BaseContextTest.java
void testGetSmbResourceWithVariousURLs() throws CIFSException { // Test different valid URL formats String[] validUrls = { "smb://server/share/", "smb://server/share/file.txt", "smb://user:pass@server/share/file.txt", "smb://domain;user:pass@server/share/file.txt" }; for (String url : validUrls) { // When SmbResource resource = context.get(url);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 15.1K bytes - Viewed (0) -
src/test/java/jcifs/SmbTreeHandleTest.java
*/ @Test void testGetRemoteHostName() { when(smbTreeHandle.getRemoteHostName()).thenReturn("test-server"); assertEquals("test-server", smbTreeHandle.getRemoteHostName(), "Remote host name should be test-server"); } /** * Test for getTreeType() method. * Verifies that the method returns the correct tree type. */ @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.1K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/DfsReferral.java
/** Number of characters consumed from the path */ public int pathConsumed; /** Time to live for this referral in seconds */ public long ttl; /** Target server for this referral */ public String server; // Server /** Target share for this referral */ public String share; // Share /** The complete UNC path link */ public String link;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTransportPoolImplTest.java
verify(pooledSpy).disconnect(false, false); verify(nonPooledSpy).disconnect(false, false); } @Test @DisplayName("Should get challenge from server") void testGetChallenge() throws Exception { // Given: Mock transport with server key byte[] expectedKey = { 1, 2, 3, 4 }; SmbTransportPoolImpl poolSpy = spy(pool); when(ctx.getTransportPool()).thenReturn(poolSpy);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 19.2K bytes - Viewed (0) -
src/test/java/jcifs/smb/SIDCacheImplTest.java
// Simulate resolve call by setting names/types and thus enabling cache population Object[] args = inv.getArguments(); String server = (String) args[0]; CIFSContext c = (CIFSContext) args[1]; assertNull(server); // We will pass null; method should forward it unchanged assertSame(ctx, c); SID[] toResolve = (SID[]) args[2];Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbNamedPipe.java
* <tr><td ><pre> * new SmbNamedPipe( "smb1://server/IPC$/PIPE/foo", * SmbNamedPipe.PIPE_TYPE_RDWR | * SmbNamedPipe.PIPE_TYPE_CALL ); * </pre></td><td> * Open the Named Pipe foo for reading and writing. The pipe will behave like the <code>CallNamedPipe</code> interface. * </td></tr> * <tr><td ><pre> * new SmbNamedPipe( "smb1://server/IPC$/foo", * SmbNamedPipe.PIPE_TYPE_RDWR |
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoResponseTest.java
assertNotNull(response.getServerGuid(), "Server GUID should not be null"); assertEquals(16, response.getServerGuid().length, "Server GUID should be 16 bytes"); assertArrayEquals(new byte[16], response.getServerGuid(), "Initial server GUID should be all zeros"); assertEquals(0, response.getSecurityMode(), "Initial security mode should be 0");
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.8K bytes - Viewed (0) -
src/main/java/jcifs/smb/SIDCacheImpl.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Mon Aug 25 14:34:10 UTC 2025 - 13.6K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/create/LeaseV1CreateContextResponse.java
public byte[] getName() { return CONTEXT_NAME_BYTES; } /** * Gets the lease key from the server response * @return the lease key */ public Smb2LeaseKey getLeaseKey() { return leaseKey; } /** * Gets the lease state granted by the server * @return the granted lease state */ public int getLeaseState() { return leaseState; }
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 02:21:31 UTC 2025 - 2.8K bytes - Viewed (0)