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