public void CloseDocumentTest() { Export2PDF_Accessor target = new Export2PDF_Accessor(); // TODO: Initialize to an appropriate value target.CloseDocument(); Assert.IsNull(target.pdfDocument); }
public void PDFExportSectionTest() { Export2PDF_Accessor target = new Export2PDF_Accessor(); // TODO: Initialize to an appropriate value string basedName = string.Empty; // TODO: Initialize to an appropriate value ONSection section = null; // TODO: Initialize to an appropriate value target.PDFExportSection(basedName, section); }
public void PDFCombineAllTest() { Export2PDF_Accessor target = new Export2PDF_Accessor(); string basedName = string.Empty; ONNotebook notebook = null; target.PDFCombineAll(basedName, notebook); }
public void PDFCombinePageTest() { Export2PDF_Accessor target = new Export2PDF_Accessor(); PdfOutline parent = null; ONPage page = null; target.PDFCombinePage(parent, page); }
public void PDFCombineSectionTest() { Export2PDF_Accessor target = new Export2PDF_Accessor(); PdfOutline parent = null; ONSection section = null; target.PDFCombineSection(parent, section); }
public void PDFExportPageTest() { Export2PDF_Accessor target = new Export2PDF_Accessor(); string basedName = string.Empty; ONPage page = null; target.PDFExportPage(basedName, page); }
// //Use ClassCleanup to run code after all tests in a class have run //[ClassCleanup()] //public static void MyClassCleanup() //{ //} // //Use TestInitialize to run code before running each test //[TestInitialize()] //public void MyTestInitialize() //{ //} // //Use TestCleanup to run code after each test has run //[TestCleanup()] //public void MyTestCleanup() //{ //} // #endregion /// <summary> ///A test for PDFMergeAll ///</summary> public void PDFMergeAllTestHelper <T>() { Export2PDF_Accessor target = new Export2PDF_Accessor(); // TODO: Initialize to an appropriate value string basedName = string.Empty; // TODO: Initialize to an appropriate value ONSection sec = null; // TODO: Initialize to an appropriate value target.PDFMergeAll(basedName, sec); Assert.Inconclusive("A method that does not return a value cannot be verified."); }
public void InitDocumentTest() { Export2PDF_Accessor target = new Export2PDF_Accessor(); // TODO: Initialize to an appropriate value string pathName = string.Empty; // TODO: Initialize to an appropriate value bool expected = false; // TODO: Initialize to an appropriate value bool actual; actual = target.InitDocument(pathName); Assert.AreEqual(expected, actual); }