public void DocxGetCompanyTest() { var file = new DocxFile(@"..\..\SampleFiles\Test.Docx"); file.OpenFile(); Assert.AreEqual("Test Company", file.Company); file.CloseFile(); }
public void DocxGetModifiedTimeUtcTest() { var file = new DocxFile(@"..\..\SampleFiles\Test.Docx"); file.OpenFile(); Assert.AreEqual(new DateTime(2016, 3, 1, 3, 56, 0, DateTimeKind.Utc), file.ModifiedTimeUtc); file.CloseFile(); }
public void DocxGetAuthorTest() { var file = new DocxFile(@"..\..\SampleFiles\Test.Docx"); file.OpenFile(); Assert.AreEqual("Test Author", file.Author); file.CloseFile(); }
public void DocxOpenAndCloseFileTest() { var file = new DocxFile(@"..\..\SampleFiles\Test.Docx"); file.OpenFile(); file.CloseFile(); }