File tree Expand file tree Collapse file tree 6 files changed +2
-10
lines changed
android/guava-testlib/src/com/google/common/util/concurrent/testing
guava-testlib/src/com/google/common/util/concurrent/testing Expand file tree Collapse file tree 6 files changed +2
-10
lines changed Original file line number Diff line number Diff line change 1919import static java .util .concurrent .TimeUnit .MILLISECONDS ;
2020import static java .util .concurrent .TimeUnit .SECONDS ;
2121
22- import com .google .common .annotations .Beta ;
2322import com .google .common .annotations .GwtIncompatible ;
2423import com .google .common .util .concurrent .ListenableFuture ;
2524import java .util .concurrent .CancellationException ;
4039 * @author Sven Mawson
4140 * @since 10.0
4241 */
43- @ Beta
4442@ GwtIncompatible
4543public abstract class AbstractListenableFutureTest extends TestCase {
4644
Original file line number Diff line number Diff line change 1919import static com .google .common .util .concurrent .MoreExecutors .directExecutor ;
2020import static java .util .concurrent .TimeUnit .SECONDS ;
2121
22- import com .google .common .annotations .Beta ;
2322import com .google .common .annotations .GwtIncompatible ;
2423import com .google .common .util .concurrent .ListenableFuture ;
2524import java .util .concurrent .CountDownLatch ;
3231 * @author Nishant Thakkar
3332 * @since 10.0
3433 */
35- @ Beta
3634@ GwtIncompatible
3735public class MockFutureListener implements Runnable {
3836 private final CountDownLatch countDownLatch ;
Original file line number Diff line number Diff line change 4242 * @author Chris Nokleberg
4343 * @since 14.0
4444 */
45- @ Beta
4645@ GwtIncompatible
4746public final class TestingExecutors {
4847 private TestingExecutors () {}
@@ -93,6 +92,7 @@ public static ListeningScheduledExecutorService noOpScheduledExecutor() {
9392 *
9493 * @since NEXT (taking the place of a method with a different return type from 15.0)
9594 */
95+ @ Beta
9696 public static ListeningScheduledExecutorService sameThreadScheduledExecutor () {
9797 return new SameThreadScheduledExecutorService ();
9898 }
Original file line number Diff line number Diff line change 1919import static java .util .concurrent .TimeUnit .MILLISECONDS ;
2020import static java .util .concurrent .TimeUnit .SECONDS ;
2121
22- import com .google .common .annotations .Beta ;
2322import com .google .common .annotations .GwtIncompatible ;
2423import com .google .common .util .concurrent .ListenableFuture ;
2524import java .util .concurrent .CancellationException ;
4039 * @author Sven Mawson
4140 * @since 10.0
4241 */
43- @ Beta
4442@ GwtIncompatible
4543public abstract class AbstractListenableFutureTest extends TestCase {
4644
Original file line number Diff line number Diff line change 1919import static com .google .common .util .concurrent .MoreExecutors .directExecutor ;
2020import static java .util .concurrent .TimeUnit .SECONDS ;
2121
22- import com .google .common .annotations .Beta ;
2322import com .google .common .annotations .GwtIncompatible ;
2423import com .google .common .util .concurrent .ListenableFuture ;
2524import java .util .concurrent .CountDownLatch ;
3231 * @author Nishant Thakkar
3332 * @since 10.0
3433 */
35- @ Beta
3634@ GwtIncompatible
3735public class MockFutureListener implements Runnable {
3836 private final CountDownLatch countDownLatch ;
Original file line number Diff line number Diff line change 4242 * @author Chris Nokleberg
4343 * @since 14.0
4444 */
45- @ Beta
4645@ GwtIncompatible
4746public final class TestingExecutors {
4847 private TestingExecutors () {}
@@ -93,6 +92,7 @@ public static ListeningScheduledExecutorService noOpScheduledExecutor() {
9392 *
9493 * @since NEXT (taking the place of a method with a different return type from 15.0)
9594 */
95+ @ Beta
9696 public static ListeningScheduledExecutorService sameThreadScheduledExecutor () {
9797 return new SameThreadScheduledExecutorService ();
9898 }
You can’t perform that action at this time.
0 commit comments