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
6 files changed +2
-10
lines changed Original file line number Diff line number Diff line change 19
19
import static java .util .concurrent .TimeUnit .MILLISECONDS ;
20
20
import static java .util .concurrent .TimeUnit .SECONDS ;
21
21
22
- import com .google .common .annotations .Beta ;
23
22
import com .google .common .annotations .GwtIncompatible ;
24
23
import com .google .common .util .concurrent .ListenableFuture ;
25
24
import java .util .concurrent .CancellationException ;
40
39
* @author Sven Mawson
41
40
* @since 10.0
42
41
*/
43
- @ Beta
44
42
@ GwtIncompatible
45
43
public abstract class AbstractListenableFutureTest extends TestCase {
46
44
Original file line number Diff line number Diff line change 19
19
import static com .google .common .util .concurrent .MoreExecutors .directExecutor ;
20
20
import static java .util .concurrent .TimeUnit .SECONDS ;
21
21
22
- import com .google .common .annotations .Beta ;
23
22
import com .google .common .annotations .GwtIncompatible ;
24
23
import com .google .common .util .concurrent .ListenableFuture ;
25
24
import java .util .concurrent .CountDownLatch ;
32
31
* @author Nishant Thakkar
33
32
* @since 10.0
34
33
*/
35
- @ Beta
36
34
@ GwtIncompatible
37
35
public class MockFutureListener implements Runnable {
38
36
private final CountDownLatch countDownLatch ;
Original file line number Diff line number Diff line change 42
42
* @author Chris Nokleberg
43
43
* @since 14.0
44
44
*/
45
- @ Beta
46
45
@ GwtIncompatible
47
46
public final class TestingExecutors {
48
47
private TestingExecutors () {}
@@ -93,6 +92,7 @@ public static ListeningScheduledExecutorService noOpScheduledExecutor() {
93
92
*
94
93
* @since NEXT (taking the place of a method with a different return type from 15.0)
95
94
*/
95
+ @ Beta
96
96
public static ListeningScheduledExecutorService sameThreadScheduledExecutor () {
97
97
return new SameThreadScheduledExecutorService ();
98
98
}
Original file line number Diff line number Diff line change 19
19
import static java .util .concurrent .TimeUnit .MILLISECONDS ;
20
20
import static java .util .concurrent .TimeUnit .SECONDS ;
21
21
22
- import com .google .common .annotations .Beta ;
23
22
import com .google .common .annotations .GwtIncompatible ;
24
23
import com .google .common .util .concurrent .ListenableFuture ;
25
24
import java .util .concurrent .CancellationException ;
40
39
* @author Sven Mawson
41
40
* @since 10.0
42
41
*/
43
- @ Beta
44
42
@ GwtIncompatible
45
43
public abstract class AbstractListenableFutureTest extends TestCase {
46
44
Original file line number Diff line number Diff line change 19
19
import static com .google .common .util .concurrent .MoreExecutors .directExecutor ;
20
20
import static java .util .concurrent .TimeUnit .SECONDS ;
21
21
22
- import com .google .common .annotations .Beta ;
23
22
import com .google .common .annotations .GwtIncompatible ;
24
23
import com .google .common .util .concurrent .ListenableFuture ;
25
24
import java .util .concurrent .CountDownLatch ;
32
31
* @author Nishant Thakkar
33
32
* @since 10.0
34
33
*/
35
- @ Beta
36
34
@ GwtIncompatible
37
35
public class MockFutureListener implements Runnable {
38
36
private final CountDownLatch countDownLatch ;
Original file line number Diff line number Diff line change 42
42
* @author Chris Nokleberg
43
43
* @since 14.0
44
44
*/
45
- @ Beta
46
45
@ GwtIncompatible
47
46
public final class TestingExecutors {
48
47
private TestingExecutors () {}
@@ -93,6 +92,7 @@ public static ListeningScheduledExecutorService noOpScheduledExecutor() {
93
92
*
94
93
* @since NEXT (taking the place of a method with a different return type from 15.0)
95
94
*/
95
+ @ Beta
96
96
public static ListeningScheduledExecutorService sameThreadScheduledExecutor () {
97
97
return new SameThreadScheduledExecutorService ();
98
98
}
You can’t perform that action at this time.
0 commit comments