Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 840 for verifyCn (2.54 sec)

  1. src/test/java/jcifs/internal/dfs/DfsReferralDataInternalTest.java

                verify(mockReferralData, atLeastOnce()).getPath();
                verify(mockReferralData, atLeastOnce()).next();
                verify(mockReferralData, atLeastOnce()).getKey();
                verify(mockReferralData, atLeastOnce()).isResolveHashes();
                verify(mockReferralData, atLeastOnce()).isIntermediate();
                verify(mockReferralData, atLeastOnce()).combine(any());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 28.2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/SmbTreeTest.java

            // Unwrap then close both
            CustomSmbTree unwrapped = smbTree.unwrap(CustomSmbTree.class);
            smbTree.close();
            unwrapped.close();
    
            verify(smbTree).unwrap(CustomSmbTree.class);
            verify(smbTree).close();
            verify(customTree).close();
        }
    
        /**
         * Custom SmbTree interface for testing unwrap functionality.
         */
        interface CustomSmbTree extends SmbTree {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/io/Smb2FlushRequestTest.java

            // Verify bytes written
            assertEquals(24, written);
    
            // Verify structure size (should be 24)
            assertEquals(24, SMBUtil.readInt2(buffer, offset));
    
            // Verify Reserved1 (2 bytes at offset+2, should be 0)
            assertEquals(0, SMBUtil.readInt2(buffer, offset + 2));
    
            // Verify Reserved2 (4 bytes at offset+4, should be 0)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/exception/ServletRuntimeExceptionTest.java

            ServletRuntimeException runtimeException = new ServletRuntimeException(servletException);
    
            // Verify that the cause is correctly set
            assertNotNull(runtimeException);
            assertEquals(servletException, runtimeException.getCause());
    
            // Verify that the message is preserved from the cause
            assertTrue(runtimeException.getMessage().contains(ServletException.class.getName()));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/fscc/SmbInfoAllocationTest.java

            // Decode
            int bytesDecoded = smbInfoAllocation.decode(buffer, 0, buffer.length);
    
            // Verify - actual implementation reads 20 bytes (4 + 4 + 4 + 4 + 4)
            // bytesPerSect is read as Int2 but advances by 4 bytes (padding)
            assertEquals(20, bytesDecoded);
    
            // Verify capacity calculation: alloc * sectPerAlloc * bytesPerSect
            long expectedCapacity = alloc * sectPerAlloc * bytesPerSect;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  6. src/test/java/jcifs/CIFSContextTest.java

            // Then
            assertEquals(mockPipe, pipe);
            verify(mockContext).getPipe(url, pipeType);
        }
    
        @Test
        @DisplayName("Should close context")
        void testClose() throws CIFSException {
            // When
            mockContext.close();
    
            // Then
            verify(mockContext).close();
        }
    
        @Test
        @DisplayName("Should get Configuration")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  7. src/test/java/jcifs/netbios/NameServiceClientImplTest.java

    import static org.junit.jupiter.api.Assertions.assertThrows;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    import static org.mockito.Mockito.atLeastOnce;
    import static org.mockito.Mockito.verify;
    import static org.mockito.Mockito.when;
    
    import java.net.InetAddress;
    import java.net.UnknownHostException;
    import java.util.Arrays;
    import java.util.concurrent.TimeUnit;
    
    import org.junit.jupiter.api.BeforeEach;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 11K bytes
    - Viewed (0)
  8. docs/site-replication/run-replication-with-checksum-header.sh

    split -n 10 /tmp/data/mpartobj
    CREATE_MPART_OUT=$(aws s3api --endpoint-url=https://localhost:9001 create-multipart-upload --bucket test-bucket --key mpartobj --checksum-algorithm SHA256 --no-verify-ssl --profile enterprise)
    UPLOAD_ID=$(echo "${CREATE_MPART_OUT}" | jq '.UploadId' | sed 's/"//g')
    
    PARTS=""
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Mon Jan 20 14:49:07 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/SmbTransportPoolImplTest.java

            boolean inUse = pool.close();
    
            // Then: Should report in-use and call disconnect on all
            assertTrue(inUse, "Should report connections in use");
            verify(pooledSpy).disconnect(false, false);
            verify(nonPooledSpy).disconnect(false, false);
        }
    
        @Test
        @DisplayName("Should get challenge from server")
        void testGetChallenge() throws Exception {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 19.2K bytes
    - Viewed (0)
  10. src/test/java/jcifs/config/SecurityConfigurationTest.java

            BaseConfiguration config = new BaseConfiguration(true);
    
            // Verify minimum SMB version is at least SMB 2.0.2 (SMB1 disabled)
            assertTrue("Minimum version should be at least SMB2.0.2", config.getMinimumVersion().atLeast(DialectVersion.SMB202));
    
            // Verify LM compatibility level is 3 or higher (NTLMv2 only)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 3.1K bytes
    - Viewed (0)
Back to top