Esempio n. 1
0
        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);
        }
Esempio n. 2
0
        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);
        }