/// <summary> /// Create is a Excel file, It's test base file. /// </summary> /// <param name="createFilePath">Create Excel file path</param> /// <returns>Excel file path</returns> private void Initialize(string createFilePath) { GeneratedDocument generatedDocument = new GeneratedDocument(); generatedDocument.CreatePackage(createFilePath); this.Log.Pass("Create Excel file. File path=[{0}]", createFilePath); this.testEntities = new TestEntities(createFilePath); }
/// <summary> /// Create is a Excel file, It's test base file. /// </summary> /// <param name="createFilePath">Create Excel file path</param> /// <returns>Excel file path</returns> private void Initialize(string createFilePath) { try { GeneratedDocument generatedDocument = new GeneratedDocument(); generatedDocument.CreatePackage(createFilePath); this.Log.Pass("Create Excel file. File path=[{0}]", createFilePath); this.testEntities = new TestEntities(createFilePath); } catch (Exception e) { this.Log.Fail(string.Format(e.Message + ". :File path={0}", createFilePath)); } }
/// <summary> /// Create is a Excel file, It's test base file. /// </summary> /// <param name="createFilePath">Create Excel file path</param> /// <returns>Excel file path</returns> private void Initialize(string createFilePath) { try { GeneratedDocument generatedDocument = new GeneratedDocument(); generatedDocument.CreatePackage(createFilePath); this.Log.Pass("Create Excel file. File path=[{0}]", createFilePath); this.testEntities = new TestEntities(createFilePath); } catch (Exception e) { this.Log.Fail(string.Format(e.Message + ". :File path={0}", createFilePath)); } }
public void TimeLineEditAttributes() { using (var ms = new MemoryStream()) { GeneratedDocument.CreatePackage(ms); var testEntities = new TestEntities(ms); testEntities.EditAttributes(ms); testEntities.VerifyEditedAttribute(ms); testEntities.DeleteTimelineStyle(ms); testEntities.VerifyDeletedTimelineStyle(ms); testEntities.AddTimelineStyle(ms); testEntities.VerifyAddedTimelineStyle(ms); } }