Exemplo n.º 1
0
 private void RunFormTest(Func <FormPull, Task> testDriverAsync, string remoteBranch, string remote, AppSettings.PullAction pullAction)
 {
     UITest.RunForm(
         () =>
     {
         // False because we haven't performed any actions
         Assert.False(_commands.StartPullDialog(owner: null, remoteBranch: remoteBranch, remote: remote, pullAction: pullAction));
     },
         testDriverAsync);
 }
Exemplo n.º 2
0
 private void Pull_Click(object sender, EventArgs e)
 {
     var submodule = Module.GetSubmodule(SubModuleLocalPath.Text);
     if (submodule == null)
         return;
     GitUICommands uiCommands = new GitUICommands(submodule);
     uiCommands.StartPullDialog(this);
     UseWaitCursor = true;
     Initialize();
     UseWaitCursor = false;
 }
Exemplo n.º 3
0
 private void Pull_Click(object sender, EventArgs e)
 {
     var submodule = Module.GetSubmodule(SubModuleLocalPath.Text);
     if (submodule == null)
         return;
     GitUICommands uiCommands = new GitUICommands(submodule);
     uiCommands.StartPullDialog(this);
     UseWaitCursor = true;
     Initialize();
     UseWaitCursor = false;
 }