Skip to main content

AvaloniaTestAttribute Class

Definition

Assembly:Avalonia.Headless.NUnit
Package:Avalonia.Headless.NUnit

Identifies a nunit test that starts on Avalonia Dispatcher such that awaited expressions resume on the test's "main thread".

public class AvaloniaTestAttribute

Inheritance: TestAttribute -> AvaloniaTestAttribute

Implements: ICommandWrapper, IWrapSetUpTearDown

Constructors

NameDescription
AvaloniaTestAttributeNo summary available.

AvaloniaTestAttribute Constructor

public AvaloniaTestAttribute()

Methods

NameDescription
WrapNo summary available.

Wrap Method

public NUnit.Framework.Internal.Commands.TestCommand Wrap(NUnit.Framework.Internal.Commands.TestCommand command)

Parameters

command NUnit.Framework.Internal.Commands.TestCommand

Returns

NUnit.Framework.Internal.Commands.TestCommand