public TestClass( IElementParser elementParser, ITextSourceParser textSourceParser, IBalloonTextNodeParser balloonTextNodeParser, IChoiceNodeParser choiceNodeParser ) : base(elementParser, textSourceParser, balloonTextNodeParser, choiceNodeParser) { }
public ThoughtChildNodeParser( IElementParser elementParser, ITextSourceParser textSourceParser, IThoughtTextNodeParser thoughtTextNodeParser, IChoiceNodeParser choiceNodeParser ) : base(elementParser, textSourceParser, thoughtTextNodeParser, choiceNodeParser) { }
public TutorialChildNodeParser( IElementParser elementParser, ITextSourceParser textSourceParser, ITutorialTextNodeParser tutorialTextNodeParser, IChoiceNodeParser choiceNodeParser ) : base(elementParser, textSourceParser, tutorialTextNodeParser, choiceNodeParser) { }
public SpeechChildNodeParser( IElementParser elementParser, ITextSourceParser textSourceParser, ISpeechTextNodeParser speechTextNodeParser, IChoiceNodeParser choiceNodeParser ) : base(elementParser, textSourceParser, speechTextNodeParser, choiceNodeParser) { }
public NarrationChildNodeParser( IElementParser elementParser, ITextSourceParser textSourceParser, INarrationTextNodeParser narrationTextNodeParser, IChoiceNodeParser choiceNodeParser ) : base(elementParser, textSourceParser, narrationTextNodeParser, choiceNodeParser) { }
public BalloonChildNodeParserBase( IElementParser elementParser, ITextSourceParser textSourceParser, IBalloonTextNodeParser balloonTextNodeParser, IChoiceNodeParser choiceNodeParser ) { this.elementParser = elementParser; this.textSourceParser = textSourceParser; this.childParser = balloonTextNodeParser; Settings = ElementParserSettings.AggregatedNonRepeat(balloonTextNodeParser); AggregationSettings = ElementParserSettings.AggregatedNonRepeat(choiceNodeParser); }
public BalloonChildNodeParserBaseTests() { textSource = A.Dummy <ITextSource>(); var textSourceParserResult = A.Fake <ITextSourceParserResult>(i => i.Strict()); A.CallTo(() => textSourceParserResult.IsError).Returns(false); A.CallTo(() => textSourceParserResult.TextSource).Returns(textSource); textSourceParser = A.Fake <ITextSourceParser>(i => i.Strict()); A.CallTo(() => textSourceParser.Parse(A <string> .Ignored)).Returns(textSourceParserResult); elementParser = A.Fake <IElementParser>(i => i.Strict()); balloonTextNodeParser = Helper.FakeParser <IBalloonTextNodeParser>("xyz"); A.CallTo(() => balloonTextNodeParser.BalloonType).Returns(balloonType); choiceNodeParser = Helper.FakeParser <IChoiceNodeParser>("choice"); sut = new (elementParser, textSourceParser, balloonTextNodeParser, choiceNodeParser); }