public void CommentExPeople01ReadElement() { string originalFilepath = this.GetTestFilePath(this.generateDocumentFilePath); TestEntities testEntities = new TestEntities(); testEntities.ReadElements(originalFilepath, this.Log); }
public void CommentExPeople01ReadElement() { this.MyTestInitialize(TestContext.GetCurrentMethod()); string originalFilepath = this.GetTestFilePath(this.generateDocumentFilePath); TestEntities testEntities = new TestEntities(); testEntities.ReadElements(originalFilepath, this.Log); }
public void CommentExPeople01ReadElement() { using (var stream = new MemoryStream()) { GeneratedDocument generatedDocument = new GeneratedDocument(); generatedDocument.CreatePackage(stream); TestEntities testEntities = new TestEntities(); testEntities.ReadElements(stream, Log); } }
public void CommentExPeople02EditElement() { string originalFilepath = GetTestFilePath(generateDocumentFilePath); string editFilePath = GetTestFilePath(editedDocumentFilePath); System.IO.File.Copy(originalFilepath, editFilePath, true); TestEntities testEntities = new TestEntities(); testEntities.EditElements(editFilePath, Log); testEntities.VerifyElements(editFilePath, Log); }
public void CommentExPeople02EditElement() { this.MyTestInitialize(TestContext.GetCurrentMethod()); string originalFilepath = this.GetTestFilePath(this.generateDocumentFilePath); string editFilePath = this.GetTestFilePath(this.editedDocumentFilePath); System.IO.File.Copy(originalFilepath, editFilePath, true); TestEntities testEntities = new TestEntities(); testEntities.EditElements(editFilePath, this.Log); testEntities.VerifyElements(editFilePath, this.Log); }
public void CommentExPeople01ReadElement() { this.MyTestInitialize(TestContext.GetCurrentMethod()); try { string originalFilepath = this.GetTestFilePath(this.generateDocumentFilePath); TestEntities testEntities = new TestEntities(); testEntities.ReadElements(originalFilepath, this.Log); } catch (Exception e) { this.Log.Fail(e.Message); } }
public void CommentExPeople02EditElement() { this.MyTestInitialize(TestContext.GetCurrentMethod()); try { string originalFilepath = this.GetTestFilePath(this.generateDocumentFilePath); string editFilePath = this.GetTestFilePath(this.editeDocumentFilePath); System.IO.File.Copy(originalFilepath, editFilePath, true); TestEntities testEntities = new TestEntities(); testEntities.EditElements(editFilePath, this.Log); testEntities.VerifyElements(editFilePath, this.Log); } catch (Exception e) { this.Log.Fail(e.Message); } }