public void HowTest() { FileSpec fromfile = new FileSpec(new DepotPath("//depot/main/test"), new VersionRange(2, 4)); FileSpec tofile = new FileSpec(new DepotPath("//depot/rel/test"), new VersionRange(2, 4)); FileIntegrationRecord target = new FileIntegrationRecord(fromfile, tofile, IntegrateAction.BranchInto, 44444); IntegrateAction expected = IntegrateAction.BranchInto; IntegrateAction actual = target.How; Assert.AreEqual(expected, actual); }
public FileIntegrationRecord ( FileSpec fromfile, FileSpec tofile, IntegrateAction how, int changeid ) { FromFile = fromfile; ToFile = tofile; How = how; ChangeId = changeid; }