Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 0 additions & 8 deletions IntelliTect.IntelliWait.Tests/UnExpectedExceptionsTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -78,14 +78,6 @@ await Assert.ThrowsAsync<IndexOutOfRangeException>(
() => Test.CheckExceptionsVoidReturn(1, 3), TimeSpan.FromSeconds(2)));
}

[Fact]
public async Task CheckFuncGenericForThreeUnExpectedExpectionsThrows()
{
await Assert.ThrowsAsync<IndexOutOfRangeException>(
() => Poll.UntilNoExceptions<NullReferenceException, InvalidOperationException, InvalidProgramException>(
() => Test.CheckExceptionsBoolReturn(1, 3), TimeSpan.FromSeconds(2)));
}

[Fact]
public async Task CheckActionGenericForFourUnExpectedExpectionsThrows()
{
Expand Down
7 changes: 4 additions & 3 deletions IntelliTect.IntelliWait/IntelliTect.IntelliWait.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,16 @@
<Authors>IntelliTect-Nuget; Mike Curn</Authors>
<Company>IntelliTect</Company>
<Description>Set of methods to facilitate waiting a certain amount of time for a delegate to evaluate, while ignoring certain exceptions while attempting to evaluate, and throwing after a specified time limit (or throwing immediately if an unexpected exception is encountered)</Description>
<PackageLicenseUrl>https://github.com/IntelliTect/IntelliTect/blob/master/LICENSE</PackageLicenseUrl>
<PackageLicenseUrl></PackageLicenseUrl>
<Copyright>Copyright © IntelliTect 2018</Copyright>
<PackageProjectUrl>https://github.com/IntelliTect/IntelliTect</PackageProjectUrl>
<RepositoryUrl>https://github.com/IntelliTect/IntelliTect</RepositoryUrl>
<RepositoryType>Git</RepositoryType>
<PackageTags>ui test, automated test, testing, api test, web test, integration test, await, async</PackageTags>
<PackageReleaseNotes>Function rename to get away from Selenium terminology, and to use a more generic (but accurate) name for what the functions do (new terminology: Poll.UntilNoExceptions)
Obsoleting old Wait.Until terminology</PackageReleaseNotes>
<PackageReleaseNotes>Obsoleting in favor of Polly</PackageReleaseNotes>
<AssemblyName>IntelliTect.IntelliWait</AssemblyName>
<Version>1.2.0</Version>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
</PropertyGroup>
<ItemGroup>
<CodeAnalysisDictionary Include="CustomDictionary.xml" />
Expand Down
1 change: 1 addition & 0 deletions IntelliTect.IntelliWait/Poll.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

namespace IntelliTect.IntelliWait
{
[Obsolete("Deprecating in favor of Polly, which is a more robust and flexible polling library: https://github.com/App-vNext/Polly")]
public static class Poll
{
/// <summary>
Expand Down
2 changes: 1 addition & 1 deletion IntelliTect.IntelliWait/Wait.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

namespace IntelliTect.IntelliWait
{
[Obsolete("Deprecating Wait.Until() naming convention in favor of more accurate and descriptive Poll.UntilNoExceptions naming")]
[Obsolete("Deprecating in favor of Polly, which is a more robust and flexible polling library: https://github.com/App-vNext/Polly")]
public static class Wait
{
/// <summary>
Expand Down