public override void When()
 {
     _result             = _diffCalculator.Run(_sourceFile, _targetFile).GetRecords();
     _resultExpectations = XmlSerializationHelper.DeSerializeFromFile <List <PerLineDiffResult> >(_serializedResultExpectation);
 }
Пример #2
0
 public override void When()
 {
     _resultExpectations = XmlSerializationHelper.DeSerializeFromFile <List <LinesRangeDiffResult> >(_serializedResultExpectation);
     _result             = _diffCalculator.Run(_sourceFile, _targetFile).GetRecords();
     var serizlized = XmlSerializationHelper.Serialize(_result.Cast <LinesRangeDiffResult>().ToList());
 }