run an individual verifier test of a declated cmr field of the class
boolean oneFailed = false;
ComponentNameConstructor compName = getVerifierContext().getComponentNameConstructor();
CMRFieldInfo info = rrd.getCMRFieldInfo();
if (info == null) {
addErrorDetails(result, compName);
result.addErrorDetails(smh.getLocalString
("com.sun.enterprise.tools.verifier.tests.ejb.entity.cmp2.CMPTest.isAccessorDeclared.failed1",
"Error : no CMR Field declared ",
new Object[] {}));
return false;
}
oneFailed = isAccessorDeclared(info.name, info.type, c, result);
if (oneFailed == false) {
// do nothing, appropriate message has been added in
// isAccessorDeclared().
}else {
result.addGoodDetails(smh.getLocalString
("tests.componentNameConstructor",
"For [ {0} ]",
new Object[] {compName.toString()}));
result.addGoodDetails(smh.getLocalString
("com.sun.enterprise.tools.verifier.tests.ejb.entity.cmp2.CMPTest.isAccessorDeclared.passed",
"CMR Field is properly declared ",
new Object[] {}));
}
return oneFailed;