public void LineTest() { FileAnnotation target = new FileAnnotation(new FileSpec(new DepotPath("//depot/annotate.txt"), null), "this is the line"); string expected = "this is the line"; string actual = target.Line; Assert.AreEqual(expected, actual); }
public void FileTest() { FileAnnotation target = new FileAnnotation(new FileSpec(new DepotPath("//depot/annotate.txt"), null), "this is the line"); FileSpec expected = new FileSpec(new DepotPath("//depot/annotate.txt"), null, null, null); FileSpec actual = target.File; Assert.AreEqual(expected, actual); }