Skip to content

Commit d56268e

Browse files
committed
---
yaml --- r: 6883 b: refs/heads/tswast-patch-1 c: 5829d81 h: refs/heads/master i: 6881: e36185b 6879: a9e1c7c
1 parent 831440a commit d56268e

2 files changed

Lines changed: 8 additions & 2 deletions

File tree

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,5 +57,5 @@ refs/tags/v0.18.0: 9d193c4c4b9d1c6f21515dd8e50836b9194ec9bb
5757
refs/tags/v0.19.0: e67b56e4d8dad5f9a7b38c9b2107c23c828f2ed5
5858
refs/tags/v0.20.0: 839f7fb7156535146aa1cb2c5aadd8d375d854e8
5959
refs/tags/v0.20.1: 370471f437f1f4f68a11e068df5cd6bf39edb1fa
60-
refs/heads/tswast-patch-1: 94533b2844c539ab20f90b36dfbafdbfb74fedbe
60+
refs/heads/tswast-patch-1: 5829d81533472cd81d946e493e9f7ac136d24235
6161
refs/heads/pubsub-streaming-pull: 19262b752ee874eb2ca3b950eb2aef44d5a5267b

branches/tswast-patch-1/gcloud-java-bigquery/src/test/java/com/google/gcloud/bigquery/SerializationTest.java

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,6 +224,12 @@ public class SerializationTest {
224224
.jobCompleted(true)
225225
.result(QUERY_RESULT)
226226
.build();
227+
private static final BigQuery BIGQUERY =
228+
BigQueryOptions.builder().projectId("p1").build().service();
229+
private static final Dataset DATASET =
230+
new Dataset(BIGQUERY, new DatasetInfo.BuilderImpl(DATASET_INFO));
231+
private static final Table TABLE = new Table(BIGQUERY, new TableInfo.BuilderImpl(TABLE_INFO));
232+
private static final Job JOB = new Job(BIGQUERY, new JobInfo.BuilderImpl(JOB_INFO));
227233

228234
@Test
229235
public void testServiceOptions() throws Exception {
@@ -256,7 +262,7 @@ public void testModelAndRequests() throws Exception {
256262
BigQuery.DatasetOption.fields(), BigQuery.DatasetDeleteOption.deleteContents(),
257263
BigQuery.DatasetListOption.all(), BigQuery.TableOption.fields(),
258264
BigQuery.TableListOption.maxResults(42L), BigQuery.JobOption.fields(),
259-
BigQuery.JobListOption.allUsers()};
265+
BigQuery.JobListOption.allUsers(), DATASET, TABLE, JOB};
260266
for (Serializable obj : objects) {
261267
Object copy = serializeAndDeserialize(obj);
262268
assertEquals(obj, obj);

0 commit comments

Comments
 (0)