Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 7 of 7 for testLeak (0.09 seconds)

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

        }
    
        // Test validation with valid cron expressions
        @Test
        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)
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 12.5K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/math/StatsTest.java

        assertThat(LONG_MANY_VALUES_STATS_ITERATOR.count()).isEqualTo(LONG_MANY_VALUES_COUNT);
        assertThat(LONG_MANY_VALUES_STATS_SNAPSHOT.count()).isEqualTo(LONG_MANY_VALUES_COUNT);
      }
    
      public void testMean() {
        assertThrows(IllegalStateException.class, EMPTY_STATS_VARARGS::mean);
        assertThrows(IllegalStateException.class, EMPTY_STATS_ITERABLE::mean);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:11:48 GMT 2026
    - 33.4K bytes
    - Click Count (0)
  3. 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);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Aug 11 19:31:30 GMT 2025
    - 24.1K bytes
    - Click Count (0)
  4. 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());
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 05:21:26 GMT 2026
    - 37.1K bytes
    - Click Count (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);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Aug 11 19:31:30 GMT 2025
    - 24.1K bytes
    - Click Count (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());
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 05:21:26 GMT 2026
    - 37.1K bytes
    - Click Count (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);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Oct 30 14:15:36 GMT 2025
    - 31.4K bytes
    - Click Count (0)
Back to Top