Exemplo n.º 1
0
        protected override void OnTestCleanup()
        {
            Kernel32Methods.ResetDllDirectory();
            Monitor.Exit(this.mutex);

            GC.Collect(2, GCCollectionMode.Forced, true);
            GC.WaitForPendingFinalizers();
        }
Exemplo n.º 2
0
        public void Kernel32_SetDllDirectory()
        {
            this.SkipTestOnLinux();

            Kernel32Methods.ResetDllDirectory();

            Kernel32Methods.SetDllDirectory("test");

            Kernel32Methods.ResetDllDirectory();
        }