예제 #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)}";
 }
예제 #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)}";
        }