public void TestRunNoArguments() { InstallerEditorExeUtils.RunOptions options = new InstallerEditorExeUtils.RunOptions(); InstallerEditorExeUtils.RunResult r = InstallerEditorExeUtils.Run(options); Assert.AreEqual("Installer Editor", r.WindowTitle); Assert.AreEqual(0, r.ExitCode); }
public void TestRunHelp() { InstallerEditorExeUtils.RunOptions options = new InstallerEditorExeUtils.RunOptions(); options.args = "/?"; InstallerEditorExeUtils.RunResult r = InstallerEditorExeUtils.Run(options); Assert.AreEqual("Installer Editor Help", r.WindowTitle); Assert.AreEqual(2, r.ExitCode); }