public override void SetUp() { base.SetUp(); _logger = new VsTestFrameworkLogger(MockVsLogger.Object, () => MockOptions.Object.OutputMode, () => MockOptions.Object.TimestampMode, () => MockOptions.Object.SeverityMode, () => MockOptions.Object.PrefixOutputWithGta); }
public override void SetUp() { base.SetUp(); _logger = new VsTestFrameworkLogger(MockVsLogger.Object, MockOptions.Object); }
public override void SetUp() { base.SetUp(); Logger = new VsTestFrameworkLogger(MockVsLogger.Object); }
internal static TestEnvironment CreateTestEnvironment(IRunSettings runSettings, IMessageLogger messageLogger) { var settingsProvider = runSettings.GetSettings(GoogleTestConstants.SettingsName) as RunSettingsProvider; RunSettings ourRunSettings = settingsProvider != null ? settingsProvider.Settings : new RunSettings(); var settingsWrapper = new SettingsWrapper(ourRunSettings); var loggerAdapter = new VsTestFrameworkLogger(messageLogger, settingsWrapper); TestEnvironment testEnvironment = new TestEnvironment(settingsWrapper, loggerAdapter); settingsWrapper.RegexTraitParser = new RegexTraitParser(testEnvironment); return testEnvironment; }
public override void SetUp() { base.SetUp(); _logger = new VsTestFrameworkLogger(MockVsLogger.Object, () => MockOptions.Object.DebugMode, () => MockOptions.Object.TimestampOutput); }