Click or drag to resize

WaitAssertions Class

Helper class to test asynchronous tests.
Inheritance Hierarchy
SystemObject
  SmartTests.AssertionsWaitAssertions

Namespace:  SmartTests.Assertions
Assembly:  SmartTests (in SmartTests.dll) Version: 1.8.0
Syntax
public static class WaitAssertions

The WaitAssertions type exposes the following members.

Methods
  NameDescription
Public methodStatic memberCode exampleSetHandle
Sets the implicit wait handle of the ActContext.
Public methodStatic memberCode exampleWait(SmartAssertPlaceHolder, WaitHandle, Double)
Creates an Assertion that ensure an asynchronous call from the Act is done before continuing Smart Assertions validations.
Public methodStatic memberCode exampleWait(SmartAssertPlaceHolder, WaitHandle, TimeSpan)
Creates an Assertion that ensure an asynchronous call from the Act is done before continuing Smart Assertions validations.
Public methodStatic memberCode exampleWaitContextHandle(SmartAssertPlaceHolder, Double)
Creates an Assertion that ensure an asynchronous call from the Act is done before continuing Smart Assertions validations.
Public methodStatic memberCode exampleWaitContextHandle(SmartAssertPlaceHolder, TimeSpan)
Creates an Assertion that ensure an asynchronous call from the Act is done before continuing Smart Assertions validations.
Top
See Also