Exemplo n.º 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);
        }
Exemplo n.º 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);
        }
Exemplo n.º 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);
        }