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