protected override void OnTestCleanup() { Kernel32Methods.ResetDllDirectory(); Monitor.Exit(this.mutex); GC.Collect(2, GCCollectionMode.Forced, true); GC.WaitForPendingFinalizers(); }
public void Kernel32_SetDllDirectory() { this.SkipTestOnLinux(); Kernel32Methods.ResetDllDirectory(); Kernel32Methods.SetDllDirectory("test"); Kernel32Methods.ResetDllDirectory(); }