Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for TestBean (0.17 sec)

  1. src/test/java/org/codelibs/fess/validation/CronExpressionTest.java

        }
    
        // Test validation with valid cron expressions
        public void test_validCronExpressions() {
            TestBean bean = new TestBean();
    
            // Test null value (should be valid)
            bean.setCronExpression(null);
            Set<ConstraintViolation<TestBean>> violations = validator.validate(bean);
            assertTrue(violations.isEmpty());
    
            // Test empty string (should be valid)
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/core/beans/util/BeanUtilTest.java

            src.ccc = " ";
            final DestBean dest = new DestBean();
            BeanUtil.copyBeanToBean(src, dest);
            assertThat(dest.ccc, is(" "));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testCopyBeanToBean_excludesWhitespace() throws Exception {
            final SrcBean src = new SrcBean();
            src.ccc = " ";
            final DestBean dest = new DestBean();
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Fri Jun 20 13:40:57 UTC 2025
    - 34.5K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/beans/util/BeanUtil.java

     *
     * <pre>
     * DestBean destBean = copyBeanToNewBean(srcBean, DestBean.class);
     * DestBean destBean = copyMapToNewBean(srcMap, DestBean.class);
     * Map&lt;String, Object&gt; destMap = copyBeanToNewMap(srcBean);
     * </pre>
     * <p>
     * It is also possible to specify options when copying.
     * </p>
     *
     * <pre>
     * import static org.codelibs.core.beans.util.CopyOptionsUtil.*;
     *
     * copyBeanToBean(srcBean, destBean, excludeNull());
     * </pre>
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 23.5K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/beans/util/CopyOptionsUtil.java

     * <pre>
     * import static org.codelibs.core.beans.util.CopyOptionsUtil.*;
     *
     * copyBeanToBean(srcBean, destBean, excludeNull());
     * </pre>
     * <p>
     * The return value of {@literal CopyOptionsUtil} is {@link CopyOptions},
     * so you can specify multiple options using method chaining.
     * </p>
     *
     * <pre>
     * copyBeanToBean(srcBean, destBean, excludeNull().dateConverter("date", "MM/dd"));
     * </pre>
     *
     * @author koichik
     */
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 10.6K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/math/IntMathTest.java

          assertThrows(IllegalArgumentException.class, () -> IntMath.binomial(n, 0));
        }
      }
    
      @AndroidIncompatible // slow
      @GwtIncompatible // java.math.BigInteger
      public void testMean() {
        // Odd-sized ranges have an obvious mean
        assertMean(2, 1, 3);
    
        assertMean(-2, -3, -1);
        assertMean(0, -1, 1);
        assertMean(1, -1, 3);
        assertMean((1 << 30) - 1, -1, Integer.MAX_VALUE);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 24.1K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/math/StatsAccumulatorTest.java

        }
        // Should overflow without throwing.
        accumulator.addAll(accumulator.snapshot());
        assertThat(accumulator.count()).isLessThan(0L);
      }
    
      public void testMean() {
        assertThrows(IllegalStateException.class, () -> emptyAccumulator.mean());
        assertThrows(IllegalStateException.class, () -> emptyAccumulatorByAddAllEmptyIterable.mean());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 36.9K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/math/LongMathTest.java

        long sqrtMaxLong = (long) Math.sqrt(Long.MAX_VALUE);
        assertTrue(sqrtMaxLong <= LongMath.FLOOR_SQRT_MAX_LONG);
      }
    
      @AndroidIncompatible // slow
      @GwtIncompatible // java.math.BigInteger
      public void testMean() {
        // Odd-sized ranges have an obvious mean
        assertMean(2, 1, 3);
    
        assertMean(-2, -3, -1);
        assertMean(0, -1, 1);
        assertMean(1, -1, 3);
        assertMean((1L << 62) - 1, -1, Long.MAX_VALUE);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 31.4K bytes
    - Viewed (0)
Back to top