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
2 changes: 1 addition & 1 deletion eng/Versions.props
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
<SystemReflectionMetadataVersion>1.6.0</SystemReflectionMetadataVersion>
<!-- UWP and WinUI dependencies -->
<MicrosoftNETCoreUniversalWindowsPlatformVersion>5.3.0</MicrosoftNETCoreUniversalWindowsPlatformVersion>
<MicrosoftProjectReunionVersion>0.5.0</MicrosoftProjectReunionVersion>
<MicrosoftProjectReunionVersion>0.8.0</MicrosoftProjectReunionVersion>
<!-- / UWP and WinUI dependencies -->
<MoqVersion>4.8.3</MoqVersion>
<CastleCoreVersion>4.3.0</CastleCoreVersion>
Expand Down
6 changes: 3 additions & 3 deletions src/TestFramework/Extension.WinUI/UITestMethodAttribute.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ namespace Microsoft.VisualStudio.TestTools.UnitTesting.AppContainer
public class UITestMethodAttribute : TestMethodAttribute
{
/// <summary>
/// Gets or sets the <see cref="Microsoft.System.DispatcherQueue"/> that should be used to invoke the UITestMethodAttribute.
/// Gets or sets the <see cref="Microsoft.UI.Dispatching.DispatcherQueue"/> that should be used to invoke the UITestMethodAttribute.
/// If none is provided, it will try to use the Microsoft.UI.Xaml.Window.Current.DispatcherQueue, which only works on UWP.
/// </summary>
public static Microsoft.System.DispatcherQueue DispatcherQueue { get; set; }
public static Microsoft.UI.Dispatching.DispatcherQueue DispatcherQueue { get; set; }

/// <summary>
/// Executes the test method on the UI Thread.
Expand Down Expand Up @@ -59,7 +59,7 @@ public override TestResult[] Execute(ITestMethod testMethod)
{
var taskCompletionSource = new global::System.Threading.Tasks.TaskCompletionSource<object>();

if (!dispatcher.TryEnqueue(System.DispatcherQueuePriority.Normal, () =>
if (!dispatcher.TryEnqueue(Microsoft.UI.Dispatching.DispatcherQueuePriority.Normal, () =>
{
try
{
Expand Down