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:
Eric Anderson 2015-09-10 14:08:16 -07:00
parent 416b745d8d
commit d966163bbb
2 changed files with 4 additions and 0 deletions

View File

@ -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> {
/**

View File

@ -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";