Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for testGet_class (0.07 sec)

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

        assertNull(ArbitraryInstances.get(SomeInterface.class));
      }
    
      public void testGet_runnable() {
        ArbitraryInstances.get(Runnable.class).run();
      }
    
      public void testGet_class() {
        assertSame(SomeAbstractClass.INSTANCE, ArbitraryInstances.get(SomeAbstractClass.class));
        assertSame(
            WithPrivateConstructor.INSTANCE, ArbitraryInstances.get(WithPrivateConstructor.class));
    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. guava-tests/test/com/google/common/reflect/TypeTokenTest.java

        assertEquals(StringList.class.getGenericInterfaces()[0], token.getType());
      }
    
      @SuppressWarnings("rawtypes") // Trying to test TypeToken.of(List.class)
      public void testGetClass() {
        TypeToken<List> token = TypeToken.of(List.class);
        assertEquals(new TypeToken<List>() {}, token);
      }
    
      public void testGetType() {
    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. android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java

        assertEquals(StringList.class.getGenericInterfaces()[0], token.getType());
      }
    
      @SuppressWarnings("rawtypes") // Trying to test TypeToken.of(List.class)
      public void testGetClass() {
        TypeToken<List> token = TypeToken.of(List.class);
        assertEquals(new TypeToken<List>() {}, token);
      }
    
      public void testGetType() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 21:13:09 UTC 2024
    - 89.1K bytes
    - Viewed (0)
Back to top