Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 1,628 for constructors (0.05 sec)

  1. src/test/java/jcifs/util/transport/RequestTimeoutExceptionTest.java

        @Test
        void testNoArgsConstructor() {
            // Test the constructor with no arguments
            RequestTimeoutException exception = new RequestTimeoutException();
            assertNull(exception.getMessage(), "Message should be null for no-arg constructor");
            assertNull(exception.getCause(), "Cause should be null for no-arg constructor");
        }
    
        @Test
        void testMessageConstructor() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/exception/SsoLoginExceptionTest.java

            // 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)
  3. src/main/java/jcifs/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 */
            public short time_mid;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/smb1/SmbComOpenAndXTest.java

        }
    
        /**
         * Test constructor with O_CREAT flag.
         */
        @Test
        void testConstructor_CreateAndOpen() {
            int flags = SmbFile.O_CREAT;
            smbComOpenAndX = new SmbComOpenAndX(fileName, access, flags, andx);
            assertEquals(0x11, smbComOpenAndX.openFunction); // OPEN_FN_CREATE | OPEN_FN_OPEN
        }
    
        /**
         * Test constructor with no special flags.
         */
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. android/guava/src/com/google/common/util/concurrent/ServiceManager.java

       * ServiceManager} constructor without having to close over the partially constructed {@link
       * ServiceManager} instance (i.e. avoid leaking a pointer to {@code this}).
       */
      private final ServiceManagerState state;
    
      private final ImmutableList<Service> services;
    
      /**
       * Constructs a new instance for managing the given services.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 33.2K bytes
    - Viewed (0)
Back to top