Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 131 - 140 of 878 for verifyCn (0.05 seconds)

  1. src/test/java/jcifs/internal/smb2/create/Smb2CloseRequestTest.java

            // Verify bytes written
            assertEquals(24, written);
    
            // Verify structure size (should be 24)
            assertEquals(24, SMBUtil.readInt2(buffer, offset));
    
            // Verify close flags (2 bytes at offset+2, should be 0 by default)
            assertEquals(0, SMBUtil.readInt2(buffer, offset + 2));
    
            // Verify Reserved (4 bytes at offset+4, should be 0)
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 20.5K bytes
    - Click Count (0)
  2. 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;
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 14.2K bytes
    - Click Count (0)
  3. 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=""
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Mon Jan 20 14:49:07 GMT 2025
    - 11.5K bytes
    - Click Count (0)
  4. src/test/java/jcifs/netbios/NodeStatusResponseTest.java

        }
    
        @Test
        void constructor_shouldInitializeFields() throws Exception {
            // Verify configuration is set
            Field configField = NameServicePacket.class.getDeclaredField("config");
            configField.setAccessible(true);
            assertSame(mockConfig, configField.get(response));
    
            // Verify queryAddress is set
            Field queryAddressField = NodeStatusResponse.class.getDeclaredField("queryAddress");
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 19.3K bytes
    - Click Count (0)
  5. 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)
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 3.1K bytes
    - Click Count (0)
  6. src/test/java/jcifs/smb/SmbRandomAccessFileTest.java

            raf.writeFloat(1.0f);
            raf.writeDouble(1.0);
    
            // Verify length counts - using times() to check exact counts
            verify(raf, times(2)).write(any(byte[].class), anyInt(), eq(2)); // short and char
            verify(raf, times(2)).write(any(byte[].class), anyInt(), eq(4)); // int and float
            verify(raf, times(2)).write(any(byte[].class), anyInt(), eq(8)); // long and double
        }
    
        @Test
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 18.1K bytes
    - Click Count (0)
  7. src/test/java/jcifs/dcerpc/msrpc/SamrPolicyHandleTest.java

            try (SamrPolicyHandle handle = new SamrPolicyHandle(mockHandle, server, access)) {
                assertNotNull(handle);
                // Verify that sendrecv was called with MsrpcSamrConnect4
                verify(mockHandle, times(1)).sendrecv(any(MsrpcSamrConnect4.class));
                verify(mockHandle, never()).sendrecv(any(MsrpcSamrConnect2.class));
            }
        }
    
        @Test
        void testConstructor_NullServer() throws IOException {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 7.4K bytes
    - Click Count (0)
  8. src/test/java/jcifs/smb/SmbTreeHandleImplTest.java

            // Verify constructor invoked acquire once
            verify(treeConnection, times(1)).acquire();
    
            // getConfig delegates
            when(treeConnection.getConfig()).thenReturn(config);
            assertSame(config, handle.getConfig());
            verify(treeConnection).getConfig();
    
            // isConnected delegates
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 14.4K bytes
    - Click Count (0)
  9. src/test/java/jcifs/SmbWatchHandleTest.java

            // Execute
            List<FileNotifyInformation> result = watchHandle.watch();
    
            // Verify
            assertNotNull(result);
            assertEquals(3, result.size());
            assertEquals(fileNotifyInfo1, result.get(0));
            assertEquals(fileNotifyInfo2, result.get(1));
            assertEquals(fileNotifyInfo3, result.get(2));
            verify(watchHandle, times(1)).watch();
        }
    
        /**
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 13.2K bytes
    - Click Count (1)
  10. src/test/java/jcifs/dcerpc/msrpc/LsarSidArrayXTest.java

            jcifs.SID[] sids = { mockSid1, mockSid2 };
            LsarSidArrayX lsarSidArrayX = new LsarSidArrayX(sids);
    
            // Verify num_sids
            assertEquals(2, lsarSidArrayX.num_sids, "num_sids should match the array length");
    
            // Verify sids array and its contents
            assertNotNull(lsarSidArrayX.sids, "sids array should not be null");
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 3.1K bytes
    - Click Count (0)
Back to Top