Exemple #1
0
        public void PropertyGet_HasDescreenedCousins_ReturnsExpected()
        {
            var cdf  = new CopydotFile(_path);
            var cdf2 = new CopydotFile(
                @"\\San\araxivolume_ace\Jobs\Art77_cd\UserDefinedFolders\Customer Originals\beg art 77\60077 beg art77 pg01.PDF");

            cdf.HasDescreenedCousin.Should().Be(false);
            cdf2.HasDescreenedCousin.Should().Be(true);
        }
Exemple #2
0
        public void PropertyGet_ParentName_ReturnsExpected()
        {
            var cdf = new CopydotFile(_path);

            cdf.ParentName.Should().Be("eng 1029 sk");
        }
Exemple #3
0
        public void PropertyGet_PrinergyJobName_ReturnsExpected()
        {
            var cdf = new CopydotFile(_path);

            cdf.PrinergyJobName.Should().Be("Eng1029_cd");
        }
Exemple #4
0
        public void PropertyGet_ParentPath_ReturnsExpected()
        {
            var cdf = new CopydotFile(_path);

            cdf.ParentPath.Should().Be(@"\\San\araxivolume_ace\Jobs\Eng1029_cd\UserDefinedFolders\Customer Originals\eng 1029 sk");
        }
Exemple #5
0
        public void Path_ReturnsPassedInPath()
        {
            var cdf = new CopydotFile(_path);

            cdf.Path.Should().Be(_path);
        }