private void DescriptionPdfTest(string basename, DescriptionPrintSettings descPrintSettings)
 {
     // Get the pages of the printing.
     DescriptionPrinting descPrinter = new DescriptionPrinting(controller.GetEventDB(), ui.symbolDB, controller, descPrintSettings);
     string pdfFileName = TestUtil.GetTestFile(basename + ".pdf");
     descPrinter.PrintToPdf(pdfFileName, false);
     CheckPdfDump(pdfFileName, TestUtil.GetTestFile(basename + "_baseline_page%d.png"));
 }
        private void DescriptionPrintingTest(string basename, DescriptionPrintSettings descPrintSettings)
        {
            // Get the pages of the printing.
            DescriptionPrinting descPrinter = new DescriptionPrinting(controller.GetEventDB(), ui.symbolDB, controller, descPrintSettings);
            Bitmap[] bitmaps = descPrinter.PrintBitmaps();

            // Check all the pages against the baseline.
            for (int page = 0; page < bitmaps.Length; ++page) {
                Bitmap bm = bitmaps[page];
                string baseFileName = basename + "_page" + (page + 1).ToString();
                TestUtil.CheckBitmapsBase(bm, baseFileName);
            }
        }
        private void DescriptionPrintingTest(string basename, DescriptionPrintSettings descPrintSettings)
        {
            // Get the pages of the printing.
            DescriptionPrinting descPrinter = new DescriptionPrinting(controller.GetEventDB(), ui.symbolDB, controller, descPrintSettings);
            Bitmap[] bitmaps = descPrinter.PrintBitmaps();

            // Check all the pages against the baseline.
            for (int page = 0; page < bitmaps.Length; ++page) {
                Bitmap bm = bitmaps[page];
                string baseFileName = basename + "_page" + (page + 1).ToString();
                TestUtil.CheckBitmapsBase(bm, baseFileName);
            }
        }