Skip to content

Commit

Permalink
Test removed
Browse files Browse the repository at this point in the history
  • Loading branch information
mihaj authored Jan 14, 2023
1 parent ddc83da commit 5e58aff
Showing 1 changed file with 1 addition and 28 deletions.
29 changes: 1 addition & 28 deletions src/QAToolKit.Engine.Probes.Test/Probes/PingProbeTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -38,15 +38,6 @@ public async Task PingParseIPTest_Success()
Assert.Equal(IPStatus.Success, result.Success);
}

[Fact]
public async Task PingIPTest_Success()
{
var pinger = new PingProbe("127.0.0.1");
var result = await pinger.Execute();

Assert.Equal(IPStatus.Success, result.Success);
}

[Fact]
public async Task PingHostNameTest_Fails()
{
Expand All @@ -72,16 +63,7 @@ public async Task PingIPStringNullTest_Fails(string ip)

await Assert.ThrowsAsync<ArgumentNullException>(async () => await pinger.Execute());
}

[Fact]
public async Task PingIPStringTest_Fails()
{
var pinger = new PingProbe("10.0.0.0");
var result = await pinger.Execute();

Assert.True(IPStatus.Success != result.Success);
}


[Fact]
public async Task PingIPInvalidTest_Fails()
{
Expand All @@ -95,14 +77,5 @@ public void PingIPNullTest_Fails()
{
Assert.Throws<ArgumentNullException>(() => new PingProbe(IPAddress.Parse(null)));
}

[Fact]
public async Task PingIPTest_Fails()
{
var pinger = new PingProbe(IPAddress.Parse("10.0.0.0"));
var result = await pinger.Execute();

Assert.True(IPStatus.Success != result.Success);
}
}
}

0 comments on commit 5e58aff

Please sign in to comment.