Esempio n. 1
0
        public void CellsWorksheetsGetWorkSheetTest()
        {
            string name                 = "Book1.xlsx";
            string sheetName            = "SHEET1";
            int?   verticalResolution   = 100;
            int?   horizontalResolution = 90;
            string format               = "png";
            string folder               = null;

            new Config().UpdateDataFile(folder, name);
            var response = instance.CellsWorksheetsGetWorksheet(name, sheetName, format, verticalResolution, horizontalResolution, folder);

            Console.WriteLine(response);
        }
        public void CellsWorksheetsGetWorkSheetTest()
        {
            // TODO uncomment below to test the method and replace null with proper value
            string name                 = BOOK1;
            string sheetName            = SHEET1;
            int?   verticalResolution   = 100;
            int?   horizontalResolution = 90;
            string format               = "png";
            string folder               = TEMPFOLDER;

            UpdateDataFile(folder, name);
            var response = instance.CellsWorksheetsGetWorksheet(name, sheetName, format, verticalResolution, horizontalResolution, folder);

            Assert.IsInstanceOf <System.IO.Stream>(response, "response is System.IO.Stream");
        }