- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 17 for Thakkar (0.19 sec)
-
guava-testlib/src/com/google/common/util/concurrent/testing/MockFutureListener.java
import java.util.concurrent.ExecutionException; import junit.framework.Assert; /** * A simple mock implementation of {@code Runnable} that can be used for testing ListenableFutures. * * @author Nishant Thakkar * @since 10.0 */ @GwtIncompatible public class MockFutureListener implements Runnable { private final CountDownLatch countDownLatch; private final ListenableFuture<?> future;
Java - Registered: Fri Mar 22 12:43:11 GMT 2024 - Last Modified: Fri May 12 18:12:42 GMT 2023 - 3K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/ExecutionListTest.java
import java.util.concurrent.TimeUnit; import java.util.concurrent.atomic.AtomicInteger; import junit.framework.TestCase; /** * Unit tests for {@link ExecutionList}. * * @author Nishant Thakkar * @author Sven Mawson */ public class ExecutionListTest extends TestCase { private final ExecutionList list = new ExecutionList(); public void testRunOnPopulatedList() throws Exception {
Java - Registered: Fri Mar 01 12:43:10 GMT 2024 - Last Modified: Wed Feb 09 22:57:07 GMT 2022 - 4.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/AbstractChainedListenableFutureTest.java
/** * Unit tests for any listenable future that chains other listenable futures. Unit tests need only * override buildChainingFuture and getSuccessfulResult, but they can add custom tests as needed. * * @author Nishant Thakkar */ public abstract class AbstractChainedListenableFutureTest<T> extends TestCase { protected static final int EXCEPTION_DATA = -1; protected static final int VALID_INPUT_DATA = 1;
Java - Registered: Fri Mar 15 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 3.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/FuturesTransformTest.java
import com.google.common.base.Function; import java.lang.reflect.UndeclaredThrowableException; /** * Unit tests for {@link Futures#transform(ListenableFuture, Function, Executor)}. * * @author Nishant Thakkar */ public class FuturesTransformTest extends AbstractChainedListenableFutureTest<String> { private static final String RESULT_DATA = "SUCCESS"; private static final UndeclaredThrowableException WRAPPED_EXCEPTION =
Java - Registered: Fri Feb 23 12:43:10 GMT 2024 - Last Modified: Thu Jun 28 16:27:15 GMT 2018 - 1.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/FuturesTransformTest.java
import com.google.common.base.Function; import java.lang.reflect.UndeclaredThrowableException; /** * Unit tests for {@link Futures#transform(ListenableFuture, Function, Executor)}. * * @author Nishant Thakkar */ public class FuturesTransformTest extends AbstractChainedListenableFutureTest<String> { private static final String RESULT_DATA = "SUCCESS"; private static final UndeclaredThrowableException WRAPPED_EXCEPTION =
Java - Registered: Fri Mar 22 12:43:11 GMT 2024 - Last Modified: Thu Jun 28 16:27:15 GMT 2018 - 1.9K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/util/concurrent/testing/MockFutureListener.java
import java.util.concurrent.ExecutionException; import junit.framework.Assert; /** * A simple mock implementation of {@code Runnable} that can be used for testing ListenableFutures. * * @author Nishant Thakkar * @since 10.0 */ @GwtIncompatible public class MockFutureListener implements Runnable { private final CountDownLatch countDownLatch; private final ListenableFuture<?> future;
Java - Registered: Fri Mar 22 12:43:11 GMT 2024 - Last Modified: Fri May 12 18:12:42 GMT 2023 - 3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/ExecutionListTest.java
import java.util.concurrent.TimeUnit; import java.util.concurrent.atomic.AtomicInteger; import junit.framework.TestCase; /** * Unit tests for {@link ExecutionList}. * * @author Nishant Thakkar * @author Sven Mawson */ public class ExecutionListTest extends TestCase { private final ExecutionList list = new ExecutionList(); public void testRunOnPopulatedList() throws Exception {
Java - Registered: Fri Mar 22 12:43:11 GMT 2024 - Last Modified: Wed Feb 09 22:57:07 GMT 2022 - 4.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractChainedListenableFutureTest.java
/** * Unit tests for any listenable future that chains other listenable futures. Unit tests need only * override buildChainingFuture and getSuccessfulResult, but they can add custom tests as needed. * * @author Nishant Thakkar */ public abstract class AbstractChainedListenableFutureTest<T> extends TestCase { protected static final int EXCEPTION_DATA = -1; protected static final int VALID_INPUT_DATA = 1;
Java - Registered: Fri Mar 22 12:43:11 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 3.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/FuturesTransformAsyncTest.java
import java.util.concurrent.CountDownLatch; import java.util.concurrent.ExecutionException; /** * Unit tests for {@link Futures#transformAsync(ListenableFuture, AsyncFunction, Executor)}. * * @author Nishant Thakkar */ public class FuturesTransformAsyncTest extends AbstractChainedListenableFutureTest<String> { protected static final int SLOW_OUTPUT_VALID_INPUT_DATA = 2; protected static final int SLOW_FUNC_VALID_INPUT_DATA = 3;
Java - Registered: Fri Feb 23 12:43:10 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 6.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/FuturesTransformAsyncTest.java
import java.util.concurrent.CountDownLatch; import java.util.concurrent.ExecutionException; /** * Unit tests for {@link Futures#transformAsync(ListenableFuture, AsyncFunction, Executor)}. * * @author Nishant Thakkar */ public class FuturesTransformAsyncTest extends AbstractChainedListenableFutureTest<String> { protected static final int SLOW_OUTPUT_VALID_INPUT_DATA = 2; protected static final int SLOW_FUNC_VALID_INPUT_DATA = 3;
Java - Registered: Fri Mar 22 12:43:11 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 6.1K bytes - Viewed (0)