//ncrunch: no coverage start
 protected ApproveFirstFrameScreenshot()
 {
     if (!StackTraceExtensions.IsStartedFromNCrunch() && StackTraceExtensions.IsUnitTest() &&
         ExcludeSharpDXAsScreenshotsCanOnlyBeMadeDelayed())
     {
         CheckApprovalImageAfterFirstFrame();
     }
 }
Example #2
0
 public void IsUnitTest()
 {
     Assert.IsTrue(StackTraceExtensions.IsUnitTest());
 }