Skip to content

Commit

Permalink
Update vision dependency version and fix test. (#1099)
Browse files Browse the repository at this point in the history
  • Loading branch information
dzlier-gcp authored Jun 4, 2018
1 parent 70c1984 commit 47c83f2
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions vision/beta/cloud-client/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,12 @@
<dependency>
<groupId>com.google.cloud</groupId>
<artifactId>google-cloud-vision</artifactId>
<version>1.24.1</version>
<version>1.29.0</version>
</dependency>
<dependency>
<groupId>com.google.cloud</groupId>
<artifactId>google-cloud-storage</artifactId>
<version>1.24.1</version>
<version>1.29.0</version>
</dependency>
<!-- [END dependencies] -->

Expand All @@ -60,7 +60,7 @@
<dependency>
<groupId>com.google.truth</groupId>
<artifactId>truth</artifactId>
<version>0.39</version>
<version>0.40</version>
<scope>test</scope>
</dependency>
</dependencies>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ public void detectWebAnnotations() throws Exception {

// Assert
String got = bout.toString();
assertThat(got).contains("Landmark");
assertThat(got).contains("History");
assertThat(got).contains("Best guess label: palace of fine arts");
}

Expand All @@ -256,7 +256,7 @@ public void detectWebAnnotationsGcs() throws Exception {

// Assert
String got = bout.toString();
assertThat(got).contains("Landmark");
assertThat(got).contains("History");
assertThat(got).contains("Best guess label: palace of fine arts");
}

Expand Down
4 changes: 2 additions & 2 deletions vision/cloud-client/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
<dependency>
<groupId>com.google.cloud</groupId>
<artifactId>google-cloud-vision</artifactId>
<version>1.22.0</version>
<version>1.29.0</version>
</dependency>
<!-- [END dependencies] -->

Expand All @@ -55,7 +55,7 @@
<dependency>
<groupId>com.google.truth</groupId>
<artifactId>truth</artifactId>
<version>0.39</version>
<version>0.40</version>
<scope>test</scope>
</dependency>
</dependencies>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ public void detectWebAnnotations() throws Exception {

// Assert
String got = bout.toString();
assertThat(got).contains("Landmark");
assertThat(got).contains("History");
assertThat(got).contains("Best guess label: palace of fine arts");
}

Expand All @@ -248,7 +248,7 @@ public void detectWebAnnotationsGcs() throws Exception {

// Assert
String got = bout.toString();
assertThat(got).contains("Landmark");
assertThat(got).contains("History");
assertThat(got).contains("Best guess label: palace of fine arts");
}

Expand Down

0 comments on commit 47c83f2

Please sign in to comment.