public void GetDataReaderExcel() { var setting = m_ComHelper.GetExcelFileSetting(); Assert.IsTrue(setting is IExcelFile); setting.FileName = System.IO.Path.Combine(m_ApplicationDirectory, "Small.xlsx"); setting.SheetName = "Sheet1"; setting.ShowProgress = false; var result = m_ComHelper.GetDataReader(setting); Assert.IsTrue(result is IFileReaderCOM); }
public void GetDataReaderExcel() { var setting = m_ComHelper.GetExcelFileSetting(); Assert.IsTrue(setting is IExcelFile); setting.FileName = System.IO.UnitTestInitialize.GetTestPath("Small.xlsx"); setting.SheetName = "Sheet1"; setting.ShowProgress = false; var result = m_ComHelper.GetDataReader(setting); Assert.IsTrue(result is IFileReaderCOM); }