Skip to content

Align RootNamespace across tests to remove "Experiment" suffix #659

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Mar 18, 2025
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 components/Animations/tests/Animations.Tests.projitems
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<SharedGUID>39585FC1-232A-4F67-BFB8-7F6DEE296763</SharedGUID>
</PropertyGroup>
<PropertyGroup Label="Configuration">
<Import_RootNamespace>AnimationsExperiment.Tests</Import_RootNamespace>
<Import_RootNamespace>AnimationsTests</Import_RootNamespace>
</PropertyGroup>
<ItemGroup>
<Compile Include="$(MSBuildThisFileDirectory)Test_AnimationBuilderStart.cs" />
Expand Down
2 changes: 1 addition & 1 deletion components/Animations/tests/Test_AnimationBuilderStart.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
using CommunityToolkit.WinUI.Animations;
using System.Numerics;

namespace AnimationsExperiment.Tests;
namespace AnimationsTests;

[TestClass]
[TestCategory(nameof(Test_AnimationBuilderStart))]
Expand Down
2 changes: 1 addition & 1 deletion components/Animations/tests/Test_ExpressionFunctions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
using CommunityToolkit.Tooling.TestGen;
using CommunityToolkit.WinUI.Animations.Expressions;

namespace AnimationsExperiment.Tests;
namespace AnimationsTests;

[TestClass]
[TestCategory(nameof(Test_ExpressionFunctions))]
Expand Down
2 changes: 1 addition & 1 deletion components/Behaviors/tests/Behaviors.Tests.projitems
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<SharedGUID>C5924901-9000-4A6D-936D-BD69944E8C8F</SharedGUID>
</PropertyGroup>
<PropertyGroup Label="Configuration">
<Import_RootNamespace>BehaviorsExperiment.Tests</Import_RootNamespace>
<Import_RootNamespace>BehaviorsTests</Import_RootNamespace>
</PropertyGroup>
<ItemGroup>
<Compile Include="$(MSBuildThisFileDirectory)StackedNotificationsBehaviorsTestPage.xaml.cs">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.

using BehaviorsExperiment.Tests;
using BehaviorsTests;
using CommunityToolkit.Tests;
using CommunityToolkit.Tooling.TestGen;
using CommunityToolkit.WinUI.Behaviors;
using Microsoft.Xaml.Interactivity;

namespace StackedNotificationsBehaviorExperiment.Tests;
namespace StackedNotificationsBehaviorTests;

[TestClass]
public partial class StackedNotificationsBehaviorTestClass : VisualUITestBase
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!-- Licensed to the .NET Foundation under one or more agreements. The .NET Foundation licenses this file to you under the MIT license. See the LICENSE file in the project root for more information. -->
<Page x:Class="BehaviorsExperiment.Tests.StackedNotificationsBehaviorsTestPage"
<Page x:Class="BehaviorsTests.StackedNotificationsBehaviorsTestPage"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:behaviors="using:CommunityToolkit.WinUI.Behaviors"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.

namespace BehaviorsExperiment.Tests;
namespace BehaviorsTests;

/// <summary>
/// An empty page that can be used on its own or navigated to within a Frame.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@
<SharedGUID>E4B3B38E-CB22-4C76-8906-018E2191DA41</SharedGUID>
</PropertyGroup>
<PropertyGroup Label="Configuration">
<Import_RootNamespace>CameraPreviewExperiment.Tests</Import_RootNamespace>
<Import_RootNamespace>CameraPreviewTests</Import_RootNamespace>
</PropertyGroup>
</Project>
2 changes: 1 addition & 1 deletion components/Collections/tests/Collections.Tests.projitems
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<SharedGUID>B5DDFE59-3189-4B41-BE43-C90F53367C94</SharedGUID>
</PropertyGroup>
<PropertyGroup Label="Configuration">
<Import_RootNamespace>CollectionsExperiment.Tests</Import_RootNamespace>
<Import_RootNamespace>CollectionsTests</Import_RootNamespace>
</PropertyGroup>
<ItemGroup>
<Compile Include="$(MSBuildThisFileDirectory)Test_AdvancedCollectionView.cs" />
Expand Down
2 changes: 1 addition & 1 deletion components/Collections/tests/DataSource.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.

namespace CollectionsExperiment.Tests;
namespace CollectionsTests;

using CommunityToolkit.WinUI.Collections;
public class DataSource<T> : IIncrementalSource<T>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

using System.Runtime.CompilerServices;

namespace CollectionsExperiment.Tests;
namespace CollectionsTests;

[TestClass]
public class Test_AdvancedCollectionView
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

using CommunityToolkit.WinUI.Collections;

namespace CollectionsExperiment.Tests;
namespace CollectionsTests;

[TestClass]
public class Test_IncrementalLoadingCollection
Expand Down
2 changes: 1 addition & 1 deletion components/ColorPicker/tests/ColorPicker.Tests.projitems
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<SharedGUID>7241E39A-E282-42BF-A260-30BF986D876D</SharedGUID>
</PropertyGroup>
<PropertyGroup Label="Configuration">
<Import_RootNamespace>ColorPickerExperiment.Tests</Import_RootNamespace>
<Import_RootNamespace>ColorPickerTests</Import_RootNamespace>
</PropertyGroup>
<ItemGroup>
<Compile Include="$(MSBuildThisFileDirectory)ExampleColorPickerTestClass.cs" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
using CommunityToolkit.WinUI.Controls;
using ColorPicker = CommunityToolkit.WinUI.Controls.ColorPicker;

namespace ColorPickerExperiment.Tests;
namespace ColorPickerTests;

[TestClass]
public partial class ExampleColorPickerTestClass : VisualUITestBase
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!-- Licensed to the .NET Foundation under one or more agreements. The .NET Foundation licenses this file to you under the MIT license. See the LICENSE file in the project root for more information. -->
<Page x:Class="ColorPickerExperiment.Tests.ExampleColorPickerTestPage"
<Page x:Class="ColorPickerTests.ExampleColorPickerTestPage"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:controls="using:CommunityToolkit.WinUI.Controls"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.

namespace ColorPickerExperiment.Tests;
namespace ColorPickerTests;

/// <summary>
/// An empty page that can be used on its own or navigated to within a Frame.
Expand Down
2 changes: 1 addition & 1 deletion components/Converters/tests/Converters.Tests.projitems
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<SharedGUID>A46DF5FE-B90C-452E-BA13-68E795DEB80C</SharedGUID>
</PropertyGroup>
<PropertyGroup Label="Configuration">
<Import_RootNamespace>ConvertersExperiment.Tests</Import_RootNamespace>
<Import_RootNamespace>ConvertersTests</Import_RootNamespace>
</PropertyGroup>
<ItemGroup>
<Compile Include="$(MSBuildThisFileDirectory)Test_BoolToObjectConverter.cs" />
Expand Down
2 changes: 1 addition & 1 deletion components/Converters/tests/Test_BoolToObjectConverter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

using CommunityToolkit.WinUI.Converters;

namespace ConvertersExperiment.Tests;
namespace ConvertersTests;

[TestClass]
public class Test_BoolToObjectConverter
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

using CommunityToolkit.WinUI.Converters;

namespace ConvertersExperiment.Tests;
namespace ConvertersTests;

[TestClass]
public class Test_DoubleToObjectConverter
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

using CommunityToolkit.WinUI.Converters;

namespace ConvertersExperiment.Tests;
namespace ConvertersTests;

[TestClass]
public class Test_EmptyCollectionToObjectConverter
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

using CommunityToolkit.WinUI.Converters;

namespace ConvertersExperiment.Tests;
namespace ConvertersTests;

[TestClass]
public class Test_EmptyStringToObjectConverter
Expand Down
2 changes: 1 addition & 1 deletion components/Converters/tests/Test_StringFormatConverter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

using CommunityToolkit.WinUI.Converters;

namespace ConvertersExperiment.Tests;
namespace ConvertersTests;

[TestClass]
public class Test_StringFormatConverter
Expand Down
2 changes: 1 addition & 1 deletion components/Converters/tests/Test_TaskResultConverter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

using CommunityToolkit.WinUI.Converters;

namespace ConvertersExperiment.Tests;
namespace ConvertersTests;

[TestClass]
public class Test_TaskResultConverter
Expand Down
2 changes: 1 addition & 1 deletion components/Converters/tests/Test_TypeToObjectConverter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

using CommunityToolkit.WinUI.Converters;

namespace ConvertersExperiment.Tests;
namespace ConvertersTests;

[TestClass]
public class Test_TypeToObjectConverter
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@
<SharedGUID>5034CE36-00F1-493C-88F7-93809DA5DDB6</SharedGUID>
</PropertyGroup>
<PropertyGroup Label="Configuration">
<Import_RootNamespace>DeveloperToolsExperiment.Tests</Import_RootNamespace>
<Import_RootNamespace>DeveloperToolsTests</Import_RootNamespace>
</PropertyGroup>
</Project>
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!-- Licensed to the .NET Foundation under one or more agreements. The .NET Foundation licenses this file to you under the MIT license. See the LICENSE file in the project root for more information. -->
<Page x:Class="ExtensionsExperiment.Tests.AttachedDropShadowTestPage"
<Page x:Class="ExtensionsTests.AttachedDropShadowTestPage"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.

namespace ExtensionsExperiment.Tests;
namespace ExtensionsTests;

/// <summary>
/// An empty page that can be used on its own or navigated to within a Frame.
Expand Down
2 changes: 1 addition & 1 deletion components/Extensions/tests/AttachedDropShadowTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
using CommunityToolkit.Tests;
using CommunityToolkit.WinUI;

namespace ExtensionsExperiment.Tests;
namespace ExtensionsTests;

[TestClass]
public partial class AttachedDropShadowTests : VisualUITestBase
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<Page x:Class="ExtensionsComponent.Tests.BitmapIconExtensionTestPage"
<Page x:Class="ExtensionsTests.BitmapIconExtensionTestPage"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.

namespace ExtensionsComponent.Tests;
namespace ExtensionsTests;

/// <summary>
/// An empty page that can be used on its own or navigated to within a Frame.
Expand Down
2 changes: 1 addition & 1 deletion components/Extensions/tests/BitmapIconExtensionTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
using CommunityToolkit.Tests;
using CommunityToolkit.Tooling.TestGen;

namespace ExtensionsComponent.Tests;
namespace ExtensionsTests;

[TestClass]
public partial class BitmapIconExtensionTests : VisualUITestBase
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
using DispatcherQueuePriority = Windows.System.DispatcherQueuePriority;
#endif

namespace ExtensionsComponent.Tests;
namespace ExtensionsTests;

[TestClass]
public partial class DispatcherQueueExtensionTests : VisualUITestBase
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
using DispatcherQueueTimer = Windows.System.DispatcherQueueTimer;
#endif

namespace ExtensionsComponent.Tests;
namespace ExtensionsTests;

[TestClass]
public partial class DispatcherQueueTimerExtensionTests : VisualUITestBase
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
using CommunityToolkit.Tests;
using CommunityToolkit.Tooling.TestGen;

namespace ExtensionsComponent.Tests;
namespace ExtensionsTests;

[TestClass]
public partial class FrameworkElementExtensionsTests : VisualUITestBase
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<Page x:Class="ExtensionsComponent.Tests.FrameworkElementRelativeAncestorDataTemplateTestPage"
<Page x:Class="ExtensionsTests.FrameworkElementRelativeAncestorDataTemplateTestPage"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.

namespace ExtensionsComponent.Tests;
namespace ExtensionsTests;

/// <summary>
/// An empty page that can be used on its own or navigated to within a Frame.
Expand Down
2 changes: 1 addition & 1 deletion components/Extensions/tests/Extensions.Tests.projitems
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<SharedGUID>E666FD74-48E1-4BA7-A98E-95A90369B598</SharedGUID>
</PropertyGroup>
<PropertyGroup Label="Configuration">
<Import_RootNamespace>ExtensionsExperiment.Tests</Import_RootNamespace>
<Import_RootNamespace>ExtensionsTests</Import_RootNamespace>
</PropertyGroup>
<ItemGroup>
<Compile Include="$(MSBuildThisFileDirectory)BitmapIconExtensionTestPage.xaml.cs">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.

namespace ExtensionsComponent.Tests.Helpers;
namespace ExtensionsTests.Helpers;

internal class ObjectWithNullableBoolProperty : DependencyObject
{
Expand Down
2 changes: 1 addition & 1 deletion components/Extensions/tests/Test_EnumValuesExtension.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.

namespace ExtensionsComponent.Tests;
namespace ExtensionsTests;

[TestClass]
public class Test_EnumValuesExtension
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.

namespace ExtensionsComponent.Tests;
namespace ExtensionsTests;

[TestClass]
public class Test_FontIconExtensionMarkupExtension
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

using System.Diagnostics.CodeAnalysis;

namespace ExtensionsComponent.Tests;
namespace ExtensionsTests;

[TestClass]
public class Test_FontIconSourceExtensionMarkupExtension
Expand Down
2 changes: 1 addition & 1 deletion components/Extensions/tests/Test_LogicalTreeExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

using CommunityToolkit.Tests;

namespace ExtensionsComponent.Tests;
namespace ExtensionsTests;

[TestClass]
public class Test_LogicalTreeExtensions : VisualUITestBase
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.

using ExtensionsComponent.Tests.Helpers;
using ExtensionsTests.Helpers;

namespace ExtensionsComponent.Tests;
namespace ExtensionsTests;

[TestClass]
public class Test_NullableBoolMarkupExtension
Expand Down
2 changes: 1 addition & 1 deletion components/Extensions/tests/Test_PointExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.

namespace ExtensionsComponent.Tests;
namespace ExtensionsTests;

[TestClass]
public class Test_PointExtensions
Expand Down
Loading
Loading