Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 146 for Argument (0.41 sec)

  1. 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)
  2. src/test/java/jcifs/smb1/smb1/TestLockingTest.java

        }
    
        @Nested
        @DisplayName("Argument parsing")
        class ArgumentParsing {
    
            @Test
            @DisplayName("URL parameter is correctly parsed")
            void urlParameterParsing() {
                String expectedUrl = "smb://server/share/test.txt";
                TestLocking t = new TestLocking();
    
                // Simulate argument parsing
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.9K 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/fess/opensearch/config/allcommon/EsSqlClause.java

            return null;
        }
    
        @Override
        public void fetchFirst(int fetchSize) {
            _fetchScopeEffective = true;
            if (fetchSize < 0) {
                String msg = "Argument[fetchSize] should be plus: " + fetchSize;
                throw new IllegalArgumentException(msg);
            }
            _fetchStartIndex = 0;
            _fetchSize = fetchSize;
            _fetchPageNumber = 1;
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 2K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/opensearch/user/allcommon/EsSqlClause.java

            return null;
        }
    
        @Override
        public void fetchFirst(int fetchSize) {
            _fetchScopeEffective = true;
            if (fetchSize < 0) {
                String msg = "Argument[fetchSize] should be plus: " + fetchSize;
                throw new IllegalArgumentException(msg);
            }
            _fetchStartIndex = 0;
            _fetchSize = fetchSize;
            _fetchPageNumber = 1;
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 2K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. src/test/java/org/codelibs/core/net/MimeTypeUtilTest.java

         */
        @Test
        public void testGuessContentType() {
            exception.expect(EmptyArgumentException.class);
            exception.expectMessage(is("[ECL0010]argument[path] is null or empty string."));
            MimeTypeUtil.guessContentType(null);
        }
    
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top