Esempio n. 1
0
        public void PivotConnection01EditElement()
        {
            string originalFilepath = GetTestFilePath(generatedOldbConnectionDocumentFile);
            string editFilePath     = GetTestFilePath(editedOldbConnectionDocumentFile);

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

            connectionTestEntities.EditElement(editFilePath, Log);
            connectionTestEntities.VerifyElement(editFilePath, Log);
        }
Esempio n. 2
0
        public void PivotConnection01EditElement()
        {
            using (var stream = new MemoryStream())
            {
                ConnectionGeneratedDocument.CreatePackage(stream);

                var connectionTestEntities = new ConnectionTestEntities(stream);

                connectionTestEntities.EditElement(stream, Log);
                connectionTestEntities.VerifyElement(stream, Log);
            }
        }