Exemplo n.º 1
0
        /// <summary>
        /// Disposes the test run by deleting the temporary shadow-copy directories that were created.
        /// </summary>
        public void Dispose()
        {
            _assemblyContext.Dispose();

            foreach (var directory in _temporaryDirectories)
            {
                //TODO: Delete temporary directory once assembly is unloaded.
                //Directory.Delete(directory, true);
            }
        }
Exemplo n.º 2
0
 public void Dispose()
 {
     asm.Dispose();
 }
Exemplo n.º 3
0
 /// <summary>
 /// Unloads the <see cref="AppDomain"/> containing the tests.
 /// </summary>
 public void Dispose()
 {
     _assemblyContext.Dispose();
 }