- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for testSubmit (0.08 sec)
-
guava-tests/test/com/google/common/util/concurrent/AbstractListeningExecutorServiceTest.java
import junit.framework.TestCase; /** * Tests for {@link AbstractListeningExecutorService}. * * @author Colin Decker */ public class AbstractListeningExecutorServiceTest extends TestCase { public void testSubmit() throws Exception { /* * Mostly just tests that TrustedListenableFutureTask are created and run; tests for * TrustedListenableFutureTask should ensure that listeners are called correctly. */
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 3.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractListeningExecutorServiceTest.java
import junit.framework.TestCase; /** * Tests for {@link AbstractListeningExecutorService}. * * @author Colin Decker */ public class AbstractListeningExecutorServiceTest extends TestCase { public void testSubmit() throws Exception { /* * Mostly just tests that TrustedListenableFutureTask are created and run; tests for * TrustedListenableFutureTask should ensure that listeners are called correctly. */
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 3.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/WrappingExecutorServiceTest.java
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); Future<?> f = testExecutor.submit(doNothing());
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 22:10:29 UTC 2024 - 9.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/WrappingExecutorServiceTest.java
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); Future<?> f = testExecutor.submit(doNothing());
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 22:10:29 UTC 2024 - 9.9K bytes - Viewed (0)