Beispiel #1
0
        public void ContentControl01EditElement()
        {
            using (var stream = new MemoryStream())
            {
                GeneratedDocument.CreatePackage(stream);

                EditElement.EditContentControlElements(stream, Log);
                VerifyElement.VerifyContentControlElement(stream, Log);
            }
        }
        public void ContentControl01EditElement()
        {
            string originalFilepath = GetTestFilePath(generatedDocumentFilePath);
            string editFilePath     = GetTestFilePath(editedDocumentFilePath);

            System.IO.File.Copy(originalFilepath, editFilePath, true);

            EditElement.EditContentControlElements(editFilePath, Log);
            VerifyElement.VerifyContentControlElement(editFilePath, Log);
        }
        public void ContentControl01EditElement()
        {
            this.MyTestInitialize(TestContext.GetCurrentMethod());

            string originalFilepath = this.GetTestFilePath(this.generatedDocumentFilePath);
            string editFilePath     = this.GetTestFilePath(this.editedDocumentFilePath);

            System.IO.File.Copy(originalFilepath, editFilePath, true);

            EditElement.EditContentControlElements(editFilePath, this.Log);
            VerifyElement.VerifyContentControlElement(editFilePath, this.Log);
        }