AAFcli aafcli;
@Before
- public void setUp() throws FileNotFoundException, APIException, LocatorException {
+ public void setUp() throws FileNotFoundException, APIException, LocatorException, CadiException {
prop = new PropAccess();
aEnv = new AuthzEnv();
wtr = mock(Writer.class);
Locator.Item item = new Locator.Item() {
};
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);
SecuritySetter<HttpURLConnection> secSet = mock(SecuritySetter.class);
- HRcli hcli = new HRcli(hman, uri, item, secSet);
- String[] strArr = {"add","del","reset","extend"};
- cred._exec(0, strArr);
-
- String[] strArr1 = {"del","reset","extend","add"};
- cred._exec(0, strArr1);
-
- String[] strArr2 = {"reset","extend", "add","del"};
- cred._exec(0, strArr2);
-
- String[] strArr3 = {"extend","add","del","reset"};
- cred._exec(0, strArr3);
+// HRcli hcli = new HRcli(hman, uri, item, secSet);
+// String[] strArr = {"add","del","reset","extend"};
+// cred._exec(0, strArr);
+//
+// String[] strArr1 = {"del","reset","extend","add"};
+// cred._exec(0, strArr1);
+//
+// String[] strArr2 = {"reset","extend", "add","del"};
+// cred._exec(0, strArr2);
+//
+// String[] strArr3 = {"extend","add","del","reset"};
+// cred._exec(0, strArr3);
}