Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for testGet_class (3.09 sec)

  1. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 22.3K bytes
    - Viewed (0)
  2. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 21.8K bytes
    - Viewed (0)
  3. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Sep 02 17:23:59 UTC 2025
    - 89K bytes
    - Viewed (0)
  4. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Sep 02 17:23:59 UTC 2025
    - 89K bytes
    - Viewed (0)
Back to top