Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for isInstanceOf (0.1 sec)

  1. android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java

        assertEquals(List[].class, token.getRawType());
        assertThat(token.getType()).isInstanceOf(GenericArrayType.class);
      }
    
      public void testMultiDimensionalGenericArrayType() {
        TypeToken<List<Long>[][][]> token = new TypeToken<List<Long>[][][]>() {};
        assertEquals(List[][][].class, token.getRawType());
        assertThat(token.getType()).isInstanceOf(GenericArrayType.class);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 21:13:09 UTC 2024
    - 89.1K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/reflect/TypeTokenTest.java

        assertEquals(List[].class, token.getRawType());
        assertThat(token.getType()).isInstanceOf(GenericArrayType.class);
      }
    
      public void testMultiDimensionalGenericArrayType() {
        TypeToken<List<Long>[][][]> token = new TypeToken<List<Long>[][][]>() {};
        assertEquals(List[][][].class, token.getRawType());
        assertThat(token.getType()).isInstanceOf(GenericArrayType.class);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 21:13:09 UTC 2024
    - 89.1K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/EventListenerTest.kt

    import assertk.assertions.contains
    import assertk.assertions.containsExactly
    import assertk.assertions.doesNotContain
    import assertk.assertions.isEqualTo
    import assertk.assertions.isIn
    import assertk.assertions.isInstanceOf
    import assertk.assertions.isNotNull
    import assertk.assertions.isNull
    import assertk.assertions.isSameAs
    import java.io.File
    import java.io.IOException
    import java.io.InterruptedIOException
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 56.9K bytes
    - Viewed (2)
  4. android/guava-tests/test/com/google/common/cache/CacheLoadingTest.java

          int mod = i % 3;
          if (mod == 0 || mod == 2) {
            assertThat(result.get(i)).isInstanceOf(ExecutionException.class);
            assertThat((ExecutionException) result.get(i)).hasCauseThat().isSameInstanceAs(e);
          } else {
            assertThat(result.get(i)).isInstanceOf(UncheckedExecutionException.class);
            assertThat((UncheckedExecutionException) result.get(i)).hasCauseThat().isSameInstanceAs(e);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 86.3K bytes
    - Viewed (0)
Back to top