Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for MockExecutor (0.18 sec)

  1. 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);
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Jan 05 19:41:03 GMT 2023
    - 9.8K bytes
    - Viewed (0)
  2. 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);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Jan 05 19:41:03 GMT 2023
    - 9.8K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/WrappingScheduledExecutorServiceTest.java

      private static final Runnable DO_NOTHING =
          new Runnable() {
            @Override
            public void run() {}
          };
    
      public void testSchedule() {
        MockExecutor mock = new MockExecutor();
        TestExecutor testExecutor = new TestExecutor(mock);
    
        @SuppressWarnings("unused") // https://errorprone.info/bugpattern/FutureReturnValueIgnored
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Dec 16 19:54:45 GMT 2020
    - 7.6K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/util/concurrent/WrappingScheduledExecutorServiceTest.java

      private static final Runnable DO_NOTHING =
          new Runnable() {
            @Override
            public void run() {}
          };
    
      public void testSchedule() {
        MockExecutor mock = new MockExecutor();
        TestExecutor testExecutor = new TestExecutor(mock);
    
        @SuppressWarnings("unused") // https://errorprone.info/bugpattern/FutureReturnValueIgnored
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Dec 16 19:54:45 GMT 2020
    - 7.6K bytes
    - Viewed (0)
Back to top