public OldUnitDiffReporter()
        {
            var filePathFinder = new FilePathFinder();
            imageDiffTool = filePathFinder.Find(imageDiffTool);
            textDiffProgram = filePathFinder.Find(textDiffProgram);

            var tortoise = new LaunchArgs(textDiffProgram, textDiffArguments);
            AddDiffReporter("*", tortoise);
            AddDiffReporter(".tif", new LaunchArgs(imageDiffTool, imageDiffArgs));
            AddDiffReporter(".tiff", new LaunchArgs(imageDiffTool, imageDiffArgs));
            AddDiffReporter(".png", new LaunchArgs(imageDiffTool, imageDiffArgs));
        }
Exemple #2
0
        public OldUnitDiffReporter()
        {
            var filePathFinder = new FilePathFinder();

            imageDiffTool   = filePathFinder.Find(imageDiffTool);
            textDiffProgram = filePathFinder.Find(textDiffProgram);

            var tortoise = new LaunchArgs(textDiffProgram, textDiffArguments);

            AddDiffReporter("*", tortoise);
            AddDiffReporter(".tif", new LaunchArgs(imageDiffTool, imageDiffArgs));
            AddDiffReporter(".tiff", new LaunchArgs(imageDiffTool, imageDiffArgs));
            AddDiffReporter(".png", new LaunchArgs(imageDiffTool, imageDiffArgs));
        }