Beispiel #1
0
        public void DoVerification()
        {
            ReportDataReader reader = new ReportDataReader();

            this.View.Model.SourceDataSet      = reader.ReadDataSet(this.View.Model.SourceFile, this.View.Model.SourceHeaderRowNumber);
            this.View.Model.DestinationDataSet = reader.ReadDataSet(this.View.Model.DestinationFile, this.View.Model.DestinationHeaderRowNumber);

            this.ExecuteVerification(this.View.Model);

            this.View.RefreshUI();
        }
 public void GetDataSetTest()
 {
     ReportDataReader target = new ReportDataReader(); // TODO: Initialize to an appropriate value
     string file = @"D:\ReportExport\UnitTest\ReportVerification\FunnelMonthly_2012Month1.xls"; // TODO: Initialize to an appropriate value
     int headerRowNumber = 3; // TODO: Initialize to an appropriate value
     //ReportDataSet expected = null; // TODO: Initialize to an appropriate value
     ReportDataSet actual;
     //actual = target.GetDataSet(file, headerRowNumber);
     //Assert.AreEqual(expected, actual);
     //Assert.Inconclusive("Verify the correctness of this test method.");
 }
        public void DoVerification()
        {
            ReportDataReader reader = new ReportDataReader();

            this.View.Model.SourceDataSet = reader.ReadDataSet(this.View.Model.SourceFile, this.View.Model.SourceHeaderRowNumber);
            this.View.Model.DestinationDataSet = reader.ReadDataSet(this.View.Model.DestinationFile, this.View.Model.DestinationHeaderRowNumber);

            this.ExecuteVerification(this.View.Model);

            this.View.RefreshUI();
        }