try{
Set keySet = finders.keySet();
Iterator it = keySet.iterator();
while (it.hasNext()){
Object obj = it.next();
IASEjbCMPFinder finder = (IASEjbCMPFinder)finders.get(obj);
//method-name
String methodName = finder.getMethodName();
if(methodName.length()==0){
oneFailed = true;
result.failed(smh.getLocalString(getClass().getName()+".failed2",
"FAILED [AS-EJB finder] : method-name cannot be an empty string."));
}else{
result.passed(smh.getLocalString(getClass().getName()+".passed2",
"PASSED [AS-EJB finder] : method-name is {0}",
new Object[]{methodName}));
}
//query-params
String value = finder.getQueryParameterDeclaration();
testQuery(value,result,"finder","query-params");
//query-filter
value = finder.getQueryFilter();
testQuery(value,result,"finder","query-filter");
//query-variables
value = finder.getQueryVariables();
testQuery(value,result,"finder","query-variables");
//query-ordering
value = finder.getQueryOrdering();
testQuery(value,result,"finder","query-ordering");
}
}catch(Exception ex){
oneFailed = true;
result.failed(smh.getLocalString(getClass().getName()+".notRun",