public NUnit3TestGeneratorProvider(CodeDomHelper codeDomHelper) : base(codeDomHelper) { }
public SeleniumNUnitTestGeneratorProvider(CodeDomHelper codeDomHelper) { this.codeDomHelper = codeDomHelper; }
public MsTestGeneratorProvider(CodeDomHelper codeDomHelper) { CodeDomHelper = codeDomHelper; }
public MsTest2010GeneratorProvider(CodeDomHelper codeDomHelper) : base(codeDomHelper) { }
public NUnitTestGeneratorProvider(CodeDomHelper codeDomHelper, IStepTextAnalyzer stepTextAnalyzer) { m_stepTextAnalyzer = stepTextAnalyzer; CodeDomHelper = codeDomHelper; }
public XUnit2TestGeneratorProvider(CodeDomHelper codeDomHelper) : base(codeDomHelper) { CodeDomHelper = codeDomHelper; }
public MsTestSilverlightGeneratorProvider(CodeDomHelper codeDomHelper) : base(codeDomHelper) { }
protected override string GetGeneratedCodeForFailure(string errorMessage) { CodeDomHelper codeDomHelper = new CodeDomHelper(GetCodeProvider()); string[] messageLines = errorMessage.Split(new[] {'\r', '\n'}, StringSplitOptions.RemoveEmptyEntries); var codeLines = messageLines.Select(codeDomHelper.GetErrorStatementString).ToArray(); return string.Join(Environment.NewLine, codeLines); }