public void CellsChartsPostWorksheetChartTitleTest()
        {
            string name       = "myDocument.xlsx";
            string sheetName  = "SHEET3";
            int?   chartIndex = 0;
            Title  title      = new Title();

            title.Text = "Post title";
            string folder = null;

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

            Console.WriteLine(response);
        }
Пример #2
0
        public void CellsChartsPostWorksheetChartTitleTest()
        {
            // TODO uncomment below to test the method and replace null with proper value
            string name       = MYDOC;
            string sheetName  = SHEET3;
            int?   chartIndex = 0;
            Title  title      = new Title();

            title.Text = "Post title";
            string folder = TEMPFOLDER;

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

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