dionusos commented on a change in pull request #64: URL: https://github.com/apache/oozie/pull/64#discussion_r783277474
########## File path: core/src/test/java/org/apache/oozie/command/wf/TestSignalXCommand.java ########## @@ -314,4 +322,98 @@ public boolean evaluate() throws Exception { assertEquals(prepActions.length, numPrep); assertEquals(okActions.length, numOK); } + + private void writeToFile(String appXml, String appPath) throws IOException { + File wf = new File(URI.create(appPath)); + PrintWriter out = null; + try { + out = new PrintWriter(new OutputStreamWriter(new FileOutputStream(wf), StandardCharsets.UTF_8)); + out.println(appXml); + } + catch (IOException iex) { + throw iex; + } + finally { + if (out != null) { + out.close(); + } + } + } + + /** Review comment: please remove the second * -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@oozie.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org