Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 99 for Messages (0.24 sec)

  1. CONTRIBUTING.md

         done using `git rebase -i`). Do your best to have a
         [well-formed commit message][] for the change.
    
    [Java style guide]: https://google.github.io/styleguide/javaguide.html
    [well-formed commit message]: https://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html
    
    #### Merging pull requests ####
    
    Due to Guava's nature as a subset of Google's internal codebase which is
    Plain Text
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Nov 17 18:47:47 GMT 2023
    - 3.7K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionRetainAllTester.java

      }
    
      private void expectReturnsTrue(Target target) {
        String message = Platform.format("retainAll(%s) should return true", target);
        assertTrue(message, collection.retainAll(target.toRetain));
      }
    
      private void expectReturnsFalse(Target target) {
        String message = Platform.format("retainAll(%s) should return false", target);
        assertFalse(message, collection.retainAll(target.toRetain));
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/io/BaseEncodingTest.java

              fail("Expected DecodingException");
            } catch (DecodingException expected) {
              // Don't assert on the expectedMessage; the messages for exceptions thrown from the
              // decoding stream may differ from the messages for the decode methods.
            } catch (IOException e) {
              fail("Expected DecodingException but got: " + e);
            }
          }
        },
        CAN_DECODE {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Aug 25 16:34:08 GMT 2022
    - 24.6K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/SpliteratorTester.java

            List<E> resultsForStrategy = new ArrayList<>();
            strategy.forEach(spliteratorSupplier.get(), resultsForStrategy::add);
    
            // TODO(cpovirk): better failure messages
            if ((characteristics & Spliterator.NONNULL) != 0) {
              assertFalse(resultsForStrategy.contains(null));
            }
            if ((characteristics & Spliterator.SORTED) != 0) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 18:19:31 GMT 2024
    - 11.9K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/ThreadFactoryBuilder.java

       * @return this for the builder pattern
       */
      @CanIgnoreReturnValue
      public ThreadFactoryBuilder setPriority(int priority) {
        // Thread#setPriority() already checks for validity. These error messages
        // are nicer though and will fail-fast.
        checkArgument(
            priority >= Thread.MIN_PRIORITY,
            "Thread priority (%s) must be >= %s",
            priority,
            Thread.MIN_PRIORITY);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 10 21:56:03 GMT 2023
    - 7.6K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/graph/AbstractGraphTest.java

      static final Integer NODE_NOT_IN_GRAPH = 1000;
    
      // TODO(user): Consider separating Strings that we've defined here to capture
      // identifiable substrings of expected error messages, from Strings that we've defined
      // here to provide error messages.
      // TODO(user): Some Strings used in the subclasses can be added as static Strings
      // here too.
      static final String ERROR_MODIFIABLE_SET = "Set returned is unexpectedly modifiable";
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Jan 22 17:29:38 GMT 2024
    - 16.6K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/testers/AbstractListIndexOfTester.java

      /** Override to call {@code indexOf()} or {@code lastIndexOf()}. */
      protected abstract int find(@Nullable Object o);
    
      /** Override to return "indexOf" or "lastIndexOf()" for use in failure messages. */
      protected abstract String getMethodName();
    
      @CollectionSize.Require(absent = ZERO)
      public void testFind_yes() {
        assertEquals(
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Apr 20 11:19:03 GMT 2023
    - 3.2K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/testing/TestLogHandler.java

    import java.util.Collections;
    import java.util.List;
    import java.util.logging.Handler;
    import java.util.logging.LogRecord;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Tests may use this to intercept messages that are logged by the code under test. Example:
     *
     * <pre>
     *   TestLogHandler handler;
     *
     *   protected void setUp() throws Exception {
     *     super.setUp();
     *     handler = new TestLogHandler();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 26 20:07:17 GMT 2023
    - 2.6K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/testing/TestLogHandler.java

    import java.util.Collections;
    import java.util.List;
    import java.util.logging.Handler;
    import java.util.logging.LogRecord;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Tests may use this to intercept messages that are logged by the code under test. Example:
     *
     * <pre>
     *   TestLogHandler handler;
     *
     *   protected void setUp() throws Exception {
     *     super.setUp();
     *     handler = new TestLogHandler();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 26 20:07:17 GMT 2023
    - 2.6K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/io/BaseEncodingTest.java

              fail("Expected DecodingException");
            } catch (DecodingException expected) {
              // Don't assert on the expectedMessage; the messages for exceptions thrown from the
              // decoding stream may differ from the messages for the decode methods.
            } catch (IOException e) {
              fail("Expected DecodingException but got: " + e);
            }
          }
        },
        CAN_DECODE {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Apr 06 12:56:11 GMT 2023
    - 24.6K bytes
    - Viewed (0)
Back to top