Skip to content

Commit

Permalink
Move FakeServer and MockStorage to test package. (#1100)
Browse files Browse the repository at this point in the history
  • Loading branch information
shilpi23pandey committed Jan 8, 2024
1 parent 000e849 commit d677c34
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package com.google.cloud.hadoop.gcsio.testing;
package com.google.cloud.hadoop.gcsio;

import com.google.cloud.NoCredentials;
import com.google.cloud.storage.GrpcStorageOptions;
Expand All @@ -26,7 +26,7 @@
import java.net.InetSocketAddress;
import java.util.concurrent.TimeUnit;

public final class FakeServer implements AutoCloseable {
final class FakeServer implements AutoCloseable {

private final Server server;
private final GrpcStorageOptions grpcStorageOptions;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@
import static org.junit.Assert.assertThrows;

import com.google.api.client.testing.http.MockHttpTransport;
import com.google.cloud.hadoop.gcsio.testing.FakeServer;
import com.google.cloud.hadoop.gcsio.testing.MockStorage;
import com.google.cloud.storage.StorageException;
import com.google.common.collect.ImmutableList;
import com.google.common.collect.ImmutableMap;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package com.google.cloud.hadoop.gcsio.testing;
package com.google.cloud.hadoop.gcsio;

import com.google.protobuf.AbstractMessage;
import com.google.protobuf.Empty;
Expand All @@ -38,7 +38,7 @@
import java.util.List;
import java.util.Queue;

public final class MockStorage extends StorageImplBase {
final class MockStorage extends StorageImplBase {

private List<AbstractMessage> requests;
private Queue<java.lang.Object> responses;
Expand Down

0 comments on commit d677c34

Please sign in to comment.