Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for failures (0.16 sec)

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

            .isTrue();
        if (!failures.isEmpty()) {
          StringWriter message = new StringWriter();
          PrintWriter writer = new PrintWriter(message);
          writer.println("Expected no failures, but found:");
          for (AssertionError failure : failures) {
            failure.printStackTrace(writer);
          }
          failures.clear();
          assertWithMessage(message.toString()).fail();
        }
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 75.3K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java

            .isTrue();
        if (!failures.isEmpty()) {
          StringWriter message = new StringWriter();
          PrintWriter writer = new PrintWriter(message);
          writer.println("Expected no failures, but found:");
          for (AssertionError failure : failures) {
            failure.printStackTrace(writer);
          }
          failures.clear();
          assertWithMessage(message.toString()).fail();
        }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 74.7K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/reflect/TypeTokenTest.java

    import java.util.List;
    import java.util.Map;
    import junit.framework.TestCase;
    
    /**
     * Test cases for {@link TypeToken}.
     *
     * @author Sven Mawson
     * @author Ben Yu
     */
    @AndroidIncompatible // lots of failures, possibly some related to bad equals() implementations?
    public class TypeTokenTest extends TestCase {
    
      private abstract static class StringList implements List<String> {}
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 88.7K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/base/Preconditions.java

     * misleading to future readers of the code and of stack traces. See <a
     * href="https://github.com/google/guava/wiki/ConditionalFailuresExplained">Conditional failures
     * explained</a> in the Guava User Guide for more advice. Notably, {@link Verify} offers assertions
     * similar to those in this class for non-precondition checks.
     *
     * <h3>{@code java.util.Objects.requireNonNull()}</h3>
     *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Apr 11 11:52:14 GMT 2024
    - 52.9K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/Futures.java

        }
    
        @Override
        public void run() {
          if (future instanceof InternalFutureFailureAccess) {
            Throwable failure =
                InternalFutures.tryInternalFastPathGetFailure((InternalFutureFailureAccess) future);
            if (failure != null) {
              callback.onFailure(failure);
              return;
            }
          }
          final V value;
          try {
            value = getDone(future);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 59.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Sets.java

       *   // Must be in the synchronized block
       *   Iterator<E> it = set2.descendingIterator();
       *   while (it.hasNext())
       *     foo(it.next());
       *   }
       * }
       * }</pre>
       *
       * <p>Failure to follow this advice may result in non-deterministic behavior.
       *
       * <p>The returned navigable set will be serializable if the specified navigable set is
       * serializable.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 77.4K bytes
    - Viewed (0)
  7. guava/src/com/google/common/base/Preconditions.java

     * misleading to future readers of the code and of stack traces. See <a
     * href="https://github.com/google/guava/wiki/ConditionalFailuresExplained">Conditional failures
     * explained</a> in the Guava User Guide for more advice. Notably, {@link Verify} offers assertions
     * similar to those in this class for non-precondition checks.
     *
     * <h3>{@code java.util.Objects.requireNonNull()}</h3>
     *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Feb 14 15:46:55 GMT 2024
    - 52.9K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/mylasta/direction/FessProp.java

            setSystemProperty(Constants.IGNORE_FAILURE_TYPE_PROPERTY, value);
        }
    
        default String getIgnoreFailureType() {
            return getSystemProperty(Constants.IGNORE_FAILURE_TYPE_PROPERTY, Constants.DEFAULT_IGNORE_FAILURE_TYPE);
        }
    
        default void setFailureCountThreshold(final int value) {
            setSystemPropertyAsInt(Constants.FAILURE_COUNT_THRESHOLD_PROPERTY, value);
        }
    
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 85K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java

    import java.util.List;
    import java.util.Map;
    import junit.framework.TestCase;
    
    /**
     * Test cases for {@link TypeToken}.
     *
     * @author Sven Mawson
     * @author Ben Yu
     */
    @AndroidIncompatible // lots of failures, possibly some related to bad equals() implementations?
    public class TypeTokenTest extends TestCase {
    
      private abstract static class StringList implements List<String> {}
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 88.7K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/cache/CacheLoadingTest.java

      }
    
      public void testReloadAfterFailure() throws ExecutionException {
        final AtomicInteger count = new AtomicInteger();
        final Exception e = new IllegalStateException("exception to trigger failure on first load()");
        CacheLoader<Integer, String> failOnceFunction =
            new CacheLoader<Integer, String>() {
    
              @Override
              public String load(Integer key) throws Exception {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 86.2K bytes
    - Viewed (0)
Back to top