Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 4 of 4 for MockExecutor (0.07 seconds)

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

      }
    
      public void testExecute() {
        MockExecutor mock = new MockExecutor();
        TestExecutor testExecutor = new TestExecutor(mock);
        testExecutor.execute(doNothing());
        mock.assertLastMethodCalled("execute");
      }
    
      public void testSubmit() throws InterruptedException, ExecutionException {
        {
          MockExecutor mock = new MockExecutor();
          TestExecutor testExecutor = new TestExecutor(mock);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 10.1K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/util/concurrent/WrappingExecutorServiceTest.java

      }
    
      public void testExecute() {
        MockExecutor mock = new MockExecutor();
        TestExecutor testExecutor = new TestExecutor(mock);
        testExecutor.execute(doNothing());
        mock.assertLastMethodCalled("execute");
      }
    
      public void testSubmit() throws InterruptedException, ExecutionException {
        {
          MockExecutor mock = new MockExecutor();
          TestExecutor testExecutor = new TestExecutor(mock);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 10.1K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/util/concurrent/WrappingScheduledExecutorServiceTest.java

     *
     * @author Luke Sandberg
     */
    @NullUnmarked
    @GwtIncompatible
    @J2ktIncompatible
    public class WrappingScheduledExecutorServiceTest extends TestCase {
      public void testSchedule() {
        MockExecutor mock = new MockExecutor();
        TestExecutor testExecutor = new TestExecutor(mock);
    
        Future<?> unused1 = testExecutor.schedule(() -> {}, 10, MINUTES);
        mock.assertLastMethodCalled("scheduleRunnable", 10, MINUTES);
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 7.5K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/WrappingScheduledExecutorServiceTest.java

     *
     * @author Luke Sandberg
     */
    @NullUnmarked
    @GwtIncompatible
    @J2ktIncompatible
    public class WrappingScheduledExecutorServiceTest extends TestCase {
      public void testSchedule() {
        MockExecutor mock = new MockExecutor();
        TestExecutor testExecutor = new TestExecutor(mock);
    
        Future<?> unused1 = testExecutor.schedule(() -> {}, 10, MINUTES);
        mock.assertLastMethodCalled("scheduleRunnable", 10, MINUTES);
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 7.5K bytes
    - Click Count (0)
Back to Top