-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
F!! Added CrossPlatformReporters, with VSCode (#204)
Co-Authored-By: Llewellyn Falco <[email protected]> Co-Authored-By: Nitsan Avni <[email protected]>
- Loading branch information
1 parent
46bbcb3
commit e7ee3a9
Showing
12 changed files
with
91 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
#include "ApprovalTests/reporters/CrossPlatformReporters.h" | ||
|
||
#include "DiffPrograms.h" | ||
|
||
namespace ApprovalTests | ||
{ | ||
namespace CrossPlatform | ||
{ | ||
VisualStudioCodeReporter::VisualStudioCodeReporter() | ||
: GenericDiffReporter(DiffPrograms::CrossPlatform::VS_CODE()) | ||
{ | ||
} | ||
|
||
CrossPlatformDiffReporter::CrossPlatformDiffReporter() | ||
: FirstWorkingReporter({ | ||
// begin-snippet: cross_platform_diff_reporters | ||
new VisualStudioCodeReporter(), | ||
// end-snippet | ||
}) | ||
{ | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
#pragma once | ||
|
||
#include "ApprovalTests/reporters/GenericDiffReporter.h" | ||
#include "ApprovalTests/reporters/FirstWorkingReporter.h" | ||
|
||
namespace ApprovalTests | ||
{ | ||
namespace CrossPlatform | ||
{ | ||
class VisualStudioCodeReporter : public GenericDiffReporter | ||
{ | ||
public: | ||
VisualStudioCodeReporter(); | ||
}; | ||
|
||
class CrossPlatformDiffReporter : public FirstWorkingReporter | ||
{ | ||
public: | ||
CrossPlatformDiffReporter(); | ||
}; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters