X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;ds=sidebyside;f=src%2Ftest%2Fjava%2Forg%2Fonap%2Faai%2Fbabel%2FTestMicroServiceAuth.java;h=431d01f1e59f7b1181233d856e8aba1f5a9b3f9d;hb=d2215b5d8b6c8976a9540a9e4706c7bebca80aa2;hp=c45bd0a9d5ed023da1a7374308507bc9350344ae;hpb=6c585913c11b2e1973bfcd0d7671d4114e1c3e66;p=aai%2Fbabel.git diff --git a/src/test/java/org/onap/aai/babel/TestMicroServiceAuth.java b/src/test/java/org/onap/aai/babel/TestMicroServiceAuth.java index c45bd0a..431d01f 100644 --- a/src/test/java/org/onap/aai/babel/TestMicroServiceAuth.java +++ b/src/test/java/org/onap/aai/babel/TestMicroServiceAuth.java @@ -302,9 +302,14 @@ public class TestMicroServiceAuth { } /** + * Write String content to a file, flush and close. + * * @param file + * the file to write to * @param text + * the String content to write to the file * @throws IOException + * if the file cannot be opened for writing, or an I/O error occurs */ private void writeToFile(File file, String text) throws IOException { FileWriter fileWriter = new FileWriter(file); @@ -314,7 +319,7 @@ public class TestMicroServiceAuth { } /** - * Assert authorisation results for an admin user based on the test policy file. + * Assert authorization results for an admin user based on the test policy file. * * @param auth * the Auth Service to test