public void WriteToXmlTest() { var tm = new TestMaker(); tm.OpenDocument(TestStatics.TestFilePath); tm.AddTasks(); tm.WriteToXML(TestStatics.TestXmlPath); tm.Document.CloseDocument(false); }
public void GetTasksTest() { var tm = new TestMaker(); tm.OpenDocument(TestStatics.TestFilePath); tm.AddTasks(); Assert.IsNotEmpty(tm.Tasks); tm.Document.CloseDocument(false); }
public void OpenDocumentTest() { var tm = new TestMaker(); tm.OpenDocument(""); Assert.IsNull(tm.Document); tm.OpenDocument(TestStatics.TestFilePath); Assert.IsNotNull(tm.Document); tm.Document.CloseDocument(false); }