Exemple #1
0
 public void SingleThreadWithoutRateLimiting()
 {
     Assert.DoesNotThrow(() => { _backtraceClient.ChangeRateLimiting(0); });
     Assert.DoesNotThrow(() => { _backtraceClient.Send($"{DateTime.Now}: Library Initialized for single thread integration test w/o rate limiting"); });
     Assert.DoesNotThrow(() =>
     {
         try
         {
             ExceptionMethod();
         }
         catch (DivideByZeroException ex)
         {
             Assert.DoesNotThrow(() => { _backtraceClient.Send(ex); });
         }
     });
     Assert.DoesNotThrow(() => { _backtraceClient.Send($"{DateTime.Now}: Single thread integration test w/o rate limiting completed successfully."); });
 }