Search Options

Results per page
Sort
Preferred Languages
Advance

Results 301 - 310 of 1,850 for construct (0.05 sec)

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

        }
    
        /**
         * Test constructor DcerpcException(String msg).
         */
        @Test
        void testConstructorWithMessage() {
            String message = "Test message for DcerpcException.";
            DcerpcException exception = new DcerpcException(message);
    
            assertEquals(0, exception.getErrorCode(), "Error code should be 0 for message-only constructor.");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  2. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/InvokerException.java

    @Experimental
    public class InvokerException extends MavenException {
        /**
         * Constructs a new {@code InvokerException} with the specified detail message.
         *
         * @param message the detail message explaining the cause of the exception
         */
        public InvokerException(@Nullable String message) {
            super(message);
        }
    
        /**
         * Constructs a new {@code InvokerException} with the specified detail message and cause.
         *
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Nov 13 14:14:56 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/beans/impl/ParameterizedClassDescImpl.java

        /**
         * Constructs an instance.
         *
         * @param rawClass
         *            The raw class. Must not be {@literal null}.
         */
        public ParameterizedClassDescImpl(final Class<?> rawClass) {
            assertArgumentNotNull("rawClass", rawClass);
    
            this.rawClass = rawClass;
        }
    
        /**
         * Constructs an instance.
         *
         * @param rawClass
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/dcerpc/msrpc/SamrPolicyHandleTest.java

        @BeforeEach
        void setUp() {
            // Reset mocks before each test
            reset(mockHandle);
        }
    
        @Test
        void testConstructor_SuccessfulConnect4() throws IOException {
            // Test case: Constructor with successful MsrpcSamrConnect4
            String server = "testServer";
            int access = 123;
    
            // No exception thrown by sendrecv for MsrpcSamrConnect4
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  5. 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)
  6. src/test/java/jcifs/dcerpc/msrpc/MsrpcSamrOpenAliasTest.java

            }
    
            // Since SamrOpenAlias's constructor parameters are not directly exposed via getters in MsrpcSamrOpenAlias,
            // we cannot directly verify them here without reflection or extending SamrOpenAlias for testing.
            // However, the primary responsibility of MsrpcSamrOpenAlias's constructor is to call the super constructor
            // and set its own specific fields (ptype, flags).
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb1/SMB1SigningDigestTest.java

        }
    
        @Test
        @DisplayName("Test constructor with MAC signing key and bypass flag")
        void testConstructorWithBypass() {
            SMB1SigningDigest digest = new SMB1SigningDigest(testMacSigningKey, true);
            assertNotNull(digest);
            assertTrue(digest.toString().contains("MacSigningKey="));
        }
    
        @Test
        @DisplayName("Test constructor with MAC signing key, bypass flag and initial sequence")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/core/beans/impl/ConstructorDescTest.java

    import static org.hamcrest.CoreMatchers.notNullValue;
    import static org.hamcrest.CoreMatchers.nullValue;
    import static org.hamcrest.CoreMatchers.sameInstance;
    import static org.junit.Assert.assertThat;
    
    import java.lang.reflect.Constructor;
    
    import org.codelibs.core.beans.BeanDesc;
    import org.codelibs.core.beans.ConstructorDesc;
    import org.junit.Test;
    
    /**
     * @author koichik
     *
     */
    public class ConstructorDescTest {
    
        /**
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/JAASAuthenticatorTest.java

                JAASAuthenticator a = new JAASAuthenticator();
                // Provide a preset Subject so the getSubject() path uses the (serviceName, ps, this) constructor
                a.setSubject(new Subject());
                return a;
            }
            case WITH_CONFIG: {
                // Use the constructor that sets a StaticJAASConfiguration to exercise that branch
                return new JAASAuthenticator(new HashMap<String, String>(), "DOM", "user", "pass");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/netbios/NbtSocket.java

        private NbtAddress address;
        private Name calledName;
        private int soTimeout;
    
        /**
         * Constructs an unconnected NbtSocket.
         */
        public NbtSocket() {
        }
    
        /**
         * Constructs an NbtSocket and connects it to the specified NetBIOS address and port.
         *
         * @param address the NetBIOS address to connect to
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.1K bytes
    - Viewed (0)
Back to top