Skip to content

Commit d966163

Browse files
committed
Mark classes in testing as ExperimentalApi
We've not done any real work to make sure they have reasonable APIs.
1 parent 416b745 commit d966163

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

testing/src/main/java/io/grpc/testing/StreamRecorder.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
import com.google.common.util.concurrent.ListenableFuture;
3535
import com.google.common.util.concurrent.SettableFuture;
3636

37+
import io.grpc.ExperimentalApi;
3738
import io.grpc.stub.StreamObserver;
3839

3940
import java.util.ArrayList;
@@ -48,6 +49,7 @@
4849
* Utility implementation of {@link StreamObserver} used in testing. Records all the observed
4950
* values produced by the stream as well as any errors.
5051
*/
52+
@ExperimentalApi
5153
public class StreamRecorder<T> implements StreamObserver<T> {
5254

5355
/**

testing/src/main/java/io/grpc/testing/TestUtils.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131

3232
package io.grpc.testing;
3333

34+
import io.grpc.ExperimentalApi;
3435
import io.grpc.ForwardingServerCall.SimpleForwardingServerCall;
3536
import io.grpc.Metadata;
3637
import io.grpc.MethodDescriptor;
@@ -70,6 +71,7 @@
7071
/**
7172
* Common utility functions useful for writing tests.
7273
*/
74+
@ExperimentalApi
7375
public class TestUtils {
7476
public static final String TEST_SERVER_HOST = "foo.test.google.fr";
7577

0 commit comments

Comments
 (0)