Example #1
0
        public void CopyEnterpriseToLocalTest_EnterpriseFileDoesntExist()
        {
            string localFilePath      = this.fileOne;
            string enterpriseFilePath = @"C:\thisfileshouldnotexist";
            bool   expected           = false;
            bool   actual;

            actual = DefaultScriptHelper.CopyEnterpriseToLocal(localFilePath, enterpriseFilePath);
            Assert.AreEqual(expected, actual);
        }
Example #2
0
        public void CopyEnterpriseToLocalTest_LocalFileExists()
        {
            string localFilePath      = this.fileOne;
            string enterpriseFilePath = this.fileTwo;
            bool   expected           = true;
            bool   actual;

            actual = DefaultScriptHelper.CopyEnterpriseToLocal(localFilePath, enterpriseFilePath);
            Assert.AreEqual(expected, actual);
        }
Example #3
0
        public void CopyEnterpriseToLocalTest_EnterpriseFileNotSet()
        {
            string localFilePath      = this.fileOne;
            string enterpriseFilePath = "";
            bool   expected           = false;
            bool   actual;

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