コード例 #1
0
        public void AppendNewRowByColumnHeading()
        {
            //Arrange
            ExcelService x  = new ExcelService();
            GingerAction GA = new GingerAction();

            x.AppendData(GA, EXCEL_FILE_NAME, "Sheet1", "Last='aaa', Used='No'");
            // int index = Convert.ToInt32(GA.Output.Values[0].ValueString);

            //Assert
            // Assert.IsTrue(index > 0);
        }
コード例 #2
0
        public void AppendNewRowByColumnName()
        {
            //Arrange
            ExcelService x  = new ExcelService();
            GingerAction GA = new GingerAction();

            x.AppendData(GA, EXCEL_FILE_NAME, "Sheet1", "#B='ColName', #E='Yes'");
            // int index = Convert.ToInt32(GA.Output.Values[0].ValueString);

            //Assert
            // Assert.IsTrue(index > 0);
        }
コード例 #3
0
        public void AppendNewRowSimple()
        {
            //Arrange
            ExcelService x  = new ExcelService();
            GingerAction GA = new GingerAction();

            x.AppendData(GA, EXCEL_FILE_NAME, "Sheet1", "'55', 'John', 'Smith'");
            // int index = Convert.ToInt32(GA.Output.Values[0].ValueString);

            //Assert
            // Assert.IsTrue(index > 0);
        }