Ejemplo n.º 1
0
        public void FormatConfigCommand()
        {
            string input    = Path.Combine("test", "path", "with spaces", "test.exe");
            string expected = ". \"" + Path.Combine("test", "path", "with spaces", "config.ps1") + "\"";

            Assert.AreEqual(expected, FullHost.FormatConfigCommand(input));
        }
Ejemplo n.º 2
0
 private void CreateFreshHostAndUI(bool interactive)
 {
     HostUI   = new TestHostUserInterface();
     FullHost = new FullHost(interactive);
     FullHost.LocalHost.SetHostUserInterface(HostUI);
 }