}
public void testMultipleJoins() throws IOException, FileNotFoundException {
for (Iterator iter = report.subreports(); iter.hasNext(); ) {
Subreport s = (Subreport)iter.next();
s.addJoin(new Join(report.findColumn("office.name"), "=",
report.findColumn("office.name")));
}
// Run report in this thread, not a separate one. Running the
// report closes the output stream.