Search Options

Results per page
Sort
Preferred Languages
Advance

Results 191 - 200 of 870 for certify (0.82 sec)

  1. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessJsonResourceProviderTest.java

        public void test_allMethodsReturnExpectedValues() {
            // Comprehensive test to verify all methods return expected values
            FessJsonResourceProvider testProvider = new FessJsonResourceProvider();
    
            // Verify nulls suppression is enabled
            assertTrue("Nulls should be suppressed", testProvider.isNullsSuppressed());
    
            // Verify pretty print is enabled
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/fscc/FileEndOfFileInformationTest.java

            // Create buffer for encoding
            byte[] buffer = new byte[16];
            int bytesWritten = info.encode(buffer, 0);
    
            // Verify bytes written
            assertEquals(8, bytesWritten);
    
            // Verify encoded value
            long decodedValue = SMBUtil.readInt8(buffer, 0);
            assertEquals(endOfFile, decodedValue);
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/SmbTreeConnectionTraceTest.java

            // Assert: delegate interactions occur when usage transitions happen
            verify(delegate, times(1)).acquire();
            verify(delegate, times(1)).release();
        }
    
        @Test
        @DisplayName("finalize() invokes checkRelease exactly once")
        void finalize_invokes_checkRelease() throws Throwable {
            // Arrange: spy to verify internal interaction with checkRelease()
            CIFSContext ctx = mock(CIFSContext.class);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.7K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescTest.java

            // Verify bytes written
            assertEquals(8, bytesWritten);
    
            // Verify FID (2 bytes)
            assertEquals(fid, SMBUtil.readInt2(dst, dstIndex));
    
            // Verify reserved bytes (2 bytes at positions 2-3)
            assertEquals(0x00, dst[dstIndex + 2]);
            assertEquals(0x00, dst[dstIndex + 3]);
    
            // Verify security information (4 bytes)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.9K bytes
    - Viewed (0)
  5. src/test/java/jcifs/dcerpc/ndr/NdrObjectTest.java

    import static org.mockito.Mockito.verify;
    
    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.Test;
    import org.junit.jupiter.api.extension.ExtendWith;
    import org.mockito.Mock;
    import org.mockito.junit.jupiter.MockitoExtension;
    
    /**
     * Tests for the NdrObject abstract class.
     * This test uses a concrete implementation to verify the abstract contract.
     */
    @ExtendWith(MockitoExtension.class)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/ioctl/SrvRequestResumeKeyResponseTest.java

            int bytesConsumed = response.decode(buffer, 0, 28);
    
            // Verify
            assertEquals(28, bytesConsumed, "Should consume exactly 28 bytes");
    
            byte[] resumeKey = response.getResumeKey();
            assertNotNull(resumeKey, "Resume key should not be null");
            assertEquals(24, resumeKey.length, "Resume key should be 24 bytes");
    
            // Verify resume key content
            for (int i = 0; i < 24; i++) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb1/trans2/Trans2FindFirst2Test.java

            // Verify search attributes (masked with 0x37)
            assertEquals(0x37, SMBUtil.readInt2(buffer, 0));
    
            // Verify max items
            assertEquals(100, SMBUtil.readInt2(buffer, 2));
    
            // Verify flags (should be 0x00)
            assertEquals(0x00, SMBUtil.readInt2(buffer, 4));
    
            // Verify information level (SMB_FILE_BOTH_DIRECTORY_INFO)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/ioctl/SrvPipePeekResponseTest.java

            System.arraycopy(testData, 0, buffer, bufferIndex + 16, testData.length);
    
            // Decode
            int bytesDecoded = response.decode(buffer, bufferIndex, buffer.length);
    
            // Verify results
            assertEquals(namedPipeState, response.getNamedPipeState());
            assertEquals(readDataAvailable, response.getReadDataAvailable());
            assertEquals(numberOfMessages, response.getNumberOfMessages());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  9. src/test/java/jcifs/ACETest.java

                ace.getAccessMask();
    
                // Different methods called
                ace.isAllow();
                ace.getFlags();
    
                verify(ace, times(2)).getAccessMask();
                verify(ace, times(1)).isAllow();
                verify(ace, times(1)).getFlags();
            }
        }
    
        @Nested
        @DisplayName("Real-world Usage Scenarios")
        class RealWorldUsageTests {
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.4K bytes
    - Viewed (0)
  10. src/test/java/jcifs/dcerpc/ndr/NdrSmallTest.java

            NdrSmall ndrSmall = new NdrSmall(0);
    
            // Call the decode method
            ndrSmall.decode(mockNdrBuffer);
    
            // Verify that dec_ndr_small was called
            verify(mockNdrBuffer, times(1)).dec_ndr_small();
            // Verify that the value field was updated correctly
            assertEquals(decodedValue, ndrSmall.value, "Value should be updated after decoding.");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.2K bytes
    - Viewed (0)
Back to top