Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
DWHServerService dss = new DWHServerService();
DWHServer ds = dss.getDWHServerPortCustom();
 
System.out.println("\n=======================================getValidKFSSubAccounts()================================");

List<SubAccountDetails> resultList26 = myBean.getValidKFSSubAccounts(new String[][]{{"IR","1001783","EXP01"}, {"IR","1001783","EXP02"}, {"IR","1001783","XXXX"}});
if (resultList26 != null) {
	for (Iterator i = resultList26.iterator(); i.hasNext();) {
		SubAccountDetails element = (SubAccountDetails)i.next();
		System.out.println("SERVER UNIT TEST-Result List26: " + element.toString());
	}
} else {
	System.out.println("something bad happened...please check your query");
}

...

Code Block
DWHServerService dss = new DWHServerService();
DWHServer ds = dss.getDWHServerPortCustom();
 
System.out.println("\n=======================================getAllKFSSubAccounts()================================");
List<SubAccountDetails> resultList27 = myBean.getAllKFSSubAccounts();
if (resultList27 != null) {
	//for (Iterator i = resultList27.iterator(); i.hasNext();) {
	//	SubObjectDetails element = (SubAccountDetails)i.next();
	//	System.out.println("SERVER UNIT TEST-Result List27: " + element.toString());
	//}
	System.out.println("SERVER UNIT TEST-getAllKFSAccounts() total size: " + resultList27.size());
	System.out.println("SERVER UNIT TEST-getAllKFSAccounts() 1st element: " + resultList27.get(0).toString());
} else {
	System.out.println("something bad happened...please check your query");
}