public void TestInitialize() { Stopwatch = Stopwatch.StartNew(); Logger = new MsTestLogger(TestContext); // Note: Events take long and increase run time of the test suite, so only using trace. Logger.Trace($"Starting test - {TestContext.TestName}", SeverityLevel.Information); _listener = new ConsoleEventListener(); }
public TestTokenRefresher( string deviceId, string key, int suggestedTimeToLive, int timeBufferPercentage, Client.TransportType transport, MsTestLogger logger) : base(deviceId, suggestedTimeToLive, timeBufferPercentage) { _key = key; _transport = transport; _logger = logger; }
public TestTokenRefresher(string deviceId, string key, MsTestLogger logger) : base(deviceId) { _key = key; _logger = logger; }