public AcceptVisitor ( ILineStepGatherer gatherer ) : void | ||
gatherer | ILineStepGatherer | |
리턴 | void |
public static void RunAll(SpecContext context, SpecificationPlan plan) { var gatherer = new LineStepGatherer(context); plan.AcceptVisitor(gatherer); foreach (var line in gatherer.Lines) { if (!context.CanContinue()) break; line.Execute(context); } }
public StepthroughExecutor(SpecContext context, SpecificationPlan plan, IUserInterfaceObserver observer) { _observer = observer; _context = context; plan.AcceptVisitor(this); }