static void GUITest_BadCommand() { if (VersionControl.versionControlType == VersionControlType.Git) { UVCProcessPopup.Init(Git.RunGit("notarealcommand", CommandLine.EmptyHandler), false, true, null, false); } else { UVCProcessPopup.Init(Hg.RunHg("notarealcommand", CommandLine.EmptyHandler), false, true, null, false); } }
static void CoreTest_BadCommand() { if (VersionControl.versionControlType == VersionControlType.Git) { Git.RunGit("notarealcommand", OnProcessExit); } else { Hg.RunHg("notarealcommand", OnProcessExit); } }