Skip to content

Commit 33c54e3

Browse files
committed
! F AraxisMerge Reporter on Mac - closes #172
1 parent 14d0047 commit 33c54e3

File tree

3 files changed

+18
-2
lines changed

3 files changed

+18
-2
lines changed

approvaltests/src/main/java/org/approvaltests/reporters/DiffPrograms.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ public static class Mac
3232
TEXT);
3333
public static DiffInfo VISUAL_STUDIO_CODE = new DiffInfo(
3434
"/Applications/Visual Studio Code.app/Contents/Resources/app/bin/code", "-d %s %s", TEXT);
35+
public static DiffInfo ARAXIS_MERGE = new DiffInfo(
36+
"/Applications/Araxis Merge.app/Contents/Utilities/compare", TEXT_AND_IMAGE);
3537
}
3638
public static class Windows
3739
{
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
package org.approvaltests.reporters.macosx;
2+
3+
import org.approvaltests.reporters.DiffPrograms;
4+
import org.approvaltests.reporters.GenericDiffReporter;
5+
6+
public class AraxisMergeReporter extends GenericDiffReporter
7+
{
8+
public static final AraxisMergeReporter INSTANCE = new AraxisMergeReporter();
9+
public AraxisMergeReporter()
10+
{
11+
super(DiffPrograms.Mac.ARAXIS_MERGE);
12+
}
13+
}

approvaltests/src/main/java/org/approvaltests/reporters/macosx/MacDiffReporter.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,21 +6,22 @@
66
public class MacDiffReporter extends FirstWorkingReporter
77
{
88
public static final MacDiffReporter INSTANCE = new MacDiffReporter();
9+
// @formatter:off
910
public MacDiffReporter()
1011
{
1112
super(
12-
// @formatter:off
1313
// begin-snippet: mac_diff_reporters
1414
BeyondCompareMacReporter.INSTANCE,
1515
DiffMergeMacOsReporter.INSTANCE,
1616
KaleidoscopeDiffReporter.INSTANCE,
1717
P4MergeReporter.INSTANCE,
18+
AraxisMergeReporter.INSTANCE,
1819
KDiff3MacReporter.INSTANCE,
1920
TkDiffReporter.INSTANCE,
2021
IntelliJReporter.INSTANCE,
2122
VisualStudioCodeReporter.INSTANCE
2223
// end-snippet
23-
// @formatter:on
2424
);
2525
}
26+
// @formatter:on
2627
}

0 commit comments

Comments
 (0)