From d966163bbb52f2cfd4b032165e81722993db5ee6 Mon Sep 17 00:00:00 2001 From: Eric Anderson Date: Thu, 10 Sep 2015 14:08:16 -0700 Subject: [PATCH] Mark classes in testing as ExperimentalApi We've not done any real work to make sure they have reasonable APIs. --- testing/src/main/java/io/grpc/testing/StreamRecorder.java | 2 ++ testing/src/main/java/io/grpc/testing/TestUtils.java | 2 ++ 2 files changed, 4 insertions(+) diff --git a/testing/src/main/java/io/grpc/testing/StreamRecorder.java b/testing/src/main/java/io/grpc/testing/StreamRecorder.java index a87f12da9a..1e9434963f 100644 --- a/testing/src/main/java/io/grpc/testing/StreamRecorder.java +++ b/testing/src/main/java/io/grpc/testing/StreamRecorder.java @@ -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 implements StreamObserver { /** diff --git a/testing/src/main/java/io/grpc/testing/TestUtils.java b/testing/src/main/java/io/grpc/testing/TestUtils.java index 227d107381..53e3c39d9a 100644 --- a/testing/src/main/java/io/grpc/testing/TestUtils.java +++ b/testing/src/main/java/io/grpc/testing/TestUtils.java @@ -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";