Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 305 for failed (0.18 sec)

  1. guava-testlib/test/com/google/common/collect/testing/IteratorTesterTest.java

            tester.numCallsToVerify,
            tester.numCallsToNewTargetIterator * STEPS);
      }
    
      public void testVerifyCanThrowAssertionThatFailsTest() {
        final String message = "Important info about why verify failed";
        IteratorTester<Integer> tester =
            new IteratorTester<Integer>(
                1, MODIFIABLE, newArrayList(1, 2, 3), IteratorTester.KnownOrder.KNOWN_ORDER) {
              @Override
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Apr 17 12:41:04 GMT 2023
    - 10.4K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/testing/EqualsTester.java

     *   <li>comparing each pair of objects from different equality groups returns false
     *   <li>the hash codes of any two equal objects are equal
     * </ul>
     *
     * <p>When a test fails, the error message labels the objects involved in the failed comparison as
     * follows:
     *
     * <ul>
     *   <li>"{@code [group }<i>i</i>{@code , item }<i>j</i>{@code ]}" refers to the
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Oct 31 19:11:50 GMT 2023
    - 6K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

            // 1. prior to setFuture
            // 2. after setFuture before set() on the future assigned
            // 3. after setFuture and set() are called but before the listener completes.
            if (!setFutureSetSuccess.get() || !setFutureCompletionSuccess.get()) {
              // If setFuture fails or set on the future fails then it must be because that future was
              // cancelled
              assertTrue(setFuture.isCancelled());
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 13 14:28:25 GMT 2024
    - 46.8K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/io/TempFileCreator.java

    import java.io.File;
    import java.io.IOException;
    import java.lang.reflect.InvocationTargetException;
    import java.lang.reflect.Method;
    import java.nio.file.FileSystems;
    import java.nio.file.Paths;
    import java.nio.file.attribute.AclEntry;
    import java.nio.file.attribute.AclEntryPermission;
    import java.nio.file.attribute.FileAttribute;
    import java.nio.file.attribute.PosixFilePermissions;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Oct 06 17:11:11 GMT 2023
    - 12.5K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java

                    new AssertionFailedError("Serialization failed on return value of " + factory);
                error.initCause(e.getCause());
                throw error;
              }
            }
          }
          return this;
        }
    
        /**
         * Runs equals and serialization test on the return values.
         *
         * <p>Test fails if default value cannot be determined for a constructor or factory method
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 08 17:31:55 GMT 2024
    - 33K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/UncaughtExceptionHandlers.java

                    e);
          } catch (Throwable errorInLogging) { // sneaky checked exception
            // If logging fails, e.g. due to missing memory, at least try to log the
            // message and the cause for the failed logging.
            System.err.println(e.getMessage());
            System.err.println(errorInLogging.getMessage());
          } finally {
            runtime.exit(1);
          }
        }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Dec 14 20:35:03 GMT 2023
    - 2.8K bytes
    - Viewed (0)
  7. futures/failureaccess/src/com/google/common/util/concurrent/internal/InternalFutureFailureAccess.java

     */
    public abstract class InternalFutureFailureAccess {
      /** Constructor for use by subclasses. */
      protected InternalFutureFailureAccess() {}
    
      /**
       * Usually returns {@code null} but, if this {@code Future} has failed, may <i>optionally</i>
       * return the cause of the failure. "Failure" means specifically "completed with an exception"; it
       * does not include "was cancelled." To be explicit: If this method returns a non-null value,
       * then:
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 04 09:45:04 GMT 2023
    - 2.3K bytes
    - Viewed (0)
  8. guava-testlib/test/com/google/common/testing/anotherpackage/ForwardingWrapperTesterTest.java

          new ForwardingWrapperTester()
              .includingEquals()
              .testForwarding(Equals.class, NoDelegateToEquals.WRAPPER);
        } catch (AssertionFailedError expected) {
          return;
        }
        fail("Should have failed");
      }
    
      /** An interface for the 2 ways that a chaining call might be defined. */
      private interface ChainingCalls {
        // A method that is defined to 'return this'
        @CanIgnoreReturnValue
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 15.7K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/base/internal/Finalizer.java

      // But before Java 9, our only way not to inherit ThreadLocals is to zap them after the thread
      // is created, by accessing a private field.
      @CheckForNull
      private static final Constructor<Thread> bigThreadConstructor = getBigThreadConstructor();
    
      @CheckForNull
      private static final Field inheritableThreadLocals =
          (bigThreadConstructor == null) ? getInheritableThreadLocalsField() : null;
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Aug 23 12:54:09 GMT 2023
    - 9.4K bytes
    - Viewed (0)
  10. guava-testlib/test/com/google/common/testing/NullPointerTesterTest.java

        @SuppressWarnings("unused") // Called by reflection
        public void t(T t) {
          fail("Method with parameter <T extends @Nullable Object> should not be called");
        }
    
        @SuppressWarnings("unused") // Called by reflection
        public void u(U u) {
          fail(
              "Method with parameter <U extends T> where <T extends @Nullable Object> should not be"
                  + " called");
        }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Nov 16 15:12:31 GMT 2023
    - 47.9K bytes
    - Viewed (0)
Back to top