improved JUnit test
This commit is contained in:
parent
ed482f9675
commit
3ec5bf03c5
|
@ -171,14 +171,18 @@ public class WorkspaceInstance {
|
||||||
System.out.println("Getting getSharedFolderMembers");
|
System.out.println("Getting getSharedFolderMembers");
|
||||||
try {
|
try {
|
||||||
|
|
||||||
String sharedFolderId = "7e3c6636-927c-4139-9fcc-64986ea70cbf"; //devNext
|
String sharedFolderId = "7e3c6636-927c-4139-9fcc-64986ea70cbf"; // devNext
|
||||||
sharedFolderId = "c141d53d-4cae-4bfc-a6f7-9b8bbd8c0e2b"; //NextNext
|
sharedFolderId = "c141d53d-4cae-4bfc-a6f7-9b8bbd8c0e2b"; //NextNext
|
||||||
SCOPE = "/gcube";
|
SCOPE = "/gcube";
|
||||||
TOKEN = "";
|
TOKEN = "";
|
||||||
storageHubWrapper = new StorageHubWrapper(SCOPE, TOKEN);
|
storageHubWrapper = new StorageHubWrapper(SCOPE, TOKEN);
|
||||||
List<Member> listMembers = storageHubWrapper.getWorkspace().getSharedFolderMembers(sharedFolderId);
|
List<Member> listMembers = storageHubWrapper.getWorkspace().getSharedFolderMembers(sharedFolderId);
|
||||||
|
|
||||||
System.out.println("List: " + listMembers);
|
System.out.println("Foud " + listMembers.size() + " member/s");
|
||||||
|
|
||||||
|
for (Member member : listMembers) {
|
||||||
|
System.out.println(member);
|
||||||
|
}
|
||||||
|
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
|
|
Loading…
Reference in New Issue