File tree Expand file tree Collapse file tree 1 file changed +0
-18
lines changed
webrisk/src/test/java/webrisk Expand file tree Collapse file tree 1 file changed +0
-18
lines changed Original file line number Diff line number Diff line change @@ -56,25 +56,8 @@ public static void requireEnvVar(String envVarName) {
5656
5757 @ BeforeClass
5858 public static void setUp () throws IOException {
59- final PrintStream out = System .out ;
60- ByteArrayOutputStream stdOut = new ByteArrayOutputStream ();
61- System .setOut (new PrintStream (stdOut ));
62-
6359 requireEnvVar ("GOOGLE_APPLICATION_CREDENTIALS" );
6460 requireEnvVar ("GOOGLE_CLOUD_PROJECT" );
65-
66- stdOut .close ();
67- System .setOut (out );
68- }
69-
70- @ AfterClass
71- public static void cleanup () throws IOException {
72- final PrintStream out = System .out ;
73- ByteArrayOutputStream stdOut = new ByteArrayOutputStream ();
74- System .setOut (new PrintStream (stdOut ));
75-
76- stdOut .close ();
77- System .setOut (out );
7861 }
7962
8063 @ Before
@@ -86,7 +69,6 @@ public void beforeEach() {
8669 @ After
8770 public void afterEach () {
8871 stdOut = null ;
89- System .setOut (null );
9072 }
9173
9274 @ Test
You can’t perform that action at this time.
0 commit comments