Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 136 for Argument (0.11 sec)

  1. src/test/java/jcifs/RuntimeCIFSExceptionTest.java

            // When
            RuntimeCIFSException exception = new RuntimeCIFSException(cause);
    
            // Then
            assertNotNull(exception);
            assertEquals(cause, exception.getCause());
            assertTrue(exception.getMessage().contains("IllegalArgumentException"));
            assertTrue(exception.getMessage().contains("Invalid argument"));
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SmbTreeHandleInternalTest.java

        }
    
        @ParameterizedTest
        @ValueSource(ints = { 0, 1, -1, Integer.MIN_VALUE, Integer.MAX_VALUE })
        @DisplayName("hasCapability(cap): returns configured value and captures argument across edge caps")
        void hasCapability_variousCaps_returnsTrue_andCapturesArgument(int cap) throws Exception {
            // Arrange: stub to return true regardless of input
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/core/convert/CalendarConversionUtilTest.java

         * .
         */
        @Test
        public void testCreateAndCopySrcNull() {
            exception.expect(NullArgumentException.class);
            exception.expectMessage(is("[ECL0008]argument[calendar] is null."));
            CalendarConversionUtil.localize(null);
        }
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/beans/impl/ConstructorDescImpl.java

        /** Constructor */
        protected final Constructor<?> constructor;
    
        /** Array of constructor parameter types */
        protected final Class<?>[] parameterTypes;
    
        /** Information about parameterized argument types */
        protected final ParameterizedClassDesc[] parameterizedClassDescs;
    
        /**
         * Constructs an instance.
         *
         * @param beanDesc
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 5K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/suggest/index/SuggestDeleteResponseTest.java

            List<Throwable> errors = new ArrayList<>();
            errors.add(new Exception("Exception error"));
            errors.add(new RuntimeException("Runtime error"));
            errors.add(new IllegalArgumentException("Illegal argument error"));
    
            SuggestDeleteResponse response = new SuggestDeleteResponse(errors, 150);
    
            assertTrue(response.hasError());
            assertEquals(3, response.getErrors().size());
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Thu Nov 13 00:40:54 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  6. src/main/java/jcifs/Config.java

            SingletonContext.registerSmbURLHandler();
        }
    
        /**
         * Retrieve an <code>int</code>. If the key does not exist or
         * cannot be converted to an <code>int</code>, the provided default
         * argument will be returned.
         *
         * @param props the properties to search in
         * @param key the property key to look up
         * @param def the default value to return if key is not found or cannot be parsed
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/SMBSigningDigestTest.java

            verify(signingDigest, times(5)).verify(any(byte[].class), anyInt(), anyInt(), anyInt(), any());
        }
    
        @Test
        @DisplayName("Test sign method invocation with argument capture")
        void testSignMethodArgumentCapture() {
            // Arrange
            ArgumentCaptor<byte[]> dataCaptor = ArgumentCaptor.forClass(byte[].class);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb1/dcerpc/ndr/NdrHyperTest.java

     *       and extreme {@code long} values.</li>
     *   <li>encode/decode methods interact correctly with a mocked
     *       {@link NdrBuffer} so that the correct method is called with
     *       the correct argument.</li>
     *   <li>passing {@code null} throws {@link NullPointerException}.
     * </ul>
     *
     * The buffer is created with enough capacity for a 64‑bit value.
     */
    @ExtendWith(MockitoExtension.class)
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/WinErrorTest.java

                    Arguments.of(WinError.ERROR_BAD_PIPE, "The pipe state is invalid."),
                    Arguments.of(WinError.ERROR_PIPE_BUSY, "All pipe instances are busy."),
                    Arguments.of(WinError.ERROR_NO_DATA, "The pipe is being closed."),
                    Arguments.of(WinError.ERROR_PIPE_NOT_CONNECTED, "No process is on the other end of the pipe."),
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/SmbComOpenAndX.java

    package jcifs.smb1.smb1;
    
    import java.util.Date;
    
    import jcifs.smb1.Config;
    import jcifs.smb1.util.Hexdump;
    
    class SmbComOpenAndX extends AndXServerMessageBlock {
    
        // flags (not the same as flags constructor argument)
        private static final int FLAGS_RETURN_ADDITIONAL_INFO = 0x01;
        private static final int FLAGS_REQUEST_OPLOCK = 0x02;
        private static final int FLAGS_REQUEST_BATCH_OPLOCK = 0x04;
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.6K bytes
    - Viewed (0)
Back to top