public void DeleteTag() { TestClone(gtkSharpUrl); Ide.WaitForSolutionCheckedOut(); OpenRepositoryConfiguration("Tags"); DeleteTag("1.0.10"); CloseRepositoryConfiguration(); }
public void CreateNewBranchTest() { TestClone(gtkSharpUrl); Ide.WaitForSolutionCheckedOut(); OpenRepositoryConfiguration(); CreateNewBranch("new-branch"); CloseRepositoryConfiguration(); }
public void SelectRemoteTest() { TestClone("[email protected]:mono/jurassic.git"); Ide.WaitForSolutionCheckedOut(); OpenRepositoryConfiguration("Remote Sources"); SelectRemote("origin"); CloseRepositoryConfiguration(); }
public void CreateNewBranchTest() { TestClone("[email protected]:mono/jurassic.git"); Ide.WaitForSolutionCheckedOut(); OpenRepositoryConfiguration(); CreateNewBranch("new-branch"); CloseRepositoryConfiguration(); }
public void SelectRemoteTest() { TestClone(gtkSharpUrl); Ide.WaitForSolutionCheckedOut(); OpenRepositoryConfiguration("Remote Sources"); SelectRemote("origin"); CloseRepositoryConfiguration(); }
public void GitEditBranchTest() { TestClone(gtkSharpUrl); Ide.WaitForSolutionCheckedOut(); OpenRepositoryConfiguration(); CreateNewBranch("new-branch"); SelectBranch("new-branch"); EditBranch("new-branch", "new-new-branch"); SwitchToBranch("new-new-branch"); CloseRepositoryConfiguration(); }
public void AddTag() { TestClone(gtkSharpUrl); Ide.WaitForSolutionCheckedOut(); OpenRepositoryConfiguration("Tags"); AddNewTag("bumped", "bumped tag", "build: Bump mono dependency to 3.2.8"); SelectTag("bumped"); TakeScreenShot("New-Tag-Selected"); CloseRepositoryConfiguration(); }
public void AddGitRemoteTest() { TestClone(gtkSharpUrl); Ide.WaitForSolutionCheckedOut(); const string newRemoteName = "second"; const string newRemoteUrl = monoHotdrawUrl; OpenRepositoryConfiguration("Remote Sources"); AddRemote(newRemoteName, newRemoteUrl); SelectRemote(newRemoteName, newRemoteUrl); CloseRepositoryConfiguration(); }
public void AddGitRemoteTest() { TestClone("[email protected]:mono/jurassic.git"); Ide.WaitForSolutionCheckedOut(); const string newRemoteName = "second"; const string newRemoteUrl = "[email protected]:mono/monohotdraw.git"; OpenRepositoryConfiguration("Remote Sources"); AddRemote(newRemoteName, newRemoteUrl); SelectRemote(newRemoteName, newRemoteUrl); CloseRepositoryConfiguration(); }
public void FetchRemoteBranches() { TestClone(gtkSharpUrl); Ide.WaitForSolutionCheckedOut(); const string newRemoteName = "second"; const string newRemoteUrl = "[email protected]:mono/monohotdraw.git"; OpenRepositoryConfiguration("Remote Sources"); AddRemote(newRemoteName, newRemoteUrl); FetchRemoteBranch(newRemoteName); CloseRepositoryConfiguration(); }
public void CheckTagButtonsSensitivity() { TestClone(gtkSharpUrl); Ide.WaitForSolutionCheckedOut(); OpenRepositoryConfiguration("Tags"); TakeScreenShot("Asserting-Push-Delete-Button-Disabled"); AssertTagsButtonSensitivity(false, false); SelectTag("1.0.10"); TakeScreenShot("Asserting-Push-Delete-Button-Enabled"); AssertTagsButtonSensitivity(true, true); CloseRepositoryConfiguration(); }
public void TrackRemoteBranchInLocalTest() { TestClone(gtkSharpUrl); Ide.WaitForSolutionCheckedOut(); const string newRemoteName = "second"; const string newRemoteUrl = "[email protected]:mono/monohotdraw.git"; OpenRepositoryConfiguration("Remote Sources"); AddRemote(newRemoteName, newRemoteUrl); FetchRemoteBranch(newRemoteName); const string localBranch = "local-branch-random-uitest"; CreateEditBranch("buttonTrackRemote", localBranch); SwitchTab("Branches"); SelectBranch(localBranch); CloseRepositoryConfiguration(); }
public void CheckRemoteButtonsSensitivity() { TestClone(gtkSharpUrl); Ide.WaitForSolutionCheckedOut(); OpenRepositoryConfiguration("Remote Sources"); TakeScreenShot("Asserting-Edit-Remove-Track--Fetch-Button-Disabled"); AssertRemotesButtonSensitivity(false, false, false, false); SelectRemote("origin"); TakeScreenShot("Asserting-Edit-Switch-Button-Enabled"); AssertRemotesButtonSensitivity(true, true, false, true); SelectRemoteBranch("origin", "master"); TakeScreenShot("Asserting-Edit-Switch-Button-Track-Enabled"); AssertRemotesButtonSensitivity(true, true, true, true); CloseRepositoryConfiguration(); }
public void CheckBranchButtonsSensitivity() { TestClone(gtkSharpUrl); Ide.WaitForSolutionCheckedOut(); OpenRepositoryConfiguration("Branches"); TakeScreenShot("Asserting-Edit-Delete-Switch-Button-Disabled"); AssertBranchesButtonSensitivity(false, false, false); SelectBranch("<b>master</b>"); TakeScreenShot("Asserting-Edit-Switch-Button-Enabled"); AssertBranchesButtonSensitivity(true, false, false); CreateNewBranch("new-branch"); SelectBranch("new-branch"); TakeScreenShot("Asserting-Edit-Delete-Switch-Button-Enabled"); AssertBranchesButtonSensitivity(true, true, true); CloseRepositoryConfiguration(); }
public void EditGitRemoteUrlTest() { TestClone(gtkSharpUrl); Ide.WaitForSolutionCheckedOut(); OpenRepositoryConfiguration("Remote Sources"); const string newRemoteName = "second"; const string newRemoteUrl = "[email protected]:mono/monohotdraw.git"; AddRemote(newRemoteName, newRemoteUrl); SelectRemote(newRemoteName, newRemoteUrl); const string updatedRemoteUrl = "[email protected]:mono/monohotdraw-push.git"; EditRemote(newRemoteName, updatedRemoteUrl, updatedRemoteUrl); SelectRemote(newRemoteName, updatedRemoteUrl); CloseRepositoryConfiguration(); }
public void EditGitRemoteNameAndPushUrlTest() { TestClone(gtkSharpUrl); Ide.WaitForSolutionCheckedOut(); OpenRepositoryConfiguration("Remote Sources"); const string newRemoteName = "second"; const string newRemoteUrl = monoHotdrawUrl; AddRemote(newRemoteName, newRemoteUrl); SelectRemote(newRemoteName, newRemoteUrl); const string updatedRemoteName = "second-origin"; const string updatedRemoteUrl = monoHotdrawUrl; EditRemote(updatedRemoteName, updatedRemoteUrl, monoHotdrawUrl); SelectRemote(updatedRemoteName, updatedRemoteUrl); CloseRepositoryConfiguration(); }
public void TestGitClone(string url) { TestClone(url); Ide.WaitForSolutionCheckedOut(); }
public void TestSvnClone() { TestClone("https://github.com/mono/heap-shot", cvsType: VersionControlType.Subversion, cloneTimeoutSecs: 360); Ide.WaitForSolutionCheckedOut(); }