Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 6 of 6 for returnFalse (0.06 seconds)

  1. src/test/java/org/codelibs/fess/score/ScoreUpdaterTest.java

        private static class TestScoreBooster extends ScoreBooster {
            private final long returnValue;
    
            public TestScoreBooster(long returnValue) {
                this.returnValue = returnValue;
            }
    
            @Override
            public long process() {
                return returnValue;
            }
        }
    
        // Test class that throws exception
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 10.5K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/app/job/ScriptExecutorJob.java

                    }
                } else {
                    if (scheduledJob.isLoggingEnabled() && logger.isInfoEnabled()) {
                        logger.info("Finished job: id={}, returnValue:\n{}", id, ret);
                    }
                    jobLog.setScriptResult(ret.toString());
                }
                jobLog.setJobStatus(Constants.OK);
            } catch (final Throwable t) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 11:55:54 GMT 2026
    - 5.7K bytes
    - Click Count (0)
  3. android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java

          throws InvocationTargetException, IllegalAccessException {
        T returnValue = factory.invoke(null, args.toArray());
        if (returnValue == null) {
          Assert.assertTrue(
              factory + " returns null but it's not annotated with @Nullable", isNullable(factory));
        }
        return returnValue;
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Apr 02 14:49:41 GMT 2026
    - 32.5K bytes
    - Click Count (0)
  4. guava-testlib/test/com/google/common/testing/NullPointerTesterTest.java

        }
    
        void check() {
          runTester();
          FromTo<?, ?> defaultFunction = (FromTo<?, ?>) getDefaultParameterValue(0);
          FromTo<?, ?> returnValue = (FromTo<?, ?>) defaultFunction.apply(null);
          assertEquals("", returnValue.apply(null));
        }
      }
    
      public void testGenericInterfaceReturnedByGenericMethod() {
        new GenericInterface2DefaultValueChecker().check();
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 47.9K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

        assertTrue(executor.awaitTermination(5, SECONDS));
    
        assertFalse(callableCalled.get());
      }
    
      private static <T> AsyncCallable<T> constantAsyncCallable(ListenableFuture<T> returnValue) {
        return () -> returnValue;
      }
    
      /** Runnable which can be called a single time, and only after {@link #expectCall} is called. */
      // TODO(cpovirk): top-level class?
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 134K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

        assertTrue(executor.awaitTermination(5, SECONDS));
    
        assertFalse(callableCalled.get());
      }
    
      private static <T> AsyncCallable<T> constantAsyncCallable(ListenableFuture<T> returnValue) {
        return () -> returnValue;
      }
    
      /** Runnable which can be called a single time, and only after {@link #expectCall} is called. */
      // TODO(cpovirk): top-level class?
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 134K bytes
    - Click Count (0)
Back to Top