public String[] getTestMethodNames() {
return new String[]{"contents_flows_to","contents_flows_from"};
}
public void contents_flows_to() {
XAccessibleRelationSet set = getAccessibleRelation(para1);
boolean res = true;
short firstrelation=-1;
XAccessibleText atarget=null;
if (set != null) {
log.println("Count of relations "+set.getRelationCount());
assure("didn't gain correct count of relations",
set.getRelationCount() == 1);
try {
firstrelation = set.getRelation(0).RelationType;
Object oTmp = set.getRelation(0).TargetSet[0];
atarget = (XAccessibleText) UnoRuntime.queryInterface(XAccessibleText.class, oTmp);
} catch (IndexOutOfBoundsException e) {
log.println("Exception when getting relations "+e);
res = false;
}