This is so we can pass ITestOutputHelper to TestCommand constructor when calling from SharedHomeDirectory.
Inheritance: ITestOutputHelper
Exemplo n.º 1
0
 public TestLoggerFactory(IMessageSink?messageSink = null)
 {
     if (messageSink != null)
     {
         SharedTestOutputHelper testOutputHelper = new SharedTestOutputHelper(messageSink);
         _loggerProviders =
             new List <ILoggerProvider>()
         {
             new XunitLoggerProvider(testOutputHelper)
         };
     }
 }
 public EnvironmentSettingsHelper(IMessageSink messageSink)
 {
     _testOutputHelper = new SharedTestOutputHelper(messageSink);
 }