From 9a3911bf05ed17b568d7981448d7c1b9ab676ea8 Mon Sep 17 00:00:00 2001 From: stephwang Date: Wed, 2 Feb 2022 18:45:25 -0500 Subject: [PATCH 1/2] docs(tutorials): set up integration test file structure for tutorials --- .../com/example}/JsonWriterDefaultStream.java | 0 .../example/JsonWriterDefaultStreamIT.java | 22 ++++++++ tutorials/pom.xml | 54 +++++++++++++++++++ 3 files changed, 76 insertions(+) rename tutorials/JsonWriterDefaultStream/{ => src/main/java/com/example}/JsonWriterDefaultStream.java (100%) create mode 100644 tutorials/JsonWriterDefaultStream/src/test/java/com/example/JsonWriterDefaultStreamIT.java create mode 100644 tutorials/pom.xml diff --git a/tutorials/JsonWriterDefaultStream/JsonWriterDefaultStream.java b/tutorials/JsonWriterDefaultStream/src/main/java/com/example/JsonWriterDefaultStream.java similarity index 100% rename from tutorials/JsonWriterDefaultStream/JsonWriterDefaultStream.java rename to tutorials/JsonWriterDefaultStream/src/main/java/com/example/JsonWriterDefaultStream.java diff --git a/tutorials/JsonWriterDefaultStream/src/test/java/com/example/JsonWriterDefaultStreamIT.java b/tutorials/JsonWriterDefaultStream/src/test/java/com/example/JsonWriterDefaultStreamIT.java new file mode 100644 index 0000000000..78e2854763 --- /dev/null +++ b/tutorials/JsonWriterDefaultStream/src/test/java/com/example/JsonWriterDefaultStreamIT.java @@ -0,0 +1,22 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.example.bigquerystorage; + +@RunWith(JUnit4.class) +public class JsonWriterDefaultStreamIT { + // TODO: ADD Integration Test +} diff --git a/tutorials/pom.xml b/tutorials/pom.xml new file mode 100644 index 0000000000..eb891e4255 --- /dev/null +++ b/tutorials/pom.xml @@ -0,0 +1,54 @@ + + + 4.0.0 + com.google.cloud + google-cloud-bigquerystorage-tutorials + 0.0.1-SNAPSHOT + pom + Google BigQuery Storage Tutorials Parent + https://github.com/googleapis/java-bigquerystorage + + Java idiomatic client for Google Cloud Platform services. + + + + + com.google.cloud.samples + shared-configuration + 1.2.0 + + + + 1.8 + 1.8 + UTF-8 + + + + JsonWriterDefaultStream + + + + + + org.apache.maven.plugins + maven-deploy-plugin + 2.8.2 + + true + + + + org.sonatype.plugins + nexus-staging-maven-plugin + 1.6.8 + + true + + + + + \ No newline at end of file From e38bfe6eb744939f85ebe87854a65120039ea12a Mon Sep 17 00:00:00 2001 From: stephwang Date: Wed, 2 Feb 2022 18:45:39 -0500 Subject: [PATCH 2/2] docs(tutorials): set up integration test file structure for tutorials --- .../src/test/java/com/example/JsonWriterDefaultStreamIT.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tutorials/JsonWriterDefaultStream/src/test/java/com/example/JsonWriterDefaultStreamIT.java b/tutorials/JsonWriterDefaultStream/src/test/java/com/example/JsonWriterDefaultStreamIT.java index 78e2854763..cb716c17bb 100644 --- a/tutorials/JsonWriterDefaultStream/src/test/java/com/example/JsonWriterDefaultStreamIT.java +++ b/tutorials/JsonWriterDefaultStream/src/test/java/com/example/JsonWriterDefaultStreamIT.java @@ -18,5 +18,5 @@ @RunWith(JUnit4.class) public class JsonWriterDefaultStreamIT { - // TODO: ADD Integration Test + // TODO(mwasson): ADD Integration Test }