public virtual void visit(SubStep obj, bool visitSubNodes) { visit ((Namable) obj, false); if (visitSubNodes){ IXmlBBase[] Subs = acceptor.subElements((IXmlBBase)obj); if (Subs != null){ for (int i=0; i<Subs.Length; i++) { dispatch(Subs[i], true); } // If } // If } }
public override void visit(SubStep obj, bool visitSubNodes) { obj.setSkipEngine(false); base.visit(obj, visitSubNodes); }
public void insertSubSteps(int idx, SubStep el,Lock aLock) { __setDirty(true); allSubSteps().Insert (idx, el); NotifyControllers(aLock); }
public virtual void visit(SubStep obj) { visit(obj, true); }
public void appendSubSteps(Lock aLock,SubStep el) { __setDirty(true); el.__setDirty(true); allSubSteps().Add(el); acceptor.connectSon (this, el); NotifyControllers(aLock); }
public void copyTo(SubStep other) { base.copyTo(other); other.aActions = aActions; other.aExpectations = aExpectations; other.aSkipEngine = aSkipEngine; other.aTimeDelay = aTimeDelay; other.aTimer = aTimer; other.aComment = aComment; }
/// <summary> /// Setups the sub-step by applying its actions and adding its expects in the expect list /// </summary> public void SetupSubStep(SubStep subStep) { Util.DontNotify(() => { LogInstance = subStep; // No setup can occur when some expectations are still active if (!EventTimeLine.ContainsSubStep(subStep)) { CacheImpact = new CacheImpact(); EventTimeLine.AddModelEvent(new SubStepActivated(subStep, CurrentPriority), this, true); ClearCaches(); } }); }
public void copyTo(SubStep other) { base.copyTo(other); other.aActions = aActions; other.aExpectations = aExpectations; other.aSkipEngine = aSkipEngine; }
/// Constructor /// </summary> /// <param name="step">The activated step</param> public SubStepActivated(SubStep subStep, acceptor.RulePriority? priority) : base(subStep.Name, subStep, priority) { SubStep = subStep; }