Exemple #1
0
 internal void InitializeSafe(TestContext context)
 {
     using (context.ApplyingContext()) {
         try {
             Initialize(context);
         } catch (Exception ex) {
             _initializeError = ex;
         }
     }
 }
Exemple #2
0
 internal void BeforeExecutingSafe(TestContext context)
 {
     using (context.ApplyingContext()) {
         BeforeExecuting(context);
     }
 }