Пример #1
0
 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);
     }
 }
Пример #2
0
 static void CoreTest_BadCommand()
 {
     if (VersionControl.versionControlType == VersionControlType.Git)
     {
         Git.RunGit("notarealcommand", OnProcessExit);
     }
     else
     {
         Hg.RunHg("notarealcommand", OnProcessExit);
     }
 }