Esempio n. 1
0
        public void CellsShapesGetWorksheetShapeTest()
        {
            string name       = "Book1.xlsx";
            string sheetName  = "SHEET1";
            int?   shapeindex = 0;
            string folder     = null;

            new Config().UpdateDataFile(folder, name);
            var response = instance.CellsShapesGetWorksheetShape(name, sheetName, shapeindex, folder);

            Console.WriteLine(response);
        }
Esempio n. 2
0
        public void CellsShapesGetWorksheetShapeTest()
        {
            // TODO uncomment below to test the method and replace null with proper value
            string name       = BOOK1;
            string sheetName  = SHEET1;
            int?   shapeindex = 0;
            string folder     = TEMPFOLDER;

            UpdateDataFile(folder, name);
            var response = instance.CellsShapesGetWorksheetShape(name, sheetName, shapeindex, folder);

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