Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 17 of 17 for Linden (0.16 sec)

  1. guava-tests/test/com/google/common/util/concurrent/InterruptionUtil.java

                joinUninterruptibly(interruptingThread, 2500, MILLISECONDS);
                Thread.interrupted();
                if (interruptingThread.isAlive()) {
                  // This will be hidden by test-output redirection:
                  logger.severe("InterruptenatorTask did not exit; future tests may be affected");
                  /*
                   * This won't do any good under JUnit 3, but I'll leave it around in
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 4.4K bytes
    - Viewed (1)
  2. android/guava-tests/test/com/google/common/base/PreconditionsTest.java

          assertThat(expected).hasMessageThat().isEqualTo("index (-1) must not be negative");
        }
      }
    
      public void testCheckElementIndex_tooHigh() {
        try {
          Preconditions.checkElementIndex(1, 1);
          fail();
        } catch (IndexOutOfBoundsException expected) {
          assertThat(expected).hasMessageThat().isEqualTo("index (1) must be less than size (1)");
        }
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 19.8K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/io/FilesSimplifyPathTest.java

         * - Temporarily change this test:
         * --- Comment out assertEquals.
         * --- System.out.println(input + " " + simplifyPath(input));
         * --- fail(). (If the test were to pass, its output would be hidden.)
         * - Run the test.
         * - Pull the relevant lines of output from the test into a testcases file.
         * - Test the output:
         * --- cat testcases | while read L; do
         *       X=($L)
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Jul 19 14:00:24 GMT 2016
    - 11K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/io/FilesSimplifyPathTest.java

         * - Temporarily change this test:
         * --- Comment out assertEquals.
         * --- System.out.println(input + " " + simplifyPath(input));
         * --- fail(). (If the test were to pass, its output would be hidden.)
         * - Run the test.
         * - Pull the relevant lines of output from the test into a testcases file.
         * - Test the output:
         * --- cat testcases | while read L; do
         *       X=($L)
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Apr 21 02:27:51 GMT 2017
    - 11K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/reflect/Invokable.java

          if (declaringClass.getEnclosingConstructor() != null) {
            // Enclosed in a constructor, needs hidden this
            return true;
          }
          Method enclosingMethod = declaringClass.getEnclosingMethod();
          if (enclosingMethod != null) {
            // Enclosed in a method, if it's not static, must need hidden this.
            return !Modifier.isStatic(enclosingMethod.getModifiers());
          } else {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Dec 14 20:35:03 GMT 2023
    - 18.6K bytes
    - Viewed (0)
  6. guava-tests/benchmark/com/google/common/base/LazyStackTraceBenchmark.java

    import com.google.caliper.Param;
    import com.google.caliper.api.SkipThisScenarioException;
    import java.util.List;
    
    /**
     * Quick and dirty benchmark of {@link Throwables#lazyStackTrace(Throwable)}. We benchmark a "caller
     * finder" implementation that might be used in a logging framework.
     */
    public class LazyStackTraceBenchmark {
      @Param({"20", "200", "2000"})
      int stackDepth;
    
      @Param({"-1", "3", "15"})
      int breakAt;
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 2.5K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/InterruptionUtil.java

                joinUninterruptibly(interruptingThread, 2500, MILLISECONDS);
                Thread.interrupted();
                if (interruptingThread.isAlive()) {
                  // This will be hidden by test-output redirection:
                  logger.severe("InterruptenatorTask did not exit; future tests may be affected");
                  /*
                   * This won't do any good under JUnit 3, but I'll leave it around in
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 4.4K bytes
    - Viewed (0)
Back to top