Skip to content

Commit

Permalink
Document purpose of test-jar and testlib dependencies (#4164)
Browse files Browse the repository at this point in the history
  • Loading branch information
chingor13 authored Dec 5, 2018
1 parent 58eb4d0 commit 979e4c2
Show file tree
Hide file tree
Showing 42 changed files with 110 additions and 178 deletions.
9 changes: 3 additions & 6 deletions google-cloud-clients/google-cloud-asset/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,8 @@
<groupId>io.grpc</groupId>
<artifactId>grpc-auth</artifactId>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>google-cloud-core</artifactId>
<type>test-jar</type>
<scope>test</scope>
</dependency>

<!-- Test dependencies -->
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
Expand All @@ -58,6 +54,7 @@
<artifactId>grpc-google-cloud-asset-v1beta1</artifactId>
<scope>test</scope>
</dependency>
<!-- Need testing utility classes for generated gRPC clients tests -->
<dependency>
<groupId>com.google.api</groupId>
<artifactId>gax-grpc</artifactId>
Expand Down
9 changes: 3 additions & 6 deletions google-cloud-clients/google-cloud-automl/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,8 @@
<groupId>io.grpc</groupId>
<artifactId>grpc-auth</artifactId>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>google-cloud-core</artifactId>
<type>test-jar</type>
<scope>test</scope>
</dependency>

<!-- Test dependencies -->
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
Expand All @@ -58,6 +54,7 @@
<artifactId>grpc-google-cloud-automl-v1beta1</artifactId>
<scope>test</scope>
</dependency>
<!-- Need testing utility classes for generated gRPC clients tests -->
<dependency>
<groupId>com.google.api</groupId>
<artifactId>gax-grpc</artifactId>
Expand Down
2 changes: 2 additions & 0 deletions google-cloud-clients/google-cloud-bigquery/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@
<artifactId>google-api-services-bigquery</artifactId>
<scope>compile</scope>
</dependency>

<!-- Test dependencies -->
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>google-cloud-core</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,8 @@
<groupId>io.grpc</groupId>
<artifactId>grpc-auth</artifactId>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>google-cloud-core</artifactId>
<type>test-jar</type>
<scope>test</scope>
</dependency>

<!-- Test dependencies -->
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
Expand All @@ -78,6 +74,7 @@
<artifactId>grpc-google-iam-v1</artifactId>
<scope>test</scope>
</dependency>
<!-- Need testing utility classes for generated gRPC clients tests -->
<dependency>
<groupId>com.google.api</groupId>
<artifactId>gax-grpc</artifactId>
Expand Down
4 changes: 3 additions & 1 deletion google-cloud-clients/google-cloud-bigquerystorage/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,14 @@
<groupId>com.google.api.grpc</groupId>
<artifactId>grpc-google-cloud-bigquerystorage-v1beta1</artifactId>
</dependency>

<!-- Test dependencies -->
<dependency>
<groupId>com.google.api</groupId>
<artifactId>gax-grpc</artifactId>
<scope>test</scope>
</dependency>
<!-- Need testing utility classes for generated gRPC clients tests -->
<dependency>
<groupId>com.google.api</groupId>
<artifactId>gax-grpc</artifactId>
Expand All @@ -50,7 +53,6 @@
<artifactId>gax</artifactId>
<scope>test</scope>
</dependency>

<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
Expand Down
9 changes: 2 additions & 7 deletions google-cloud-clients/google-cloud-bigtable-admin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -54,13 +54,7 @@
<scope>provided</scope>
</dependency>

<!-- Test -->
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>google-cloud-core</artifactId>
<type>test-jar</type>
<scope>test</scope>
</dependency>
<!-- Test dependencies -->
<dependency>
<groupId>com.google.api</groupId>
<artifactId>gax</artifactId>
Expand All @@ -82,6 +76,7 @@
<artifactId>truth</artifactId>
<scope>test</scope>
</dependency>
<!-- Need testing utility classes for generated gRPC clients tests -->
<dependency>
<groupId>com.google.api</groupId>
<artifactId>gax-grpc</artifactId>
Expand Down
9 changes: 2 additions & 7 deletions google-cloud-clients/google-cloud-bigtable/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -53,13 +53,7 @@
<scope>provided</scope>
</dependency>

<!-- Test -->
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>google-cloud-core</artifactId>
<type>test-jar</type>
<scope>test</scope>
</dependency>
<!-- Test dependencies -->
<dependency>
<groupId>com.google.api.grpc</groupId>
<artifactId>grpc-google-cloud-bigtable-v2</artifactId>
Expand All @@ -85,6 +79,7 @@
<artifactId>truth</artifactId>
<scope>test</scope>
</dependency>
<!-- Need testing utility classes for generated gRPC clients tests -->
<dependency>
<groupId>com.google.api</groupId>
<artifactId>gax-grpc</artifactId>
Expand Down
2 changes: 2 additions & 0 deletions google-cloud-clients/google-cloud-compute/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@
<artifactId>google-api-services-compute</artifactId>
<scope>compile</scope>
</dependency>

<!-- Test dependencies -->
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>google-cloud-core</artifactId>
Expand Down
9 changes: 3 additions & 6 deletions google-cloud-clients/google-cloud-container/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,8 @@
<groupId>io.grpc</groupId>
<artifactId>grpc-auth</artifactId>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>google-cloud-core</artifactId>
<type>test-jar</type>
<scope>test</scope>
</dependency>

<!-- Test dependencies -->
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
Expand All @@ -78,6 +74,7 @@
<artifactId>grpc-google-iam-v1</artifactId>
<scope>test</scope>
</dependency>
<!-- Need testing utility classes for generated gRPC clients tests -->
<dependency>
<groupId>com.google.api</groupId>
<artifactId>gax-grpc</artifactId>
Expand Down
3 changes: 3 additions & 0 deletions google-cloud-clients/google-cloud-containeranalysis/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@
<groupId>io.grpc</groupId>
<artifactId>grpc-auth</artifactId>
</dependency>

<!-- Test dependencies -->
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
Expand All @@ -55,6 +57,7 @@
<artifactId>grpc-google-cloud-containeranalysis-v1beta1</artifactId>
<scope>test</scope>
</dependency>
<!-- Need testing utility classes for generated gRPC clients tests -->
<dependency>
<groupId>com.google.api</groupId>
<artifactId>gax-grpc</artifactId>
Expand Down
2 changes: 2 additions & 0 deletions google-cloud-clients/google-cloud-core-grpc/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,8 @@
<groupId>com.google.api</groupId>
<artifactId>gax-grpc</artifactId>
</dependency>

<!-- Test dependencies -->
<dependency>
<groupId>com.google.truth</groupId>
<artifactId>truth</artifactId>
Expand Down
2 changes: 2 additions & 0 deletions google-cloud-clients/google-cloud-core-http/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,8 @@
<groupId>com.google.api</groupId>
<artifactId>gax-httpjson</artifactId>
</dependency>

<!-- Test dependencies -->
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
Expand Down
9 changes: 3 additions & 6 deletions google-cloud-clients/google-cloud-dataproc/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -54,12 +54,8 @@
<groupId>io.grpc</groupId>
<artifactId>grpc-auth</artifactId>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>google-cloud-core</artifactId>
<type>test-jar</type>
<scope>test</scope>
</dependency>

<!-- Test dependencies -->
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
Expand All @@ -85,6 +81,7 @@
<artifactId>grpc-google-iam-v1</artifactId>
<scope>test</scope>
</dependency>
<!-- Need testing utility classes for generated gRPC clients tests -->
<dependency>
<groupId>com.google.api</groupId>
<artifactId>gax-grpc</artifactId>
Expand Down
2 changes: 2 additions & 0 deletions google-cloud-clients/google-cloud-datastore/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@
<groupId>io.grpc</groupId>
<artifactId>grpc-core</artifactId>
</dependency>

<!-- Test dependencies -->
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>google-cloud-core</artifactId>
Expand Down
9 changes: 3 additions & 6 deletions google-cloud-clients/google-cloud-dialogflow/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,8 @@
<groupId>io.grpc</groupId>
<artifactId>grpc-auth</artifactId>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>google-cloud-core</artifactId>
<type>test-jar</type>
<scope>test</scope>
</dependency>

<!-- Test dependencies -->
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
Expand All @@ -77,6 +73,7 @@
<artifactId>grpc-google-cloud-dialogflow-v2</artifactId>
<scope>test</scope>
</dependency>
<!-- Need testing utility classes for generated gRPC clients tests -->
<dependency>
<groupId>com.google.api</groupId>
<artifactId>gax-grpc</artifactId>
Expand Down
9 changes: 3 additions & 6 deletions google-cloud-clients/google-cloud-dlp/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,8 @@
<groupId>io.grpc</groupId>
<artifactId>grpc-auth</artifactId>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>google-cloud-core</artifactId>
<type>test-jar</type>
<scope>test</scope>
</dependency>

<!-- Test dependencies -->
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
Expand All @@ -68,6 +64,7 @@
<artifactId>grpc-google-cloud-dlp-v2</artifactId>
<scope>test</scope>
</dependency>
<!-- Need testing utility classes for generated gRPC clients tests -->
<dependency>
<groupId>com.google.api</groupId>
<artifactId>gax-grpc</artifactId>
Expand Down
2 changes: 2 additions & 0 deletions google-cloud-clients/google-cloud-dns/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@
<groupId>commons-fileupload</groupId>
<artifactId>commons-fileupload</artifactId>
</dependency>

<!-- Test dependencies -->
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>google-cloud-core</artifactId>
Expand Down
9 changes: 3 additions & 6 deletions google-cloud-clients/google-cloud-errorreporting/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,8 @@
<groupId>io.grpc</groupId>
<artifactId>grpc-auth</artifactId>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>google-cloud-core</artifactId>
<type>test-jar</type>
<scope>test</scope>
</dependency>

<!-- Test dependencies -->
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
Expand All @@ -68,6 +64,7 @@
<artifactId>grpc-google-cloud-error-reporting-v1beta1</artifactId>
<scope>test</scope>
</dependency>
<!-- Need testing utility classes for generated gRPC clients tests -->
<dependency>
<groupId>com.google.api</groupId>
<artifactId>gax-grpc</artifactId>
Expand Down
9 changes: 3 additions & 6 deletions google-cloud-clients/google-cloud-firestore/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -71,12 +71,8 @@
<groupId>io.opencensus</groupId>
<artifactId>opencensus-contrib-grpc-util</artifactId>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>google-cloud-core</artifactId>
<type>test-jar</type>
<scope>test</scope>
</dependency>

<!-- Test dependencies -->
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
Expand All @@ -87,6 +83,7 @@
<artifactId>mockito-all</artifactId>
<scope>test</scope>
</dependency>
<!-- Need testing utility classes for generated gRPC clients tests -->
<dependency>
<groupId>com.google.api</groupId>
<artifactId>gax-grpc</artifactId>
Expand Down
9 changes: 3 additions & 6 deletions google-cloud-clients/google-cloud-iot/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,8 @@
<groupId>io.grpc</groupId>
<artifactId>grpc-auth</artifactId>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>google-cloud-core</artifactId>
<type>test-jar</type>
<scope>test</scope>
</dependency>

<!-- Test dependencies -->
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
Expand All @@ -58,6 +54,7 @@
<artifactId>grpc-google-cloud-iot-v1</artifactId>
<scope>test</scope>
</dependency>
<!-- Need testing utility classes for generated gRPC clients tests -->
<dependency>
<groupId>com.google.api</groupId>
<artifactId>gax-grpc</artifactId>
Expand Down
9 changes: 3 additions & 6 deletions google-cloud-clients/google-cloud-kms/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,8 @@
<groupId>io.grpc</groupId>
<artifactId>grpc-auth</artifactId>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>google-cloud-core</artifactId>
<type>test-jar</type>
<scope>test</scope>
</dependency>

<!-- Test dependencies -->
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
Expand All @@ -73,6 +69,7 @@
<artifactId>grpc-google-iam-v1</artifactId>
<scope>test</scope>
</dependency>
<!-- Need testing utility classes for generated gRPC clients tests -->
<dependency>
<groupId>com.google.api</groupId>
<artifactId>gax-grpc</artifactId>
Expand Down
Loading

0 comments on commit 979e4c2

Please sign in to comment.