From 087706284431e63ea77b934859a47beeb59e4592 Mon Sep 17 00:00:00 2001 From: Instrumental Date: Wed, 18 Apr 2018 10:52:42 -0500 Subject: Support Multiple Realms for DefaultOrg Issue-ID: AAF-254 Change-Id: I89a9b1ceaa304861debd4c7dd21879e0b1fc902a Signed-off-by: Instrumental --- cadi/core/src/test/java/org/onap/aaf/cadi/test/JU_CmdLine.java | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'cadi/core') 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))); -- cgit 1.2.3-korg