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(); }
public void runDataToFixture(Fixture fixture, Parse table) { if (mSource != null) { mSource.addDataTo(table); } else { run( mSourceFactory.createDataToSource( fixture, table, mRunTime.getGlobalScope(), mLogFilePath, mPublisher, mReference)); } }