public NUnit3TestGeneratorProvider(CodeDomHelper codeDomHelper)
     : base(codeDomHelper)
 {
 }
 public SeleniumNUnitTestGeneratorProvider(CodeDomHelper codeDomHelper)
 {
     this.codeDomHelper = codeDomHelper;
 }
Exemplo n.º 3
0
 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)
 {
 }
Exemplo n.º 8
0
        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);
        }