コード例 #1
0
 public void Dispose()
 {
     GC.Collect();
     GC.WaitForPendingFinalizers();
     //long deallocations = FdoAllocationTracker.Deallocations;
     //System.Diagnostics.Debug.WriteLine("{0} objects cleaned up during this test run", deallocations);
     FdoMemCheck.DumpMemoryLeakResults();
 }
コード例 #2
0
 public TestBootstrap()
 {
     FdoMemCheck.EnableMemoryLeakChecking();
 }