Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 147 for Arguments (1.79 sec)

  1. src/test/java/org/codelibs/core/convert/BinaryConversionUtilTest.java

         * .
         */
        @Test
        public void testToBinaryException() {
            exception.expect(ClIllegalArgumentException.class);
            exception.expectMessage(is("[ECL0009]argument[o] is illegal. because class java.lang.Object."));
            BinaryConversionUtil.toBinary(new Object());
        }
    
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 2K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/lang/StringUtil.java

         * @return the given string, or an empty string if the argument is <code>null</code>
         */
        public static String defaultString(final String str) {
            return str == null ? EMPTY : str;
        }
    
        /**
         * Returns the given string, or the specified default string if the argument is <code>null</code>.
         * <p>
         * Usage example:
         * </p>
         *
         * <pre>
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Nov 22 11:21:59 UTC 2025
    - 21.5K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/opensearch/log/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)
  4. src/test/java/jcifs/util/transport/ResponseTest.java

        }
    
        @Test
        void testSetMid() {
            long mid = 12345L;
            mockResponse.setMid(mid);
    
            // Verify that the method was called with the correct argument
            verify(mockResponse, times(1)).setMid(mid);
        }
    
        @Test
        void testGetMid() {
            long mid = 54321L;
            when(mockResponse.getMid()).thenReturn(mid);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  5. 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)
  6. src/test/java/org/codelibs/core/collection/EnumerationIteratorTest.java

         * .
         */
        @Test
        public void testCopyDestNull() {
            exception.expect(NullArgumentException.class);
            exception.expectMessage(is("[ECL0008]argument[enumeration] is null."));
            new EnumerationIterator<Object>(null);
        }
    
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  7. 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)
  8. src/test/java/org/codelibs/core/log/LoggerTest.java

         */
        @SuppressWarnings("static-access")
        @Test
        public void testFormat() {
            exception.expect(ClIllegalArgumentException.class);
            exception.expectMessage(is("[ECL0009]argument[AUTL0009] is illegal. because messageCode : AUTL0009."));
            Logger.format("AUTL0009", "hoge");
        }
    
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 3.8K 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/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)
Back to top