Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 415 for What (0.02 sec)

  1. android/guava-tests/test/com/google/common/collect/MutableClassToInstanceMapTest.java

      public void testConstraint() {
        /*
         * We'll give ourselves a pass on testing all the possible ways of breaking the constraint,
         * because we know that newClassMap() is implemented using ConstrainedMap which is itself
         * well-tested. A purist would object to this, but what can I say, we're dirty cheaters.
         */
        map.put(Integer.class, new Integer(5));
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 5K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/reflect/SubtypeTester.java

     * }
     *
     * The calls to {@link #isSubtype} and {@link #notSubtype} tells the framework what assertions need
     * to be made.
     *
     * <p>The declaration methods must be public.
     */
    @AndroidIncompatible // only used by android incompatible tests.
    @NullUnmarked
    abstract class SubtypeTester implements Cloneable {
    
      /** Annotates a public method that declares subtype assertion. */
      @RequiredModifiers(modifier = Modifier.PUBLIC)
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Nov 25 23:29:58 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/reflect/SubtypeTester.java

     * }
     *
     * The calls to {@link #isSubtype} and {@link #notSubtype} tells the framework what assertions need
     * to be made.
     *
     * <p>The declaration methods must be public.
     */
    @AndroidIncompatible // only used by android incompatible tests.
    @NullUnmarked
    abstract class SubtypeTester implements Cloneable {
    
      /** Annotates a public method that declares subtype assertion. */
      @RequiredModifiers(modifier = Modifier.PUBLIC)
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Nov 25 23:29:58 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/math/BigIntegerMathTest.java

            assertWithMessage("roundToDouble(%s, %s)", input, mode)
                .that(BigIntegerMath.roundToDouble(input, mode))
                .isEqualTo(expectation);
          }
    
          if (!expectedValues.containsKey(UNNECESSARY)) {
            assertWithMessage("Expected roundUnnecessaryShouldThrow call")
                .that(unnecessaryShouldThrow)
                .isTrue();
            assertThrows(
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Nov 19 01:35:24 UTC 2025
    - 27.1K bytes
    - Viewed (0)
  5. futures/failureaccess/pom.xml

                <goals>
                  <goal>manifest</goal>
                </goals>
              </execution>
            </executions>
            <configuration>
              <instructions>
                <!-- Silence a warning that claims that META-INF/versions/9/... is the "wrong directory" for our classes. -->
                <_fixupmessages>^Classes found in the wrong directory: .*</_fixupmessages>
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Oct 02 19:27:26 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

          long afterBurst = measureTotalTimeMillis(limiter, oneSecWorthOfWork, new Random());
          // but work beyond that must take at least one second
          assertThat(afterBurst).isAtLeast(1000);
        }
      }
    
      /**
       * This neat test shows that no matter what weights we use in our requests, if we push X amount of
       * permits in a cool state, where X = rate * timeToCoolDown, and we have specified a
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 18:19:59 UTC 2025
    - 21.9K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

          long afterBurst = measureTotalTimeMillis(limiter, oneSecWorthOfWork, new Random());
          // but work beyond that must take at least one second
          assertThat(afterBurst).isAtLeast(1000);
        }
      }
    
      /**
       * This neat test shows that no matter what weights we use in our requests, if we push X amount of
       * permits in a cool state, where X = rate * timeToCoolDown, and we have specified a
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 18:19:59 UTC 2025
    - 21.9K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/cache/CacheEvictionTest.java

    import java.util.List;
    import java.util.Set;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Tests relating to cache eviction: what does and doesn't count toward maximumSize, what happens
     * when maximumSize is reached, etc.
     *
     * @author mike nonemacher
     */
    @NullUnmarked
    public class CacheEvictionTest extends TestCase {
      static final int MAX_SIZE = 100;
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 18:19:59 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/TrailersTest.kt

          assertFailsWith<IOException> {
            source.readUtf8()
          }
          try {
            assertThat(response.peekTrailers()).isNull() // Okay. This is what HTTP/1 does.
          } catch (_: IOException) {
            // Also okay. This is what HTTP/2 does.
          }
          assertFailsWith<IOException> {
            response.trailers()
          }
        }
      }
    
      @Test
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sat Nov 08 21:45:04 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  10. CONTRIBUTING.md

    start by opening a new issue describing the bug or feature you're intending to
    fix. Even if you think it's relatively minor, it's helpful to know what people
    are working on. And as mentioned above, API changes should be discussed
    thoroughly before moving to code.
    
    Some examples of types of pull requests that are immediately helpful:
    
      - Fixing a bug without changing a public API.
      - Fixing or improving documentation.
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Dec 15 18:43:50 UTC 2025
    - 4K bytes
    - Viewed (0)
Back to top