use of com.google.api.gax.rpc.UnimplementedException in project java-bigquerystorage by googleapis.
the class ResourceHeaderTest method readRowsTest.
@Test
public void readRowsTest() {
try {
ReadRowsRequest request = ReadRowsRequest.newBuilder().setReadStream(TEST_STREAM_NAME).setOffset(125).build();
client.readRowsCallable().call(request);
} catch (UnimplementedException e) {
// Ignore the error: none of the methods are actually implemented.
}
verifyHeaderSent(READ_STREAM_PATTERN);
}
use of com.google.api.gax.rpc.UnimplementedException in project java-bigquerystorage by googleapis.
the class ResourceHeaderTest method readRowsTest.
@Test
public void readRowsTest() {
try {
ReadRowsRequest request = ReadRowsRequest.newBuilder().setReadStream(TEST_STREAM_NAME).setOffset(125).build();
client.readRowsCallable().call(request);
} catch (UnimplementedException e) {
// Ignore the error: none of the methods are actually implemented.
}
verifyHeaderSent(READ_STREAM_PATTERN);
}
use of com.google.api.gax.rpc.UnimplementedException in project java-bigquerystorage by googleapis.
the class ResourceHeaderTest method readRowsTest.
@Test
public void readRowsTest() {
try {
ReadRowsRequest request = ReadRowsRequest.newBuilder().setReadPosition(StreamPosition.newBuilder().setStream(TEST_STREAM).setOffset(125)).build();
client.readRowsCallable().call(request);
} catch (UnimplementedException e) {
// Ignore the error: none of the methods are actually implemented.
}
verifyHeaderSent(READ_POSITION_PATTERN);
}
Aggregations