Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for doReturn (0.09 sec)

  1. 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;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Jan 05 19:41:03 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  2. compat/maven-toolchain-builder/src/test/java/org/apache/maven/toolchain/building/DefaultToolchainsBuilderTest.java

    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertNotNull;
    import static org.mockito.ArgumentMatchers.any;
    import static org.mockito.Mockito.doReturn;
    import static org.mockito.Mockito.doThrow;
    import static org.mockito.Mockito.mock;
    import static org.mockito.Mockito.when;
    
    @ExtendWith(MockitoExtension.class)
    class DefaultToolchainsBuilderTest {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 14.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);
              }
            };
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  4. 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);
              }
            };
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  5. 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.
              //
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 16:22:21 UTC 2024
    - 27.8K bytes
    - Viewed (0)
Back to top