Exemple #1
0
        public void ValidateLocalToEnterpriseTest_FilesDontMatch()
        {
            string localFilePath      = this.fileOne;
            string enterpriseFilePath = this.fileTwo;
            bool   expected           = false;
            bool   actual;

            actual = DefaultScriptHelper.ValidateLocalToEnterprise(localFilePath, enterpriseFilePath);
            Assert.AreEqual(expected, actual);
        }
Exemple #2
0
        public void ValidateLocalToEnterpriseTest_EnterpriseFileDoesntExist()
        {
            string localFilePath      = this.fileOne;
            string enterpriseFilePath = @"C:\thisfileshouldnotexist";
            bool   expected           = true;
            bool   actual;

            actual = DefaultScriptHelper.ValidateLocalToEnterprise(localFilePath, enterpriseFilePath);
            Assert.AreEqual(expected, actual);
        }