diff options
author | varun gudisena <vg411h@att.com> | 2018-04-19 17:17:39 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2018-04-19 17:17:39 +0000 |
commit | 06e9aa2931545ac8e193e4404af78a83a8ba794f (patch) | |
tree | edbef0e3cac648b0ac5dc4902937d7c1f2d4dff8 /cadi/core/src | |
parent | 6eecd1c6230997d8c0dffe787439edb6d5ca7007 (diff) | |
parent | 087706284431e63ea77b934859a47beeb59e4592 (diff) |
Merge "Support Multiple Realms for DefaultOrg"
Diffstat (limited to 'cadi/core/src')
-rw-r--r-- | cadi/core/src/test/java/org/onap/aaf/cadi/test/JU_CmdLine.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cadi/core/src/test/java/org/onap/aaf/cadi/test/JU_CmdLine.java b/cadi/core/src/test/java/org/onap/aaf/cadi/test/JU_CmdLine.java index 31e5d32c..52be7d5e 100644 --- a/cadi/core/src/test/java/org/onap/aaf/cadi/test/JU_CmdLine.java +++ b/cadi/core/src/test/java/org/onap/aaf/cadi/test/JU_CmdLine.java @@ -163,6 +163,10 @@ public class JU_CmdLine { assertThat(outContent.toString().length(), is(2074)); String filePath = "test/output_key"; + File testDir = new File("test"); + if(!testDir.exists()) { + testDir.mkdirs(); + } CmdLine.main(new String[]{"keygen", filePath}); File keyfile = new File(filePath); assertTrue(Files.isReadable(Paths.get(filePath))); |