public void CellsPageBreaksPutVerticalPageBreakTest()
        {
            string name      = "Book1.xlsx";
            string sheetName = "SHEET1";
            string cellname  = "a1";
            int?   column    = 1;
            int?   row       = 1;
            int?   startRow  = 1;
            int?   endRow    = 1;
            string folder    = null;

            new Config().UpdateDataFile(folder, name);
            var response = instance.CellsPageBreaksPutVerticalPageBreak(name, sheetName, cellname, column, row, startRow, endRow, folder);

            Console.WriteLine(response);
        }
Exemplo n.º 2
0
        public void CellsPageBreaksPutVerticalPageBreakTest()
        {
            // TODO uncomment below to test the method and replace null with proper value
            string name      = BOOK1;
            string sheetName = SHEET1;
            string cellname  = CellName;
            int?   column    = 1;
            int?   row       = 1;
            int?   startRow  = 1;
            int?   endRow    = 1;
            string folder    = TEMPFOLDER;

            UpdateDataFile(folder, name);
            var response = instance.CellsPageBreaksPutVerticalPageBreak(name, sheetName, cellname, column, row, startRow, endRow, folder);

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