static int UpdateBaseLine(string baseFile, string inputFile) { var inputTestSuite = new TestSuiteResult(); inputTestSuite.Read(inputFile); if (File.Exists(baseFile)) { var baseTestSuite = new TestSuiteResult(); baseTestSuite.Read(baseFile); inputTestSuite.UpgradeToBaseline(baseTestSuite); } inputTestSuite.Write(baseFile); return(0); }