public void CellsChartsGetWorksheetChartLegendTest()
        {
            string name       = "myDocument.xlsx";
            string sheetName  = "SHEET3";
            int?   chartIndex = 0;
            string folder     = null;

            new Config().UpdateDataFile(folder, name);
            var response = instance.CellsChartsGetWorksheetChartLegend(name, sheetName, chartIndex, folder);

            Console.WriteLine(response);
        }
示例#2
0
        public void CellsChartsGetWorksheetChartLegendTest()
        {
            // TODO uncomment below to test the method and replace null with proper value
            string name       = MYDOC;
            string sheetName  = SHEET3;
            int?   chartIndex = 0;
            string folder     = TEMPFOLDER;

            UpdateDataFile(folder, name);
            var response = instance.CellsChartsGetWorksheetChartLegend(name, sheetName, chartIndex, folder);

            Assert.IsInstanceOf <LegendResponse>(response, "response is LegendResponse");
            Assert.AreEqual(response.Code, 200);
        }