Esempio n. 1
0
        public DirMismatchException(string expectedDirPath, string actualDirPath, DirDiff diff)
        {
            Message = $@"The actual directory structure '{actualDirPath}' doesn't match expected structure '{expectedDirPath}'.
Difference information:
Extra: {string.Join($"{Environment.NewLine} ", diff.ExtraEntries)}
Missing: {string.Join($"{Environment.NewLine} ", diff.MissingEntries)}
Different: {string.Join($"{Environment.NewLine} ", diff.DifferentEntries)}";
        }
Esempio n. 2
0
        public DirMismatchException(string expectedDirPath, string actualDirPath, DirDiff diff)
        {
            Message = $@"The actual directory structure '{actualDirPath}' doesn't match expected structure '{expectedDirPath}'.
Difference information:
Extra: {string.Join($"{Environment.NewLine} ", diff.ExtraEntries)}
Missing: {string.Join($"{Environment.NewLine} ", diff.MissingEntries)}
Different: {string.Join($"{Environment.NewLine} ", diff.DifferentEntries)}";
        }