log.println("Can't be used with " + obj);
tRes.tested("setSize()", true);
return;
}
// get the current thread's holder
sNew = new Size(sOld.Width + 10,sOld.Height + 10) ;
//set new size
log.println("change the size");
try {
oObj.setSize(sNew);
} catch (com.sun.star.beans.PropertyVetoException e) {
log.println("Exception while calling the method :" + e);
result = true ;
}
Size gSize = oObj.getSize() ;
log.println("Previously: "+sOld.Height+";"+sOld.Width);
log.println("Expected: "+sNew.Height+";"+sNew.Width);
log.println("Getting: "+gSize.Height+";"+gSize.Width);