Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 1,291 for Constructors (0.41 sec)

  1. src/test/java/org/codelibs/fess/exception/LdapOperationExceptionTest.java

            // Test constructor with message only
            String message = "LDAP operation failed";
            LdapOperationException exception = new LdapOperationException(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
    - 8.1K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/exception/ScriptEngineExceptionTest.java

            // Test constructor with message only
            String message = "Script engine error occurred";
            ScriptEngineException exception = new ScriptEngineException(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.5K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/exception/ThemeExceptionTest.java

        public void test_constructorWithNullMessage() {
            // Test constructor with null message
            ThemeException exception = new ThemeException(null);
    
            assertNotNull(exception);
            assertNull(exception.getMessage());
            assertNull(exception.getCause());
        }
    
        public void test_constructorWithNullMessageAndCause() {
            // Test constructor with null message and cause
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  4. src/test/java/jcifs/ntlmssp/av/AvSingleHostTest.java

    import static org.mockito.Mockito.mock;
    import static org.mockito.Mockito.when;
    
    import org.junit.jupiter.api.Test;
    
    import jcifs.Configuration;
    
    class AvSingleHostTest {
    
        /**
         * Test constructor AvSingleHost(byte[] raw).
         * Should correctly parse the raw bytes.
         */
        @Test
        void testAvSingleHostRawConstructor() {
            byte[] rawData = new byte[48]; // 8 (size/zero) + 8 (customData) + 32 (machineId)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/dcerpc/UUIDTest.java

        private static final byte[] NODE = { (byte) 0xAA, (byte) 0xBB, (byte) 0xCC, (byte) 0xDD, (byte) 0xEE, (byte) 0xFF };
    
        @Nested
        @DisplayName("Constructor Tests")
        class ConstructorTests {
    
            @Test
            @DisplayName("Constructor with rpc.uuid_t should copy all fields correctly")
            void testConstructorWithRpcUuidT() {
                // Arrange
                rpc.uuid_t rpcUuid = new rpc.uuid_t();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/exception/JobProcessingExceptionTest.java

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

        public void test_constructorWithNullMessage() {
            // Test constructor with null message
            ThumbnailGenerationException exception = new ThumbnailGenerationException(null);
    
            assertNull(exception.getMessage());
            assertNull(exception.getCause());
        }
    
        public void test_constructorWithNullMessageAndCause() {
            // 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.2K bytes
    - Viewed (0)
  8. src/test/java/jcifs/ntlmssp/av/AvPairTest.java

            byte[] raw = new byte[] { 0x01, 0x02, 0x03, 0x04 };
            AvPair avPair = new AvPair(type, raw);
    
            assertEquals(type, avPair.getType(), "Type should match the constructor argument.");
            assertArrayEquals(raw, avPair.getRaw(), "Raw data should match the constructor argument.");
    
            // Test with another type and empty raw data
            int type2 = AvPair.MsvAvEOL;
            byte[] raw2 = new byte[] {};
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/Smb2ConstantsTest.java

    class Smb2ConstantsTest {
    
        @Test
        @DisplayName("Should have private constructor to prevent instantiation")
        void testPrivateConstructor() throws Exception {
            // Verify constructor is private
            Constructor<Smb2Constants> constructor = Smb2Constants.class.getDeclaredConstructor();
            assertTrue(Modifier.isPrivate(constructor.getModifiers()), "Constructor should be private");
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  10. src/test/java/jcifs/pac/PacSidAttributesTest.java

        void testConstructor() {
            // Verify that the id and attributes are correctly set by the constructor
            assertEquals(sidMock, pacSidAttributes.getId(), "The SID should match the one provided in the constructor.");
            assertEquals(attributes, pacSidAttributes.getAttributes(), "The attributes should match the ones provided in the constructor.");
        }
    
        /**
         * Test method for {@link jcifs.pac.PacSidAttributes#getId()}.
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 1.6K bytes
    - Viewed (0)
Back to top