Пример #1
0
 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);
 }
Пример #2
0
 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);
 }