示例#1
0
 /* Added by Rick */
 protected Fixture getLinkedFixtureWithArgs(Parse tables) throws Throwable {
   Parse header = tables.at(0, 0, 0);
   Fixture fixture = loadFixture(header.text());
   fixture.counts = counts;
   fixture.summary = summary;
   fixture.getArgsForTable(tables);
   return fixture;
 }
示例#2
0
 /* Added by Rick to allow a dispatch into DoFixture */
 protected void interpretTables(Parse tables) {
   try { // Don't create the first fixture again, because creation may do something important.
     getArgsForTable(tables); // get them again for the new fixture object
     doTable(tables);
   } catch (Exception ex) {
     exception(tables.at(0, 0, 0), ex);
     listener.tableFinished(tables);
     return;
   }
   interpretFollowingTables(tables);
 }