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

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

            Console.WriteLine(response);
        }
コード例 #2
0
        public void CellsChartsPutWorksheetChartLegendTest()
        {
            // 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.CellsChartsPutWorksheetChartLegend(name, sheetName, chartIndex, folder);

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