Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 25 for reporters (0.22 sec)

  1. android/guava-testlib/test/com/google/common/testing/anotherpackage/ForwardingWrapperTesterTest.java

        } catch (AssertionFailedError expected) {
          for (String message : expectedMessages) {
            assertThat(expected.getMessage()).contains(message);
          }
          return;
        }
        fail("expected failure not reported");
      }
    
      private class ForwardingRunnable implements Runnable {
    
        private final Runnable runnable;
    
        ForwardingRunnable(Runnable runnable) {
          this.runnable = runnable;
        }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 15.7K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/hash/BloomFilterTest.java

        assertThat(read).isEqualTo(bf);
        assertThat(read.expectedFpp()).isGreaterThan(0);
      }
    
      /**
       * This test will fail whenever someone updates/reorders the BloomFilterStrategies constants. Only
       * appending a new constant is allowed.
       */
      public void testBloomFilterStrategies() {
        assertThat(BloomFilterStrategies.values()).hasLength(2);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Nov 09 22:49:56 GMT 2023
    - 21.3K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

       * milliseconds to execute.
       */
      private static final boolean profileTests = Boolean.getBoolean("jsr166.profileTests");
    
      /**
       * The number of milliseconds that tests are permitted for execution without being reported, when
       * profileTests is set.
       */
      private static final long profileThreshold = Long.getLong("jsr166.profileThreshold", 100);
    
      @Override
      protected void runTest() throws Throwable {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 37.7K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/io/ByteSourceTest.java

        // Open a stream to the slice.
        InputStream in = slice.openStream();
    
        // Append 10 more bytes to the source.
        source.append(newPreFilledByteArray(5, 10));
    
        // The stream reports no bytes... importantly, it doesn't read the byte at index 5 when it
        // should be reading the byte at index 10.
        // We could use a custom InputStream instead to make the read start at index 10, but since this
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 16.9K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/io/MoreFilesTest.java

              .isEqualTo(MoreFiles.asByteSource(fooCopy).size());
          assertThat(MoreFiles.equal(fooPath, fooCopy)).isFalse();
    
          // should also assert that a Path that erroneously reports a size 0 can still be compared,
          // not sure how to do that with the Path API
        }
      }
    
      public void testEqual_links() throws IOException {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Jan 29 22:57:05 GMT 2024
    - 27.2K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/OrderingTest.java

        Ordering<Number> c = objects.compound(numbers);
    
        Ordering<Integer> d = numbers.compound(integers);
        Ordering<Integer> e = integers.compound(numbers);
    
        // This works with three levels too (IDEA falsely reports errors as noted
        // below. Both javac and eclipse handle these cases correctly.)
    
        Ordering<Number> f = numbers.compound(objects).compound(objects); // bad IDEA
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 42.5K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/OrderingTest.java

        Ordering<Number> c = objects.compound(numbers);
    
        Ordering<Integer> d = numbers.compound(integers);
        Ordering<Integer> e = integers.compound(numbers);
    
        // This works with three levels too (IDEA falsely reports errors as noted
        // below. Both javac and eclipse handle these cases correctly.)
    
        Ordering<Number> f = numbers.compound(objects).compound(objects); // bad IDEA
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 42.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/base/CharMatcher.java

       * double-width).
       *
       * <p><b>Note:</b> as the reference file evolves, we will modify this matcher to keep it up to
       * date.
       *
       * <p>See also <a href="http://www.unicode.org/reports/tr11/">UAX #11 East Asian Width</a>.
       *
       * @deprecated Many such characters are supplementary characters; see the class documentation.
       * @since 19.0 (since 1.0 as constant {@code SINGLE_WIDTH})
       */
      @Deprecated
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 53.7K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

        List<String> results = getDone(compound);
        assertThat(results).containsExactly(DATA1, DATA2, DATA3).inOrder();
      }
    
      /** A single non-error failure is not logged because it is reported via the output future. */
      public void testAllAsList_logging_exception() throws Exception {
        try {
          getDone(allAsList(immediateFailedFuture(new MyException())));
          fail();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 144.5K bytes
    - Viewed (0)
  10. guava/src/com/google/common/base/Stopwatch.java

     *
     * <p>The one downside of {@code Stopwatch} relative to {@link System#nanoTime()} is that {@code
     * Stopwatch} requires object allocation and additional method calls, which can reduce the accuracy
     * of the elapsed times reported. {@code Stopwatch} is still suitable for logging and metrics where
     * reasonably accurate values are sufficient. If the uncommon case that you need to maximize
     * accuracy, use {@code System.nanoTime()} directly instead.
     *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 23 15:09:35 GMT 2023
    - 9.2K bytes
    - Viewed (0)
Back to top