protected MappingToXmlTesterBase(ISimpleLogger logger, ILogAsserter logAsserter) { this.Logger = logger; this.LogAssert = logAsserter; this.xmlTester = new XmlTester(logAsserter); this.xmlTester.ActualXmlChangedEvent += this.XmlTester_ActualXmlChangedEvent; this.xmlTester.ExpectedXmlChangedEvent += this.XmlTester_ExpectedXmlChangedEvent; }
public TextTester(ISimpleLogger logger, ILogAsserter logAsserter, ITextDifferenceFormatter differenceFormatter) { this.logger = logger ?? throw new ArgumentNullException(nameof(logger)); this.logAssert = logAsserter ?? throw new ArgumentNullException(nameof(logAsserter)); this.differenceFormatter = differenceFormatter ?? throw new ArgumentNullException(nameof(differenceFormatter)); this.actualText = string.Empty; this.expectedText = string.Empty; }
protected MappingToFlatFileTesterBase(ISimpleLogger logger, ILogAsserter logAsserter) { this.Logger = logger; this.LogAssert = logAsserter; this.textTester = new TextTester(logAsserter); this.textTester.ActualTextChangedEvent += this.TextTester_ActualTextChangedEvent !; this.textTester.ExpectedTextChangedEvent += this.TextTester_ExpectedTextChangedEvent !; this.textTester.TextDifferenceDetectedEvent += this.TextTester_TextDifferenceDetectedEvent !; }
/// <summary> /// Initializes a new instance of the <see cref="MoqTestFixture" /> class. /// </summary> /// <param name="logAssert">The log asserter.</param> protected MoqTestFixture(ILogAsserter logAssert) : this(MockBehavior.Loose, new SimpleConsoleLogger(), logAssert) { }
public XmlTester(ISimpleLogger logger, ILogAsserter logAsserter, IComparisonFormatter comparisonFormatter) { this.logger = logger ?? throw new ArgumentNullException(nameof(logger)); this.logAssert = logAsserter ?? throw new ArgumentNullException(nameof(logAsserter)); this.comparisonFormatter = comparisonFormatter ?? throw new ArgumentNullException(nameof(comparisonFormatter)); }
protected MappingToFlatFileTesterBase(ILogAsserter logAsserter) : this(new SimpleConsoleLogger(), logAsserter) { }
public XmlTester(ISimpleLogger logger, ILogAsserter logAsserter) : this(logger, logAsserter, new DefaultComparisonFormatter()) { }
public XmlTester(ILogAsserter logAsserter, IComparisonFormatter comparisonFormatter) : this(new SimpleConsoleLogger(), logAsserter, comparisonFormatter) { }
public MappingFromXmlToXmlTester(ILogAsserter logAsserter) : base(logAsserter) { }
public XmlTester(ILogAsserter logAsserter) : this(new SimpleConsoleLogger(), logAsserter) { }
public BizTalkXmlToFlatFileMapTester(ILogAsserter logAsserter) : base(logAsserter) { }
/// <summary> /// Initializes a new instance of the <see cref="TestEasy" /> class. /// </summary> /// <param name="logAssert">The log asserter.</param> protected TestEasy(ILogAsserter logAssert) : this(new SimpleConsoleLogger(), logAssert) { }
public TextTester(ILogAsserter logAsserter, ITextDifferenceFormatter differenceFormatter) : this(new SimpleConsoleLogger(), logAsserter, differenceFormatter) { }
public MappingFromFlatFileToFlatFileTester(ILogAsserter logAsserter) : base(logAsserter) { }
public TextTester(ISimpleLogger logger, ILogAsserter logAsserter) : this(logger, logAsserter, new DefaultTextDifferenceFormatter()) { }
public XmlAsserter(ISimpleLogger logger, ILogAsserter logAsserter) { this.logger = logger; this.logAssert = logAsserter; }
public MappingFromXmlToXmlTester(ISimpleLogger logger, ILogAsserter logAsserter) : base(logger, logAsserter) { }
public BizTalkXmlToXmlMapTester(ISimpleLogger logger, ILogAsserter logAsserter) : base(logger, logAsserter) { this.logger = logger; this.logAssert = logAsserter; }
public BizTalkXmlToXmlMapTester(ILogAsserter logAsserter) : this(new SimpleConsoleLogger(), logAsserter) { }
public MappingFromFlatFileToFlatFileTester(ISimpleLogger logger, ILogAsserter logAsserter) : base(logger, logAsserter) { }
/// <summary> /// Initializes a new instance of the <see cref="MoqTestFixture" /> class. /// </summary> /// <param name="logger">The simple logger to use.</param> /// <param name="logAssert">The log asserter.</param> protected MoqTestFixture(ISimpleLogger logger, ILogAsserter logAssert) : this(MockBehavior.Loose, logger, logAssert) { }
public BizTalkXmlToFlatFileMapTester(ISimpleLogger logger, ILogAsserter logAsserter) : base(logger, logAsserter) { }
/// <summary> /// Initializes a new instance of the <see cref="MoqTestFixture" /> class. /// </summary> /// <param name="mockBehaviour">The type of mock behavior.</param> /// <param name="logger">The simple logger to use.</param> /// <param name="logAssert">The log asserter.</param> protected MoqTestFixture(MockBehavior mockBehaviour, ISimpleLogger logger, ILogAsserter logAssert) : base(logger, logAssert) { this.MyMockRepository = new MockRepository(mockBehaviour); }
protected TestEasy(ISimpleLogger logger, ILogAsserter logAssert) { this.logger = logger; this.logAssert = logAssert; this.ExpectedException = new ExpectedExceptionDescriptor(logger); }
public BizTalkFlatFileToXmlMapTester(ILogAsserter logAsserter) : base(logAsserter) { }