예제 #1
0
 public static void DisposeAfterTest(this TestContext context, IDisposable obj)
 {
     TestDisposables.For(context.Test.ID).Add(obj);
 }
예제 #2
0
 public void BeforeTest(ITest test) => TestDisposables.Begin(test.Id);
예제 #3
0
 public void AfterTest(ITest test) => TestDisposables.End(test.Id);