コード例 #1
0
 public void runInstructionFixture(Fixture fixture, Parse table) {
   mSource =
       mSourceFactory.createInstructionSource(
           fixture, table, mRunTime.getGlobalScope(), mLogFilePath, mPublisher, mReference);
   mFitNesseReporter.setSource(mSource);
   mRunTime.invokeSource(mSource);
   addProcedure(mSource.getProcedure());
   if (mSource.addScenario(table)) {
     mSource = null;
   }
   run();
 }
コード例 #2
0
 public void runDataToFixture(Fixture fixture, Parse table) {
   if (mSource != null) {
     mSource.addDataTo(table);
   } else {
     run(
         mSourceFactory.createDataToSource(
             fixture, table, mRunTime.getGlobalScope(), mLogFilePath, mPublisher, mReference));
   }
 }