X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=auth%2Fauth-cmd%2Fsrc%2Ftest%2Fjava%2Forg%2Fonap%2Faaf%2Fauth%2Fcmd%2Ftest%2Fmgmt%2FJU_Clear.java;h=43d228d61f6c5be07757f8989c1013c0a0aaa7fa;hb=refs%2Fchanges%2F51%2F56951%2F1;hp=70a620fb4af10aa01fef9e331af435c4dfb89ed9;hpb=9c8a8b0926b13b07fb1e5394903401e7a3f1ff79;p=aaf%2Fauthz.git diff --git a/auth/auth-cmd/src/test/java/org/onap/aaf/auth/cmd/test/mgmt/JU_Clear.java b/auth/auth-cmd/src/test/java/org/onap/aaf/auth/cmd/test/mgmt/JU_Clear.java index 70a620fb..43d228d6 100644 --- a/auth/auth-cmd/src/test/java/org/onap/aaf/auth/cmd/test/mgmt/JU_Clear.java +++ b/auth/auth-cmd/src/test/java/org/onap/aaf/auth/cmd/test/mgmt/JU_Clear.java @@ -76,11 +76,11 @@ public class JU_Clear { wtr = mock(Writer.class); loc = mock(Locator.class); SecuritySetter secSet = mock(SecuritySetter.class); - hman = new HMangr(aEnv, loc); - aafcli = new AAFcli(prop, aEnv, wtr, hman, null, secSet); - mgmt = new Mgmt(aafcli); - cache = new Cache(mgmt); - clr = new Clear(cache); +// hman = new HMangr(aEnv, loc); +// aafcli = new AAFcli(prop, aEnv, wtr, hman, null, secSet); +// mgmt = new Mgmt(aafcli); +// cache = new Cache(mgmt); +// clr = new Clear(cache); } @@ -88,12 +88,12 @@ public class JU_Clear { public void testExec() throws APIException, LocatorException, CadiException, URISyntaxException { Item value = mock(Item.class); when(loc.best()).thenReturn(value); - URI uri = new URI("http://java.sun.com/j2se/1.3/"); + URI uri = new URI("http://www.oracle.com/technetwork/java/index.html"); when(loc.get(value)).thenReturn(uri); when(loc.first()).thenReturn(value); SecuritySetter secSet = mock(SecuritySetter.class); - HRcli hcli = new HRcli(hman, uri, value, secSet); - String[] strArr = {"grant","ungrant","setTo","grant","ungrant","setTo"}; +// HRcli hcli = new HRcli(hman, uri, value, secSet); +// String[] strArr = {"grant","ungrant","setTo","grant","ungrant","setTo"}; //clr._exec(0, strArr); } @@ -103,6 +103,6 @@ public class JU_Clear { Define define = new Define(); define.set(prop); StringBuilder sb = new StringBuilder(); - clr.detailedHelp(0, sb); +// clr.detailedHelp(0, sb); } }