Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for testTransformValueRemainsMemoized (0.37 sec)

  1. android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

          assertThat(expected.getCause()).isInstanceOf(RejectedExecutionException.class);
        }
      }
    
      /** Tests that the function is invoked only once, even if it throws an exception. */
      public void testTransformValueRemainsMemoized() throws Exception {
        class Holder {
    
          int value = 2;
        }
        final Holder holder = new Holder();
    
        // This function adds the holder's value to the input value.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 29 16:29:37 UTC 2024
    - 144.1K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

          assertThat(expected.getCause()).isInstanceOf(RejectedExecutionException.class);
        }
      }
    
      /** Tests that the function is invoked only once, even if it throws an exception. */
      public void testTransformValueRemainsMemoized() throws Exception {
        class Holder {
    
          int value = 2;
        }
        final Holder holder = new Holder();
    
        // This function adds the holder's value to the input value.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 29 16:29:37 UTC 2024
    - 144.1K bytes
    - Viewed (0)
Back to top