Skip to content
This repository was archived by the owner on May 8, 2026. It is now read-only.

Commit 0014bdd

Browse files
chore: generate libraries at Sat Mar 14 15:55:26 UTC 2026
1 parent db46382 commit 0014bdd

1 file changed

Lines changed: 28 additions & 22 deletions

File tree

google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/BigtableDataClientTests.java

Lines changed: 28 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -264,8 +264,9 @@ public void proxyReadRowAsyncTest() {
264264
Mockito.when(mockStub.readRowCallable()).thenReturn(mockReadRowCallable);
265265

266266
@SuppressWarnings("VariableUnused")
267-
ApiFuture<Row> ignored = bigtableDataClient.readRowAsync(
268-
TableId.of("fake-table"), ByteString.copyFromUtf8("fake-row-key"));
267+
ApiFuture<Row> ignored =
268+
bigtableDataClient.readRowAsync(
269+
TableId.of("fake-table"), ByteString.copyFromUtf8("fake-row-key"));
269270
Mockito.verify(mockReadRowCallable)
270271
.futureCall(Query.create(TableId.of("fake-table")).rowKey("fake-row-key"));
271272
}
@@ -275,9 +276,10 @@ public void proxyReadRowOnAuthorizedViewAsyncTest() {
275276
Mockito.when(mockStub.readRowCallable()).thenReturn(mockReadRowCallable);
276277

277278
@SuppressWarnings("VariableUnused")
278-
ApiFuture<Row> ignored = bigtableDataClient.readRowAsync(
279-
AuthorizedViewId.of("fake-table", "fake-authorized-view"),
280-
ByteString.copyFromUtf8("fake-row-key"));
279+
ApiFuture<Row> ignored =
280+
bigtableDataClient.readRowAsync(
281+
AuthorizedViewId.of("fake-table", "fake-authorized-view"),
282+
ByteString.copyFromUtf8("fake-row-key"));
281283
Mockito.verify(mockReadRowCallable)
282284
.futureCall(
283285
Query.create(AuthorizedViewId.of("fake-table", "fake-authorized-view"))
@@ -289,7 +291,8 @@ public void proxyReadRowStrAsyncTest() {
289291
Mockito.when(mockStub.readRowCallable()).thenReturn(mockReadRowCallable);
290292

291293
@SuppressWarnings("VariableUnused")
292-
ApiFuture<Row> ignored = bigtableDataClient.readRowAsync(TableId.of("fake-table"), "fake-row-key");
294+
ApiFuture<Row> ignored =
295+
bigtableDataClient.readRowAsync(TableId.of("fake-table"), "fake-row-key");
293296
Mockito.verify(mockReadRowCallable)
294297
.futureCall(Query.create(TableId.of("fake-table")).rowKey("fake-row-key"));
295298
}
@@ -299,8 +302,9 @@ public void proxyReadRowOnAuthorizedViewStrAsyncTest() {
299302
Mockito.when(mockStub.readRowCallable()).thenReturn(mockReadRowCallable);
300303

301304
@SuppressWarnings("VariableUnused")
302-
ApiFuture<Row> ignored = bigtableDataClient.readRowAsync(
303-
AuthorizedViewId.of("fake-table", "fake-authorized-view"), "fake-row-key");
305+
ApiFuture<Row> ignored =
306+
bigtableDataClient.readRowAsync(
307+
AuthorizedViewId.of("fake-table", "fake-authorized-view"), "fake-row-key");
304308
Mockito.verify(mockReadRowCallable)
305309
.futureCall(
306310
Query.create(AuthorizedViewId.of("fake-table", "fake-authorized-view"))
@@ -319,8 +323,9 @@ public void readRowFilterAsyncTest() {
319323
.filter(FILTERS.limit().cellsPerRow(10));
320324

321325
@SuppressWarnings("VariableUnused")
322-
ApiFuture<Row> ignored = bigtableDataClient.readRowAsync(
323-
TableId.of("fake-table"), ByteString.copyFromUtf8("fake-row-key"), filter);
326+
ApiFuture<Row> ignored =
327+
bigtableDataClient.readRowAsync(
328+
TableId.of("fake-table"), ByteString.copyFromUtf8("fake-row-key"), filter);
324329

325330
Mockito.verify(mockReadRowCallable)
326331
.futureCall(Query.create(TableId.of("fake-table")).rowKey("fake-row-key").filter(filter));
@@ -337,12 +342,12 @@ public void readRowOnAuthorizedViewFilterAsyncTest() {
337342
.filter(FILTERS.qualifier().regex("prefix.*"))
338343
.filter(FILTERS.limit().cellsPerRow(10));
339344

340-
341345
@SuppressWarnings("VariableUnused")
342-
ApiFuture<Row> ignored = bigtableDataClient.readRowAsync(
343-
AuthorizedViewId.of("fake-table", "fake-authorized-view"),
344-
ByteString.copyFromUtf8("fake-row-key"),
345-
filter);
346+
ApiFuture<Row> ignored =
347+
bigtableDataClient.readRowAsync(
348+
AuthorizedViewId.of("fake-table", "fake-authorized-view"),
349+
ByteString.copyFromUtf8("fake-row-key"),
350+
filter);
346351

347352
Mockito.verify(mockReadRowCallable)
348353
.futureCall(
@@ -362,9 +367,9 @@ public void readRowFilterStrAsyncTest() {
362367
.filter(FILTERS.qualifier().regex("prefix.*"))
363368
.filter(FILTERS.limit().cellsPerRow(10));
364369

365-
366370
@SuppressWarnings("VariableUnused")
367-
ApiFuture<Row> ignored = bigtableDataClient.readRowAsync(TableId.of("fake-table"), "fake-row-key", filter);
371+
ApiFuture<Row> ignored =
372+
bigtableDataClient.readRowAsync(TableId.of("fake-table"), "fake-row-key", filter);
368373

369374
Mockito.verify(mockReadRowCallable)
370375
.futureCall(Query.create(TableId.of("fake-table")).rowKey("fake-row-key").filter(filter));
@@ -381,10 +386,10 @@ public void readRowOnAuthorizedViewFilterStrAsyncTest() {
381386
.filter(FILTERS.qualifier().regex("prefix.*"))
382387
.filter(FILTERS.limit().cellsPerRow(10));
383388

384-
385389
@SuppressWarnings("VariableUnused")
386-
ApiFuture<Row> ignored = bigtableDataClient.readRowAsync(
387-
AuthorizedViewId.of("fake-table", "fake-authorized-view"), "fake-row-key", filter);
390+
ApiFuture<Row> ignored =
391+
bigtableDataClient.readRowAsync(
392+
AuthorizedViewId.of("fake-table", "fake-authorized-view"), "fake-row-key", filter);
388393

389394
Mockito.verify(mockReadRowCallable)
390395
.futureCall(
@@ -686,8 +691,9 @@ public void proxySampleRowKeysOnAuthorizedViewTest() {
686691
.thenReturn(mockSampleRowKeysCallableWithRequest);
687692

688693
@SuppressWarnings("VariableUnused")
689-
ApiFuture<?> ignored = bigtableDataClient.sampleRowKeysAsync(
690-
AuthorizedViewId.of("fake-table", "fake-authorized-view"));
694+
ApiFuture<?> ignored =
695+
bigtableDataClient.sampleRowKeysAsync(
696+
AuthorizedViewId.of("fake-table", "fake-authorized-view"));
691697

692698
Mockito.verify(mockSampleRowKeysCallableWithRequest)
693699
.futureCall(

0 commit comments

Comments
 (0)