Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for testGetUnchecked_success (0.14 sec)

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

    import junit.framework.TestCase;
    
    /** Unit tests for {@link Futures#getUnchecked(Future)}. */
    @GwtCompatible(emulated = true)
    public class FuturesGetUncheckedTest extends TestCase {
      public void testGetUnchecked_success() {
        assertEquals("foo", getUnchecked(immediateFuture("foo")));
      }
    
      @J2ktIncompatible
      @GwtIncompatible // Thread.interrupt
      public void testGetUnchecked_interrupted() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 15:41:36 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/FuturesGetUncheckedTest.java

    import junit.framework.TestCase;
    
    /** Unit tests for {@link Futures#getUnchecked(Future)}. */
    @GwtCompatible(emulated = true)
    public class FuturesGetUncheckedTest extends TestCase {
      public void testGetUnchecked_success() {
        assertEquals("foo", getUnchecked(immediateFuture("foo")));
      }
    
      @J2ktIncompatible
      @GwtIncompatible // Thread.interrupt
      public void testGetUnchecked_interrupted() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 15:41:36 UTC 2024
    - 4.4K bytes
    - Viewed (0)
Back to top