Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testJavaOptional (0.1 sec)

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

            generator.generateFresh(
                new TypeToken<com.google.common.base.Optional<OneConstantEnum>>() {}));
      }
    
      @AndroidIncompatible
      public void testJavaOptional() {
        FreshValueGenerator generator = new FreshValueGenerator();
        assertEquals(Optional.empty(), generator.generateFresh(new TypeToken<Optional<String>>() {}));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 18.4K bytes
    - Viewed (0)
Back to top