Beispiel #1
0
        public void ThreadingInfo01EditElement()
        {
            string originalFilepath = GetTestFilePath(generateDocumentFile);
            string editFilePath     = GetTestFilePath(editDocumentFile);

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

            testEntities.EditElements(editFilePath, Log);
            testEntities.VerifyElements(editFilePath, Log);
        }
        public void ThreadingInfo01EditElement()
        {
            using (var stream = new MemoryStream())
            {
                GeneratedDocument.CreatePackage(stream);

                var testEntities = new TestEntities(stream);
                testEntities.EditElements(stream, Log);
                testEntities.VerifyElements(stream, Log);
            }
        }