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

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

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

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