コード例 #1
0
        public void CellsAutoFilterDeleteWorksheetFilterExample()
        {
            string name       = "Book1.xlsx";
            string sheetName  = "SHEET1";
            int?   fieldIndex = 1;
            string criteria   = "test";
            string folder     = null;

            new Config().UpdateDataFile(null, "Book1.xlsx");
            var response = instance.CellsAutoFilterDeleteWorksheetFilter(name, sheetName, fieldIndex, criteria, folder);

            Console.WriteLine(response);
        }
コード例 #2
0
        public void CellsAutoFilterDeleteWorksheetFilterTest()
        {
            // TODO uncomment below to test the method and replace null with proper value
            string name       = BOOK1;
            string sheetName  = SHEET1;
            int?   fieldIndex = 1;
            string criteria   = "test";
            string folder     = TEMPFOLDER;

            UpdateDataFile(TEMPFOLDER, BOOK1);
            var response = instance.CellsAutoFilterDeleteWorksheetFilter(name, sheetName, fieldIndex, criteria, folder);

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