Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for testGet_io (0.05 sec)

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

            HashMap.class,
            Appendable.class,
            StringBuilder.class,
            StringBuffer.class,
            Throwable.class,
            Exception.class);
      }
    
      public void testGet_io() throws IOException {
        assertEquals(-1, ArbitraryInstances.get(InputStream.class).read());
        assertEquals(-1, ArbitraryInstances.get(ByteArrayInputStream.class).read());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 21.8K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/testers/MapGetTester.java

      @CollectionSize.Require(absent = ZERO)
      public void testGet_yes() {
        assertEquals("get(present) should return the associated value", v0(), get(k0()));
      }
    
      public void testGet_no() {
        assertNull("get(notPresent) should return null", get(k3()));
      }
    
      @MapFeature.Require(ALLOWS_NULL_KEY_QUERIES)
      public void testGet_nullNotContainedButAllowed() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 20:12:35 UTC 2024
    - 3K bytes
    - Viewed (0)
Back to top