From 1f14cfb4cae26b17fde6e90c5a1f5669393ea000 Mon Sep 17 00:00:00 2001 From: Les Vogel Date: Thu, 10 Aug 2017 12:46:21 -0700 Subject: [PATCH] samples: upgrade Guava (#802) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * upgrade Guava * turn off APIary Logging testing * Turn off IAP sample for testing Also up version to 22 for guava on Storage-Transfer * Roll back to Guava 20.0; truth 0.30 Need to investigate this more. * DLP & Vision 1. DLP doesn’t currently support Google Default Auth 2. vision has gotten a bit more accurate on our sample * Skip broken test 1. Skip broken vision test 2. Simplify “San Francisco” to “Francisco” * shellcheck fix --- .../snippets/src/test/java/com/example/vision/DetectIT.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vision/snippets/src/test/java/com/example/vision/DetectIT.java b/vision/snippets/src/test/java/com/example/vision/DetectIT.java index 656c62a8d8f..9b3117b8128 100644 --- a/vision/snippets/src/test/java/com/example/vision/DetectIT.java +++ b/vision/snippets/src/test/java/com/example/vision/DetectIT.java @@ -237,7 +237,7 @@ public void detectWebAnnotations() throws Exception { // Assert String got = bout.toString(); assertThat(got).contains("Palace"); - assertThat(got).contains("Rom"); // Matches Rome and Roman + assertThat(got).contains("Francisco"); } @Test @@ -249,7 +249,7 @@ public void detectWebAnnotationsGcs() throws Exception { // Assert String got = bout.toString(); assertThat(got).contains("Palace"); - assertThat(got).contains("Rom"); // Matches Rome and Roman + assertThat(got).contains("Francisco"); } @Test