Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for doReturn (0.24 sec)

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

     * limitations under the License.
     */
    
    package com.google.common.util.concurrent;
    
    import static org.mockito.Answers.CALLS_REAL_METHODS;
    import static org.mockito.Mockito.doReturn;
    import static org.mockito.Mockito.mock;
    
    import com.google.common.base.Function;
    import com.google.common.collect.ForwardingObject;
    import com.google.common.collect.Iterables;
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Jan 05 19:41:03 GMT 2023
    - 2.5K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/ForwardingObjectTester.java

     * limitations under the License.
     */
    
    package com.google.common.util.concurrent;
    
    import static org.mockito.Answers.CALLS_REAL_METHODS;
    import static org.mockito.Mockito.doReturn;
    import static org.mockito.Mockito.mock;
    
    import com.google.common.base.Function;
    import com.google.common.collect.ForwardingObject;
    import com.google.common.collect.Iterables;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Jan 05 19:41:03 GMT 2023
    - 2.5K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/util/concurrent/AbstractFutureCancellationCauseTest.java

                  synchronized (loadedClasses) {
                    Class<?> toReturn = loadedClasses.get(name);
                    if (toReturn == null) {
                      toReturn = super.findClass(name);
                      loadedClasses.put(name, toReturn);
                    }
                    return toReturn;
                  }
                }
                return super.loadClass(name);
              }
            };
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 6.1K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/util/concurrent/AbstractFutureInnocuousThreadTest.java

                  synchronized (loadedClasses) {
                    Class<?> toReturn = loadedClasses.get(name);
                    if (toReturn == null) {
                      toReturn = super.findClass(name);
                      loadedClasses.put(name, toReturn);
                    }
                    return toReturn;
                  }
                }
                return super.loadClass(name);
              }
            };
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Dec 16 19:54:45 GMT 2020
    - 5.1K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureCancellationCauseTest.java

                  synchronized (loadedClasses) {
                    Class<?> toReturn = loadedClasses.get(name);
                    if (toReturn == null) {
                      toReturn = super.findClass(name);
                      loadedClasses.put(name, toReturn);
                    }
                    return toReturn;
                  }
                }
                return super.loadClass(name);
              }
            };
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 6.1K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/AbstractScheduledService.java

            // to currentFuture doesn't race with itself so that currentFuture is assigned in the
            // correct order.
            Throwable scheduleFailure = null;
            Cancellable toReturn;
            lock.lock();
            try {
              toReturn = initializeOrUpdateCancellationDelegate(schedule);
            } catch (Throwable e) {
              // Any Exception is either a RuntimeException or sneaky checked exception.
              //
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Dec 13 19:45:20 GMT 2023
    - 25.8K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

        final SettableFuture<Object> toReturn = SettableFuture.create();
        AsyncFunction<Object, Object> function =
            tagged(
                "Called my toString",
                new AsyncFunction<Object, Object>() {
                  @Override
                  public ListenableFuture<Object> apply(Object input) throws Exception {
                    return toReturn;
                  }
                });
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 144.5K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

        final SettableFuture<Object> toReturn = SettableFuture.create();
        AsyncFunction<Object, Object> function =
            tagged(
                "Called my toString",
                new AsyncFunction<Object, Object>() {
                  @Override
                  public ListenableFuture<Object> apply(Object input) throws Exception {
                    return toReturn;
                  }
                });
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 144.5K bytes
    - Viewed (0)
Back to top