Example #1
0
        void ITestVisitor.RunStep(IStep step)
        {
            if (isLatched)
            {
                return;
            }

            if (currentFixture.HasGrammar(step.GrammarKey))
            {
                GrammarStructure grammar = currentFixture.GrammarFor(step.GrammarKey);
                grammar.AcceptVisitor(this, step);
            }
            else
            {
                _stream.InvalidGrammar(step.GrammarKey, step);
            }
        }