Search Options

Results per page
Sort
Preferred Languages
Advance

Results 231 - 240 of 2,772 for test$ (0.61 sec)

  1. src/test/java/jcifs/dcerpc/DcerpcErrorTest.java

    import java.util.Set;
    
    import org.junit.jupiter.api.DisplayName;
    import org.junit.jupiter.api.Test;
    
    @DisplayName("DcerpcError Test")
    class DcerpcErrorTest {
    
        @Test
        @DisplayName("Should verify DCERPC_FAULT_OTHER constant value")
        void testDcerpcFaultOther() {
            assertEquals(0x00000001, DcerpcError.DCERPC_FAULT_OTHER);
        }
    
        @Test
        @DisplayName("Should verify DCERPC_FAULT_ACCESS_DENIED constant value")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/Smb3KeyDerivationTest.java

    import org.junit.jupiter.api.DisplayName;
    import org.junit.jupiter.api.Test;
    import org.junit.jupiter.params.ParameterizedTest;
    import org.junit.jupiter.params.provider.ValueSource;
    
    /**
     * Test class for Smb3KeyDerivation.
     * Tests the SMB3 SP800-108 Counter Mode Key Derivation implementation.
     */
    @DisplayName("Smb3KeyDerivation Tests")
    class Smb3KeyDerivationTest {
    
        private byte[] sessionKey;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/BufferCacheTest.java

    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.DisplayName;
    import org.junit.jupiter.api.Test;
    import org.mockito.Mock;
    
    /**
     * Comprehensive test suite for BufferCache interface.
     * Tests the contract and behavior of BufferCache implementations.
     */
    @DisplayName("BufferCache Interface Tests")
    class BufferCacheTest extends BaseTest {
    
        @Mock
        private BufferCache mockBufferCache;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/smb1/SmbFilenameFilterTest.java

    import org.junit.jupiter.api.Test;
    import org.mockito.Mockito;
    
    /**
     * Tests for {@link SmbFilenameFilter}. Since the interface only defines
     * a single method, the tests simply ensure that the lambda expression
     * correctly implements the method and that any exception is propagated.
     */
    class SmbFilenameFilterTest {
    
        @Test
        void acceptReturnsTrueWhenNameMatches() throws Exception {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoResponseTest.java

        }
    
        @Test
        @DisplayName("Test inheritance from ServerMessageBlock2Response")
        void testInheritance() {
            response = new Smb2QueryInfoResponse(mockConfig, (byte) 1, (byte) 2);
            assertTrue(response instanceof ServerMessageBlock2Response);
            assertTrue(response instanceof ServerMessageBlock2);
        }
    
        @Test
        @DisplayName("Test OVERHEAD constant value")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.5K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/exception/ScheduledJobExceptionTest.java

            // Test constructor with message only
            String message = "Test scheduled job error";
            ScheduledJobException exception = new ScheduledJobException(message);
    
            assertEquals(message, exception.getMessage());
            assertNull(exception.getCause());
        }
    
        public void test_constructorWithMessageAndCause() {
            // Test constructor with message and cause
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/witness/WitnessEnumTest.java

    import static org.junit.jupiter.api.Assertions.assertThrows;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    import org.junit.jupiter.api.Test;
    
    /**
     * Unit tests for witness protocol enumerations.
     */
    public class WitnessEnumTest {
    
        @Test
        void testWitnessServiceTypes() {
            assertEquals(4, WitnessServiceType.values().length);
    
            // Verify all expected types are present
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 09:06:40 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/exception/SsoLoginExceptionTest.java

        public void test_constructor_withMessage() {
            // Test constructor with message only
            String message = "SSO login failed";
            SsoLoginException exception = new SsoLoginException(message);
    
            assertEquals(message, exception.getMessage());
            assertNull(exception.getCause());
        }
    
        public void test_constructor_withMessageAndCause() {
            // Test constructor with message and cause
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb1/com/SmbComNTCreateAndXTest.java

    import jcifs.Configuration;
    import jcifs.SmbConstants;
    import jcifs.internal.smb1.ServerMessageBlock;
    
    /**
     * Unit tests for {@link SmbComNTCreateAndX}.  The tests exercise the
     * constructor’s flag handling, response creation and simple accessors.
     *
     * <p>All tests run in the same package as the class under test so that
     * package‑private members are visible if required.
     */
    @ExtendWith(MockitoExtension.class)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTest.java

    import java.util.concurrent.TimeUnit;
    
    import org.junit.jupiter.api.DisplayName;
    import org.junit.jupiter.api.Test;
    
    /**
     * Test secure password handling in NtlmPasswordAuthenticator
     */
    public class NtlmPasswordAuthenticatorTest {
    
        /**
         * Test password storage using char arrays
         */
        @Test
        public void testPasswordAsCharArray() {
            String testPassword = "TestPassword123!";
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 23.3K bytes
    - Viewed (0)
Back to top