File tree Expand file tree Collapse file tree
java-bigquery/google-cloud-bigquery/src
main/java/com/google/cloud/bigquery/spi/v2
test/java/com/google/cloud/bigquery/spi/v2 Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -90,7 +90,7 @@ public class HttpBigQueryRpc implements BigQueryRpc {
9090 private static final String BASE_RESUMABLE_URI = "upload/bigquery/v2/projects/" ;
9191 static final String HTTP_TRACING_DEV_GATE_PROPERTY =
9292 "com.google.cloud.bigquery.http.tracing.dev.enabled" ;
93- private static final String RESOURCE_PROJECT_PREFIX = "//bigquery.googleapis.com/projects/" ;
93+ static final String RESOURCE_PROJECT_PREFIX = "//bigquery.googleapis.com/projects/" ;
9494 // see:
9595 // https://cloud.google.com/bigquery/loading-data-post-request#resume-upload
9696 private static final int HTTP_RESUME_INCOMPLETE = 308 ;
Original file line number Diff line number Diff line change 1515 */
1616package com .google .cloud .bigquery .spi .v2 ;
1717
18+ import static com .google .cloud .bigquery .spi .v2 .HttpBigQueryRpc .RESOURCE_PROJECT_PREFIX ;
1819import static com .google .common .truth .Truth .assertThat ;
1920import static org .junit .jupiter .api .Assertions .assertEquals ;
2021import static org .junit .jupiter .api .Assertions .assertNotNull ;
@@ -78,7 +79,6 @@ public class HttpBigQueryRpcTest {
7879 private static final String JOB_ID = "test-job" ;
7980 private static final String LOCATION = "test-location" ;
8081
81- private static final String RESOURCE_PROJECT_PREFIX = "//bigquery.googleapis.com/projects/" ;
8282 private InMemorySpanExporter spanExporter ;
8383 private MockLowLevelHttpResponse mockResponse ;
8484 private String lastRequestMethod ;
You can’t perform that action at this time.
0 commit comments