Search Options

Results per page
Sort
Preferred Languages
Advance

Results 231 - 240 of 1,820 for construct (0.76 sec)

  1. src/test/java/jcifs/dcerpc/msrpc/SamrAliasHandleTest.java

            // We cannot directly access private fields of MsrpcSamrOpenAlias or its superclass
            // Instead, we verify the interaction with the DcerpcHandle and the return value.
            // The fact that the constructor completes without exception and sets 'opened' to true
            // implies the correct parameters were used internally.
        }
    
        @Test
        void constructor_shouldThrowSmbExceptionOnOpenFailure() throws IOException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/smb1/NtlmChallengeTest.java

    import jcifs.smb1.UniAddress;
    
    /**
     * Unit tests for {@link NtlmChallenge}.
     */
    class NtlmChallengeTest {
    
        @Nested
        @DisplayName("Constructor and Field Tests")
        class ConstructorTests {
    
            @Test
            @DisplayName("Constructor sets fields correctly")
            void testConstructorSetsFields() {
                byte[] challenge = new byte[] { 1, 2, 3 };
                UniAddress dc = mock(UniAddress.class);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6K bytes
    - Viewed (0)
  3. src/test/java/jcifs/util/HMACT64Test.java

                HMACT64 hmac = new HMACT64(TEST_KEY);
                hmac.engineReset();
                verify(mockMd5, times(2)).reset(); // Once in constructor, once in reset
                verify(mockMd5, times(2)).update(any(byte[].class)); // Once in constructor, once in reset
            }
        }
    
        @Test
        void testEngineGetDigestLength() throws NoSuchAlgorithmException {
            // Test engineGetDigestLength()
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtCancelTest.java

                // Given
                int testMid = 42;
    
                // When
                Constructor<SmbComNtCancel> constructor = SmbComNtCancel.class.getDeclaredConstructor(Configuration.class, int.class);
                constructor.setAccessible(true);
                SmbComNtCancel cancel = constructor.newInstance(mockConfig, testMid);
    
                // Then
                assertNotNull(cancel);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.8K 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/main/java/org/codelibs/core/misc/Tuple5.java

                final T5 value5) {
            return new Tuple5<>(value1, value2, value3, value4, value5);
        }
    
        /**
         * Constructs an instance.
         */
        public Tuple5() {
        }
    
        /**
         * Constructs an instance.
         *
         * @param value1
         *            The first value
         * @param value2
         *            The second value
         * @param value3
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  9. guava/src/com/google/common/util/concurrent/FuturesGetChecked.java

              .reverse();
      private static final Ordering<Constructor<?>> WITH_STRING_PARAM_THEN_WITH_THROWABLE_PARAM =
          ORDERING_BY_CONSTRUCTOR_PARAMETER_LIST.onResultOf(
              constructor -> asList(constructor.getParameterTypes()));
    
      private static <X> @Nullable X newFromConstructor(Constructor<X> constructor, Throwable cause) {
        Class<?>[] paramTypes = constructor.getParameterTypes();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 11.8K bytes
    - Viewed (0)
  10. src/test/java/jcifs/pac/PacUnicodeStringTest.java

            assertEquals(length, pacString.getLength(), "The length should match the value provided in the constructor.");
            assertEquals(maxLength, pacString.getMaxLength(), "The maxLength should match the value provided in the constructor.");
            assertEquals(pointer, pacString.getPointer(), "The pointer should match the value provided in the constructor.");
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.7K bytes
    - Viewed (0)
Back to top