From 1c09c3f738fbaf985eb83da7e8417baef16933dd Mon Sep 17 00:00:00 2001 From: Andrew Schwartzmeyer Date: Tue, 15 Dec 2015 14:21:33 -0800 Subject: [PATCH] Remove GenerateTypeCatalog from RunspaceTests This was Garrett's workaround that we no longer use. --- .../test_Runspace.cs | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/src/Microsoft.PowerShell.Linux.UnitTests/test_Runspace.cs b/src/Microsoft.PowerShell.Linux.UnitTests/test_Runspace.cs index c9f793ff2..70335af0f 100644 --- a/src/Microsoft.PowerShell.Linux.UnitTests/test_Runspace.cs +++ b/src/Microsoft.PowerShell.Linux.UnitTests/test_Runspace.cs @@ -8,25 +8,14 @@ namespace PSTests // NOTE: do not call AddCommand("out-host") after invoking or MergeMyResults, // otherwise Invoke will not return any objects - public class RunspaceTests: IDisposable + public class RunspaceTests { private static int count = 3; private static string script = String.Format($"get-process | select-object -first {count}"); - public RunspaceTests() - { - TypeCatalog.GenerateTypeCatalog(); - Assert.NotNull(System.Management.Automation.ClrHost.TypeCatalog); - } - - public void Dispose() - { - } - [Fact] public void TestRunspaceWithPipeline() { - Assert.NotNull(System.Management.Automation.ClrHost.TypeCatalog); using (Runspace runspace = RunspaceFactory.CreateRunspace()) { runspace.Open();