/// <summary> /// Performs an Svn Checkout to the specified local directory, which is then your working copy. /// </summary> private void DoCheckOutCommand() { if (_svnManager.CheckOut(LocalWorkingLocation)) { ReportOut("Successful Checkout"); _svnManager.LoadCurrentSvnItemsInLocalRepository(LocalWorkingLocation); } else { ReportOut("Checkout Failed"); } }
public void SvnManagement_Checkout_IsValid() { // Arrange bool assertVal = false; SvnManager.BuildUnitTestRepo(MainViewModel.LocalWorkingLocation, UnitTestFolder); // Act if (SvnManager.CheckOut(UnitTestPath)) { SvnManager.LoadCurrentSvnItemsInLocalRepository(UnitTestPath); assertVal = true; } // Assert assertVal.Should().BeTrue(); }