|
|
|
@ -31,28 +31,27 @@ namespace NzbDrone.Core.Test.HealthCheck.Checks
|
|
|
|
|
[TestCase("4.7")]
|
|
|
|
|
[TestCase("4.7.1")]
|
|
|
|
|
public void should_return_notice(string version)
|
|
|
|
|
{
|
|
|
|
|
if (PlatformInfo.IsDotNet)
|
|
|
|
|
{
|
|
|
|
|
GivenOutput(version);
|
|
|
|
|
|
|
|
|
|
Subject.Check().ShouldBeNotice();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public void should_return_warning(string version)
|
|
|
|
|
{
|
|
|
|
|
GivenOutput(version);
|
|
|
|
|
|
|
|
|
|
Subject.Check().ShouldBeWarning();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[TestCase("4.5")]
|
|
|
|
|
[TestCase("4.5.2")]
|
|
|
|
|
[TestCase("4.6.1")]
|
|
|
|
|
public void should_return_error(string version)
|
|
|
|
|
{
|
|
|
|
|
if (PlatformInfo.IsDotNet)
|
|
|
|
|
{
|
|
|
|
|
GivenOutput(version);
|
|
|
|
|
|
|
|
|
|
Subject.Check().ShouldBeError();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[Test]
|
|
|
|
|
public void should_return_ok_for_net462_on_Win1511()
|
|
|
|
|