Skip to content

Commit 365f01d

Browse files
Add Global Using for Extensions back into Test Global Usings
Should make it easier to update Labs vs. adding this in all the test files for now.
1 parent 7ccf83b commit 365f01d

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

GlobalUsings_Tests.cs

+3
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@
55
// This file contains directives available in test projects.
66
// Learn more global using directives at https://docs.microsoft.com/dotnet/csharp/language-reference/keywords/using-directive#global-modifier
77

8+
global using CommunityToolkit.Tests.Internal; // TODO: For CompositionTargetHelper until ported over into package.
9+
global using CommunityToolkit.WinUI;
10+
811
#if !WINAPPSDK
912
global using Windows.UI;
1013
global using Windows.UI.Core;

ProjectTemplate/tests/ExampleProjectTemplateTestClass.cs

-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44

55
using CommunityToolkit.Tooling.TestGen;
66
using CommunityToolkit.Tests;
7-
using CommunityToolkit.Tests.Internal; // TODO: For CompositionTargetHelper until ported over into package.
8-
using CommunityToolkit.WinUI;
97
using CommunityToolkit.WinUI.Controls;
108

119
namespace ProjectTemplateExperiment.Tests;

0 commit comments

Comments
 (0)