Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for assertNull (0.06 sec)

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

        assertEquals(double.class, TypeToken.of(double[].class).getComponentType().getType());
        assertNull(TypeToken.of(Object.class).getComponentType());
        assertNull(TypeToken.of(void.class).getComponentType());
      }
    
      public <T> void testGetComponentType_genericArrayClasses() {
        assertNull(TypeToken.of(new TypeCapture<T>() {}.capture()).getComponentType());
        assertEquals(
    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. android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java

        assertEquals(double.class, TypeToken.of(double[].class).getComponentType().getType());
        assertNull(TypeToken.of(Object.class).getComponentType());
        assertNull(TypeToken.of(void.class).getComponentType());
      }
    
      public <T> void testGetComponentType_genericArrayClasses() {
        assertNull(TypeToken.of(new TypeCapture<T>() {}.capture()).getComponentType());
        assertEquals(
    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. guava-tests/test/com/google/common/collect/IteratorsTest.java

        assertEquals("bar", getOnlyElement(iterator, "bar"));
      }
    
      public void testGetOnlyElement_withDefault_empty_null() {
        Iterator<String> iterator = emptyIterator();
        assertNull(Iterators.<@Nullable String>getOnlyElement(iterator, null));
      }
    
      public void testGetOnlyElement_withDefault_two() {
        Iterator<String> iterator = asList("foo", "bar").iterator();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 54.1K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/IteratorsTest.java

        assertEquals("bar", getOnlyElement(iterator, "bar"));
      }
    
      public void testGetOnlyElement_withDefault_empty_null() {
        Iterator<String> iterator = emptyIterator();
        assertNull(Iterators.<@Nullable String>getOnlyElement(iterator, null));
      }
    
      public void testGetOnlyElement_withDefault_two() {
        Iterator<String> iterator = asList("foo", "bar").iterator();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 54.1K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/cache/CacheLoadingTest.java

        for (Entry<Object, Object> entry : result.entrySet()) {
          Object key = entry.getKey();
          Object value = entry.getValue();
          assertSame(value, result.get(key));
          assertNull(result.get(value));
          assertSame(value, cache.asMap().get(key));
          assertSame(key, cache.asMap().get(value));
        }
      }
    
      public void testBulkLoad_clobber() throws ExecutionException {
    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