Пример #1
0
        /// <exception cref="System.Exception"></exception>
        private void CheckFile(string fileName, params string[] lines)
        {
            FilePath      file = new FilePath(db.WorkTree, fileName);
            StringBuilder sb   = new StringBuilder();

            foreach (string line in lines)
            {
                sb.Append(line);
                sb.Append('\n');
            }
            RepositoryTestCase.CheckFile(file, sb.ToString());
        }
Пример #2
0
 private void CheckFile(FilePath f, string text)
 {
     RepositoryTestCase.CheckFile(f, text);
 }