示例#1
0
        public void CellsPageSetupPostPageSetupTest()
        {
            // TODO uncomment below to test the method and replace null with proper value
            string    name      = "Book1.xlsx";
            string    sheetName = "SHEET1";
            PageSetup pageSetup = new PageSetup();

            pageSetup.BlackAndWhite = true;
            string folder = null;

            new Config().UpdateDataFile(folder, name);
            var response = instance.CellsPageSetupPostPageSetup(name, sheetName, pageSetup, folder);

            Console.WriteLine(response);
        }
示例#2
0
        public void CellsPageSetupPostPageSetupTest()
        {
            // TODO uncomment below to test the method and replace null with proper value
            string    name      = BOOK1;
            string    sheetName = SHEET1;
            PageSetup pageSetup = new PageSetup();

            pageSetup.BlackAndWhite = true;
            string folder = TEMPFOLDER;

            UpdateDataFile(folder, name);
            var response = instance.CellsPageSetupPostPageSetup(name, sheetName, pageSetup, folder);

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