File tree Expand file tree Collapse file tree 2 files changed +12
-0
lines changed
src/test/java/com/example/vision Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change 6363 <version >4.13.2</version >
6464 <scope >test</scope >
6565 </dependency >
66+ <dependency >
67+ <groupId >com.google.cloud</groupId >
68+ <artifactId >google-cloud-core</artifactId >
69+ <version >1.94.0</version >
70+ <scope >test</scope >
71+ <classifier >tests</classifier >
72+ </dependency >
6673 <dependency >
6774 <groupId >com.google.truth</groupId >
6875 <artifactId >truth</artifactId >
Original file line number Diff line number Diff line change 2323import com .google .cloud .storage .Storage ;
2424import com .google .cloud .storage .Storage .BlobListOption ;
2525import com .google .cloud .storage .StorageOptions ;
26+ import com .google .cloud .testing .junit4 .MultipleAttemptsRule ;
2627import java .io .ByteArrayOutputStream ;
2728import java .io .PrintStream ;
2829import java .util .UUID ;
2930import org .junit .After ;
3031import org .junit .Before ;
32+ import org .junit .Rule ;
3133import org .junit .Test ;
3234import org .junit .runner .RunWith ;
3335import org .junit .runners .JUnit4 ;
@@ -58,6 +60,9 @@ public void tearDown() {
5860 System .setOut (originalPrintStream );
5961 }
6062
63+ @ Rule
64+ public MultipleAttemptsRule multipleAttemptsRule = new MultipleAttemptsRule (3 );
65+
6166 @ Test
6267 public void testDocumentText () throws Exception {
6368 // Act
You can’t perform that action at this time.
0 commit comments