public ChoiceOptionEnabledWhenNodeParserTest() { elementParser = A.Fake <IElementParser>(i => i.Strict()); balloonTextParser = A.Dummy <IBalloonTextParser>(); conditionParser = A.Fake <IConditionParser>(i => i.Strict()); sut = new(elementParser, balloonTextParser, conditionParser); }
public ChoiceOptionDisabledTextNodeParser( IElementParser elementParser, IBalloonTextParser balloonTextParser ) { this.elementParser = elementParser; Settings = ElementParserSettings.Normal(balloonTextParser); }
public ChoiceOptionNodeParserTests() { elementParser = A.Fake <IElementParser>(i => i.Strict()); whenAttributeParser = A.Dummy <IWhenAttributeParser>(); balloonTextParser = A.Dummy <IBalloonTextParser>(); choiceOptionTextNodeParser = Helper.FakeParser <IChoiceOptionTextNodeParser>("a"); choiceOptionEnabledWhenNodeParser = Helper.FakeParser <IChoiceOptionEnabledWhenNodeParser>("enabledwhen"); choiceOptionDisabledTextNodeParser = Helper.FakeParser <IChoiceOptionDisabledTextNodeParser>("disabledtext"); choiceOptionIconNodeParser = Helper.FakeParser <IChoiceOptionIconNodeParser>("icon"); sut = new( elementParser, whenAttributeParser, balloonTextParser, choiceOptionTextNodeParser, choiceOptionEnabledWhenNodeParser, choiceOptionDisabledTextNodeParser, choiceOptionIconNodeParser ); }
public ChoiceOptionNodeParser( IElementParser elementParser, IWhenAttributeParser whenAttributeParser, IBalloonTextParser balloonTextParser, IChoiceOptionTextNodeParser choiceOptionTextNodeParser, IChoiceOptionEnabledWhenNodeParser choiceOptionEnabledWhenNodeParser, IChoiceOptionDisabledTextNodeParser choiceOptionDisabledTextNodeParser, IChoiceOptionIconNodeParser choiceOptionIconNodeParser ) { this.elementParser = elementParser; Settings = ElementParserSettings.NonRepeat( whenAttributeParser, balloonTextParser, choiceOptionTextNodeParser, choiceOptionEnabledWhenNodeParser, choiceOptionDisabledTextNodeParser, choiceOptionIconNodeParser ); }
public NarrationTextNodeParser(IElementParser elementParser, IBalloonTextParser balloonTextParser) : base(elementParser, balloonTextParser) { }
public ChoiceOptionDisabledTextNodeParserTest() { elementParser = A.Fake <IElementParser>(i => i.Strict()); balloonTextParser = A.Dummy <IBalloonTextParser>(); sut = new(elementParser, balloonTextParser); }
public TutorialTextNodeParser(IElementParser elementParser, IBalloonTextParser balloonTextParser) : base(elementParser, balloonTextParser) { }
public SpeechTextNodeParser(IElementParser elementParser, IBalloonTextParser balloonTextParser) : base(elementParser, balloonTextParser) { }
public ThoughtTextNodeParser(IElementParser elementParser, IBalloonTextParser balloonTextParser) : base(elementParser, balloonTextParser) { }
public ChoiceOptionEnabledWhenNodeParser(IElementParser elementParser, IBalloonTextParser textParser, IConditionParser conditionParser) { this.elementParser = elementParser; this.conditionParser = conditionParser; Settings = ElementParserSettings.Normal(textParser); }