public void UpdateRevisionTest() { this.Checkout(this.settings.Config.Tag1); this.UpdateAllRecursive(this.rootDir); CheckoutModuleCommandTest.AssertFileContentsEqualString(this.checkFile, this.settings.Config.Content1); }
private void Checkout(String revision, String overrideDirectory) { if (null != overrideDirectory) { this.manager = new Manager(Path.Combine(this.settings.LocalPath, overrideDirectory)); } else { this.manager = new Manager(Path.Combine(this.settings.LocalPath, this.settings.Module)); } CheckoutModuleCommandTest checkout = new CheckoutModuleCommandTest(); checkout.Checkout(revision, overrideDirectory); }