Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 1,291 for Constructors (0.51 sec)

  1. src/test/java/org/codelibs/fess/opensearch/client/SearchEngineClientExceptionTest.java

            // Test constructor with null message
            SearchEngineClientException exception = new SearchEngineClientException(null);
    
            assertNotNull(exception);
            assertNull(exception.getMessage());
            assertNull(exception.getCause());
        }
    
        public void test_constructor_withNullMessageAndCause() {
            // Test constructor with null message and null cause
    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/pac/PacCredentialTypeTest.java

    class PacCredentialTypeTest {
    
        /**
         * Tests the constructor with a valid byte array.
         */
        @Test
        void testConstructorWithValidData() {
            // A byte array with a length less than 32 should be considered valid.
            byte[] validData = new byte[31];
            assertDoesNotThrow(() -> new PacCredentialType(validData));
        }
    
        /**
         * Tests the constructor with a null byte array, which should throw an exception.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/dict/DictionaryExceptionTest.java

        public void test_constructor_withNullMessage() {
            // Test constructor with null message
            DictionaryException exception = new DictionaryException(null);
    
            assertNotNull(exception);
            assertNull(exception.getMessage());
            assertNull(exception.getCause());
        }
    
        public void test_constructor_withNullMessageAndCause() {
            // Test constructor with null message but valid cause
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/exception/FessSystemExceptionTest.java

            // Test constructor with message only
            String message = "Test exception message";
            FessSystemException exception = new FessSystemException(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
    - 7.4K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/tomcat/webresources/FessWebResourceRootTest.java

        }
    
        public void test_constructorSignature() {
            // Verify constructor parameter types
            try {
                final java.lang.reflect.Constructor<?> constructor = FessWebResourceRoot.class.getConstructor(Context.class);
                final Class<?>[] paramTypes = constructor.getParameterTypes();
                assertEquals("Constructor should have one parameter", 1, paramTypes.length);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  6. src/test/java/jcifs/dcerpc/msrpc/MsrpcLsarOpenPolicy2Test.java

            // Then
            // Verify that the super constructor is called with correct arguments
            // Note: Directly verifying super constructor calls is not straightforward in JUnit/Mockito.
            // We verify the effects of the super constructor by checking the fields of the created object.
    
            // Assert object_attributes fields
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  7. src/main/java/jcifs/dcerpc/msrpc/lsarpc.java

        }
    
        /**
         * LSA Quality of Service information.
         */
        public static class LsarQosInfo extends NdrObject {
    
            /**
             * Default constructor for LsarQosInfo.
             */
            public LsarQosInfo() {
                // Default constructor
            }
    
            /** Length of the QoS information. */
            public int length;
            /** Security impersonation level. */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 44.5K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/dcerpc/rpc.java

         */
        public static class uuid_t extends NdrObject {
    
            /**
             * Default constructor for uuid_t.
             */
            public uuid_t() {
                // Default constructor
            }
    
            /**
             * The low field of the timestamp.
             */
            public int time_low;
            /**
             * The middle field of the timestamp.
             */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb1/dcerpc/msrpc/MsrpcSamrConnect2Test.java

    import jcifs.smb1.dcerpc.ndr.NdrObject;
    
    /**
     * Tests for {@link jcifs.smb1.dcerpc.msrpc.MsrpcSamrConnect2} constructor.
     * <p>
     * The class under test is a simple wrapper around the base class that
     * sets internal fields in its constructor.
     * These tests verify that the constructor accepts various parameters
     * without throwing exceptions.
     */
    @ExtendWith(MockitoExtension.class)
    class MsrpcSamrConnect2Test {
    
    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. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/MetadataResolutionException.java

        public MetadataResolutionException() {
            // TODO Auto-generated constructor stub
        }
    
        public MetadataResolutionException(String message) {
            super(message);
            // TODO Auto-generated constructor stub
        }
    
        public MetadataResolutionException(Throwable cause) {
            super(cause);
            // TODO Auto-generated constructor stub
        }
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.5K bytes
    - Viewed (0)
Back to top