mirror of https://github.com/grpc/grpc-java.git
Mark classes in testing as ExperimentalApi
We've not done any real work to make sure they have reasonable APIs.
This commit is contained in:
parent
416b745d8d
commit
d966163bbb
|
|
@ -34,6 +34,7 @@ package io.grpc.testing;
|
|||
import com.google.common.util.concurrent.ListenableFuture;
|
||||
import com.google.common.util.concurrent.SettableFuture;
|
||||
|
||||
import io.grpc.ExperimentalApi;
|
||||
import io.grpc.stub.StreamObserver;
|
||||
|
||||
import java.util.ArrayList;
|
||||
|
|
@ -48,6 +49,7 @@ import javax.annotation.Nullable;
|
|||
* Utility implementation of {@link StreamObserver} used in testing. Records all the observed
|
||||
* values produced by the stream as well as any errors.
|
||||
*/
|
||||
@ExperimentalApi
|
||||
public class StreamRecorder<T> implements StreamObserver<T> {
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -31,6 +31,7 @@
|
|||
|
||||
package io.grpc.testing;
|
||||
|
||||
import io.grpc.ExperimentalApi;
|
||||
import io.grpc.ForwardingServerCall.SimpleForwardingServerCall;
|
||||
import io.grpc.Metadata;
|
||||
import io.grpc.MethodDescriptor;
|
||||
|
|
@ -70,6 +71,7 @@ import javax.security.auth.x500.X500Principal;
|
|||
/**
|
||||
* Common utility functions useful for writing tests.
|
||||
*/
|
||||
@ExperimentalApi
|
||||
public class TestUtils {
|
||||
public static final String TEST_SERVER_HOST = "foo.test.google.fr";
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue