コード例 #1
0
        public void CellsChartsGetWorksheetChartTest()
        {
            string name        = "myDocument.xlsx";
            string sheetName   = "SHEET3";
            int?   chartNumber = 0;
            string folder      = null;
            string format      = "png";

            new Config().UpdateDataFile(folder, name);
            var response = instance.CellsChartsGetWorksheetChart(name, sheetName, chartNumber, format, folder);

            Console.WriteLine(response);
        }
コード例 #2
0
        public void CellsChartsGetWorksheetChartTest()
        {
            // TODO uncomment below to test the method and replace null with proper value
            string name        = MYDOC;
            string sheetName   = SHEET3;
            int?   chartNumber = 0;
            string folder      = TEMPFOLDER;
            string format      = "png";

            UpdateDataFile(folder, name);
            var response = instance.CellsChartsGetWorksheetChart(name, sheetName, chartNumber, format, folder);

            Assert.IsInstanceOf <System.IO.Stream>(response, "response is System.IO.Stream");
        }