Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 3 of 3 for testSetValue (0.07 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

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

        tester.setUp();
      }
    
      public void testDefaultState() throws Exception {
        assertThrows(TimeoutException.class, () -> future.get(5, MILLISECONDS));
      }
    
      public void testSetValue() throws Exception {
        assertTrue(future.set("value"));
        tester.testCompletedFuture("value");
      }
    
      public void testSetFailure() throws Exception {
        assertTrue(future.setException(new Exception("failure")));
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 7.4K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/SettableFutureTest.java

        tester.setUp();
      }
    
      public void testDefaultState() throws Exception {
        assertThrows(TimeoutException.class, () -> future.get(5, MILLISECONDS));
      }
    
      public void testSetValue() throws Exception {
        assertTrue(future.set("value"));
        tester.testCompletedFuture("value");
      }
    
      public void testSetFailure() throws Exception {
        assertTrue(future.setException(new Exception("failure")));
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 7.4K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/base/StandardSystemPropertyTest.java

          String fieldName = property.name();
          String expected = Ascii.toLowerCase(fieldName).replaceAll("_", ".");
          assertThat(property.key()).isEqualTo(expected);
        }
      }
    
      public void testGetValue() {
        for (StandardSystemProperty property : StandardSystemProperty.values()) {
          assertThat(property.value()).isEqualTo(System.getProperty(property.key()));
        }
      }
    
      public void testToString() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 01:05:11 GMT 2026
    - 2.6K bytes
    - Click Count (0)
Back to Top