Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 26 for test_defaultConstructor (1.87 sec)

  1. src/test/java/org/codelibs/fess/entity/DataStoreParamsTest.java

        @Override
        public void setUp() throws Exception {
            super.setUp();
            dataStoreParams = new DataStoreParams();
        }
    
        // Test default constructor
        public void test_defaultConstructor() {
            DataStoreParams params = new DataStoreParams();
            assertNotNull(params);
            assertNotNull(params.params);
        }
    
        // Test put and get operations
        public void test_putAndGet() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/pac/PACDecodingExceptionTest.java

    import org.junit.jupiter.api.Test;
    
    /**
     * Tests for the PACDecodingException class.
     */
    class PACDecodingExceptionTest {
    
        /**
         * Test the default constructor.
         */
        @Test
        void testDefaultConstructor() {
            PACDecodingException e = new PACDecodingException();
            // Expect null message and null cause
            assertNull(e.getMessage());
            assertNull(e.getCause());
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/core/beans/impl/ConstructorDescTest.java

    import org.junit.Test;
    
    /**
     * @author koichik
     *
     */
    public class ConstructorDescTest {
    
        /**
         * @throws Exception
         */
        @SuppressWarnings("rawtypes")
        @Test
        public void testDefaultConstructor() throws Exception {
            final BeanDesc beanDesc = new BeanDescImpl(MyBean.class);
            final ConstructorDesc ctor = beanDesc.getConstructorDesc();
            assertThat(ctor, is(notNullValue()));
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/spnego/SpnegoExceptionTest.java

     */
    @DisplayName("SpnegoException Tests")
    class SpnegoExceptionTest extends BaseTest {
    
        @Test
        @DisplayName("Should create SpnegoException with default constructor")
        void testDefaultConstructor() {
            // When
            SpnegoException ex = new SpnegoException();
    
            // Then
            assertNotNull(ex, "Exception should be created");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  5. src/test/java/jcifs/CIFSUnsupportedCryptoExceptionTest.java

        private static final String ALGORITHM_NAME = "AES-256-GCM";
    
        @Test
        @DisplayName("Default constructor should create exception with null message and cause")
        void testDefaultConstructor() {
            // Given & When
            CIFSUnsupportedCryptoException exception = new CIFSUnsupportedCryptoException();
    
            // Then
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/smb1/DfsReferralTest.java

        /**
         * Tests the default constructor of the DfsReferral class.
         * It verifies that a new DfsReferral object is initialized with its 'next'
         * property pointing to itself.
         */
        @Test
        void testDefaultConstructor() {
            // Given
            DfsReferral referral = new DfsReferral();
    
            // When / Then
            assertNotNull(referral, "The DfsReferral object should not be null.");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/create/LeaseV1CreateContextRequestTest.java

            assertEquals("RqLs", LeaseV1CreateContextRequest.CONTEXT_NAME);
        }
    
        @Test
        @DisplayName("Should initialize with default values")
        void testDefaultConstructor() {
            LeaseV1CreateContextRequest defaultContext = new LeaseV1CreateContextRequest();
    
            assertNotNull(defaultContext.getLeaseKey());
            assertEquals(0, defaultContext.getLeaseState());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 00:16:17 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/nego/NegotiateContextRequestTest.java

                assertArrayEquals(salt, context.getSalt());
            }
    
            @Test
            @DisplayName("Should create context with default constructor")
            void testDefaultConstructor() {
                context = new PreauthIntegrityNegotiateContext();
    
                assertEquals(PreauthIntegrityNegotiateContext.NEGO_CTX_PREAUTH_TYPE, context.getContextType());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  9. src/test/java/jcifs/util/transport/TransportExceptionTest.java

    /**
     * Test class for TransportException
     */
    public class TransportExceptionTest {
    
        @Test
        @DisplayName("Test default constructor creates exception with null message")
        public void testDefaultConstructor() {
            // Create exception with default constructor
            TransportException exception = new TransportException();
    
            // Verify the exception is created and has no message
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  10. src/test/java/jcifs/tests/persistent/HandleReconnectorTest.java

        }
    
        @Test
        public void testGetRetryDelay() {
            assertEquals(50, reconnector.getRetryDelay());
        }
    
        @Test
        public void testDefaultConstructor() {
            HandleReconnector defaultReconnector = new HandleReconnector(mockManager);
            assertEquals(3, defaultReconnector.getMaxRetries());
            assertEquals(1000, defaultReconnector.getRetryDelay());
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 5.6K bytes
    - Viewed (0)
Back to top