4748495051525354555657
XValidatable xValidatable = (XValidatable) UnoRuntime.queryInterface( XValidatable.class, tEnv.getTestObject()); log.println("adding Validator"); XValidator xValidator = new MyValidator(); xValidatable.setValidator(xValidator); ValidatorCalled = false; log.println("calling validityConstraintChanged()"); oObj.validityConstraintChanged(
394041424344454647
public XValidatable oObj; public void _getValidator() { requiredMethod("setValidator()"); XValidator xValidator = oObj.getValidator(); boolean res = xValidator.isValid(Boolean.FALSE); tRes.tested("getValidator()", res); }
505152535455565758596061
boolean res = false; try { oObj.setValidator(new MyValidator()); XValidator xValidator = oObj.getValidator(); String getting = xValidator.explainInvalid(null); res = getting.equals("explainInvalid"); if (!res) { log.println("\tExpected: explainInvalid"); log.println("\tGetting: " + getting);
4041424344454647484950
323334353637383940
434445464748495051525354
4445464748495051525354
363738394041424344
474849505152535455565758
555657585960616263646566