-
-
Notifications
You must be signed in to change notification settings - Fork 110
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
07c55b3
commit 2639ff0
Showing
22 changed files
with
3,582 additions
and
19 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
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
Binary file not shown.
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 |
---|---|---|
@@ -1,13 +1,17 @@ | ||
namespace ApprovalTests.Reporters | ||
{ | ||
public class DefaultFrontLoaderReporter : FirstWorkingReporter | ||
{ | ||
public static readonly DefaultFrontLoaderReporter INSTANCE = new DefaultFrontLoaderReporter(); | ||
public class DefaultFrontLoaderReporter : FirstWorkingReporter | ||
{ | ||
public static readonly DefaultFrontLoaderReporter INSTANCE = new DefaultFrontLoaderReporter(); | ||
|
||
public DefaultFrontLoaderReporter():base(TeamCityReporter.INSTANCE, CruiseControlNetReporter.INSTANCE, NCrunchReporter.INSTANCE, MightyMooseAutoTestReporter.INSTANCE) | ||
{ | ||
|
||
} | ||
|
||
} | ||
public DefaultFrontLoaderReporter() | ||
: base( | ||
TeamCityReporter.INSTANCE, | ||
CruiseControlNetReporter.INSTANCE, | ||
NCrunchReporter.INSTANCE, | ||
MightyMooseAutoTestReporter.INSTANCE, | ||
MyGetReporter.INSTANCE) | ||
{ | ||
} | ||
} | ||
} |
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,20 @@ | ||
using System; | ||
using ApprovalTests.Core; | ||
|
||
namespace ApprovalTests.Reporters | ||
{ | ||
public class MyGetReporter : IEnvironmentAwareReporter | ||
{ | ||
public static readonly MyGetReporter INSTANCE = new MyGetReporter(); | ||
|
||
public void Report(string approved, string received) | ||
{ | ||
// does nothing | ||
} | ||
|
||
public bool IsWorkingInThisEnvironment(string forFile) | ||
{ | ||
return "MyGet".Equals(Environment.GetEnvironmentVariable("BuildRunner")); | ||
} | ||
} | ||
} |
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
Binary file not shown.
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,2 @@ | ||
.nuget\NuGet.exe pack ApprovalUtilities\ApprovalUtilities.csproj -OutputDirectory .\ApprovalUtilities -Symbols -Build -Properties Configuration=Debug -Version %PackageVersion% | ||
.nuget\NuGet.exe pack ApprovalTests\ApprovalTests.csproj -OutputDirectory .\ApprovalTests -Symbols -Build -Properties Configuration=Debug -Version %PackageVersion% |
This file was deleted.
Oops, something went wrong.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Oops, something went wrong.