From 1926debb642f3aaaf7e1af2ae7b3934c6839c73c Mon Sep 17 00:00:00 2001 From: Luke Fisher Date: Tue, 4 Jun 2024 20:16:49 +0100 Subject: [PATCH] Rename testing package --- .../InvisibleNodeLocator_Locate.cs | 2 +- ...CacheNotificationHandler_Handle_ContentMovingNotification.cs | 2 +- ...ationHandler_Handle_ContentMovingToRecycleBinNotification.cs | 2 +- ...CacheNotificationHandler_Handle_ContentSavingNotification.cs | 2 +- ...otificationHandler_Handle_ContentUnpublishingNotification.cs | 2 +- .../Our.Umbraco.InvisibleNodes.Tests.Unit.csproj} | 1 - .../Routing/InvisibleNodeUrlProvider_GetOtherUrls.cs | 2 +- .../Routing/InvisibleNodeUrlProvider_GetUrl.cs | 2 +- .../UmbracoTestHelper.cs | 2 +- .../Usings.cs | 0 .../packages.lock.json | 0 src/Our.Umbraco.InvisibleNodes.sln | 2 +- 12 files changed, 9 insertions(+), 10 deletions(-) rename src/{Our.Umbraco.InvisibleNodes.Tests => Our.Umbraco.InvisibleNodes.Tests.Unit}/InvisibleNodeLocator_Locate.cs (99%) rename src/{Our.Umbraco.InvisibleNodes.Tests => Our.Umbraco.InvisibleNodes.Tests.Unit}/Notifications/InvalidateCacheNotificationHandler_Handle_ContentMovingNotification.cs (96%) rename src/{Our.Umbraco.InvisibleNodes.Tests => Our.Umbraco.InvisibleNodes.Tests.Unit}/Notifications/InvalidateCacheNotificationHandler_Handle_ContentMovingToRecycleBinNotification.cs (96%) rename src/{Our.Umbraco.InvisibleNodes.Tests => Our.Umbraco.InvisibleNodes.Tests.Unit}/Notifications/InvalidateCacheNotificationHandler_Handle_ContentSavingNotification.cs (96%) rename src/{Our.Umbraco.InvisibleNodes.Tests => Our.Umbraco.InvisibleNodes.Tests.Unit}/Notifications/InvalidateCacheNotificationHandler_Handle_ContentUnpublishingNotification.cs (96%) rename src/{Our.Umbraco.InvisibleNodes.Tests/Our.Umbraco.InvisibleNodes.Tests.csproj => Our.Umbraco.InvisibleNodes.Tests.Unit/Our.Umbraco.InvisibleNodes.Tests.Unit.csproj} (94%) rename src/{Our.Umbraco.InvisibleNodes.Tests => Our.Umbraco.InvisibleNodes.Tests.Unit}/Routing/InvisibleNodeUrlProvider_GetOtherUrls.cs (97%) rename src/{Our.Umbraco.InvisibleNodes.Tests => Our.Umbraco.InvisibleNodes.Tests.Unit}/Routing/InvisibleNodeUrlProvider_GetUrl.cs (99%) rename src/{Our.Umbraco.InvisibleNodes.Tests => Our.Umbraco.InvisibleNodes.Tests.Unit}/UmbracoTestHelper.cs (98%) rename src/{Our.Umbraco.InvisibleNodes.Tests => Our.Umbraco.InvisibleNodes.Tests.Unit}/Usings.cs (100%) rename src/{Our.Umbraco.InvisibleNodes.Tests => Our.Umbraco.InvisibleNodes.Tests.Unit}/packages.lock.json (100%) diff --git a/src/Our.Umbraco.InvisibleNodes.Tests/InvisibleNodeLocator_Locate.cs b/src/Our.Umbraco.InvisibleNodes.Tests.Unit/InvisibleNodeLocator_Locate.cs similarity index 99% rename from src/Our.Umbraco.InvisibleNodes.Tests/InvisibleNodeLocator_Locate.cs rename to src/Our.Umbraco.InvisibleNodes.Tests.Unit/InvisibleNodeLocator_Locate.cs index 216ef3c..67e905b 100644 --- a/src/Our.Umbraco.InvisibleNodes.Tests/InvisibleNodeLocator_Locate.cs +++ b/src/Our.Umbraco.InvisibleNodes.Tests.Unit/InvisibleNodeLocator_Locate.cs @@ -8,7 +8,7 @@ using Umbraco.Cms.Core.Models.PublishedContent; using Umbraco.Extensions; -namespace Our.Umbraco.InvisibleNodes.Tests; +namespace Our.Umbraco.InvisibleNodes.Tests.Unit; public class InvisibleNodeLocator_Locate { diff --git a/src/Our.Umbraco.InvisibleNodes.Tests/Notifications/InvalidateCacheNotificationHandler_Handle_ContentMovingNotification.cs b/src/Our.Umbraco.InvisibleNodes.Tests.Unit/Notifications/InvalidateCacheNotificationHandler_Handle_ContentMovingNotification.cs similarity index 96% rename from src/Our.Umbraco.InvisibleNodes.Tests/Notifications/InvalidateCacheNotificationHandler_Handle_ContentMovingNotification.cs rename to src/Our.Umbraco.InvisibleNodes.Tests.Unit/Notifications/InvalidateCacheNotificationHandler_Handle_ContentMovingNotification.cs index 5988995..dfe443d 100644 --- a/src/Our.Umbraco.InvisibleNodes.Tests/Notifications/InvalidateCacheNotificationHandler_Handle_ContentMovingNotification.cs +++ b/src/Our.Umbraco.InvisibleNodes.Tests.Unit/Notifications/InvalidateCacheNotificationHandler_Handle_ContentMovingNotification.cs @@ -11,7 +11,7 @@ using Umbraco.Cms.Core.Notifications; using Umbraco.Cms.Core.Routing; -namespace Our.Umbraco.InvisibleNodes.Tests.Notifications; +namespace Our.Umbraco.InvisibleNodes.Tests.Unit.Notifications; public class InvalidateCacheNotificationHandler_Handle_ContentMovingNotification { diff --git a/src/Our.Umbraco.InvisibleNodes.Tests/Notifications/InvalidateCacheNotificationHandler_Handle_ContentMovingToRecycleBinNotification.cs b/src/Our.Umbraco.InvisibleNodes.Tests.Unit/Notifications/InvalidateCacheNotificationHandler_Handle_ContentMovingToRecycleBinNotification.cs similarity index 96% rename from src/Our.Umbraco.InvisibleNodes.Tests/Notifications/InvalidateCacheNotificationHandler_Handle_ContentMovingToRecycleBinNotification.cs rename to src/Our.Umbraco.InvisibleNodes.Tests.Unit/Notifications/InvalidateCacheNotificationHandler_Handle_ContentMovingToRecycleBinNotification.cs index dfdec27..d796896 100644 --- a/src/Our.Umbraco.InvisibleNodes.Tests/Notifications/InvalidateCacheNotificationHandler_Handle_ContentMovingToRecycleBinNotification.cs +++ b/src/Our.Umbraco.InvisibleNodes.Tests.Unit/Notifications/InvalidateCacheNotificationHandler_Handle_ContentMovingToRecycleBinNotification.cs @@ -11,7 +11,7 @@ using Umbraco.Cms.Core.Notifications; using Umbraco.Cms.Core.Routing; -namespace Our.Umbraco.InvisibleNodes.Tests.Notifications; +namespace Our.Umbraco.InvisibleNodes.Tests.Unit.Notifications; public class InvalidateCacheNotificationHandler_Handle_ContentMovingToRecycleBinNotification { diff --git a/src/Our.Umbraco.InvisibleNodes.Tests/Notifications/InvalidateCacheNotificationHandler_Handle_ContentSavingNotification.cs b/src/Our.Umbraco.InvisibleNodes.Tests.Unit/Notifications/InvalidateCacheNotificationHandler_Handle_ContentSavingNotification.cs similarity index 96% rename from src/Our.Umbraco.InvisibleNodes.Tests/Notifications/InvalidateCacheNotificationHandler_Handle_ContentSavingNotification.cs rename to src/Our.Umbraco.InvisibleNodes.Tests.Unit/Notifications/InvalidateCacheNotificationHandler_Handle_ContentSavingNotification.cs index 0067c0f..82d70c7 100644 --- a/src/Our.Umbraco.InvisibleNodes.Tests/Notifications/InvalidateCacheNotificationHandler_Handle_ContentSavingNotification.cs +++ b/src/Our.Umbraco.InvisibleNodes.Tests.Unit/Notifications/InvalidateCacheNotificationHandler_Handle_ContentSavingNotification.cs @@ -11,7 +11,7 @@ using Umbraco.Cms.Core.Notifications; using Umbraco.Cms.Core.Routing; -namespace Our.Umbraco.InvisibleNodes.Tests.Notifications; +namespace Our.Umbraco.InvisibleNodes.Tests.Unit.Notifications; public class InvalidateCacheNotificationHandler_Handle_ContentSavingNotification { diff --git a/src/Our.Umbraco.InvisibleNodes.Tests/Notifications/InvalidateCacheNotificationHandler_Handle_ContentUnpublishingNotification.cs b/src/Our.Umbraco.InvisibleNodes.Tests.Unit/Notifications/InvalidateCacheNotificationHandler_Handle_ContentUnpublishingNotification.cs similarity index 96% rename from src/Our.Umbraco.InvisibleNodes.Tests/Notifications/InvalidateCacheNotificationHandler_Handle_ContentUnpublishingNotification.cs rename to src/Our.Umbraco.InvisibleNodes.Tests.Unit/Notifications/InvalidateCacheNotificationHandler_Handle_ContentUnpublishingNotification.cs index f71256a..303315b 100644 --- a/src/Our.Umbraco.InvisibleNodes.Tests/Notifications/InvalidateCacheNotificationHandler_Handle_ContentUnpublishingNotification.cs +++ b/src/Our.Umbraco.InvisibleNodes.Tests.Unit/Notifications/InvalidateCacheNotificationHandler_Handle_ContentUnpublishingNotification.cs @@ -11,7 +11,7 @@ using Umbraco.Cms.Core.Notifications; using Umbraco.Cms.Core.Routing; -namespace Our.Umbraco.InvisibleNodes.Tests.Notifications; +namespace Our.Umbraco.InvisibleNodes.Tests.Unit.Notifications; public class InvalidateCacheNotificationHandler_Handle_ContentUnpublishingNotification { diff --git a/src/Our.Umbraco.InvisibleNodes.Tests/Our.Umbraco.InvisibleNodes.Tests.csproj b/src/Our.Umbraco.InvisibleNodes.Tests.Unit/Our.Umbraco.InvisibleNodes.Tests.Unit.csproj similarity index 94% rename from src/Our.Umbraco.InvisibleNodes.Tests/Our.Umbraco.InvisibleNodes.Tests.csproj rename to src/Our.Umbraco.InvisibleNodes.Tests.Unit/Our.Umbraco.InvisibleNodes.Tests.Unit.csproj index 497c999..2bd1972 100644 --- a/src/Our.Umbraco.InvisibleNodes.Tests/Our.Umbraco.InvisibleNodes.Tests.csproj +++ b/src/Our.Umbraco.InvisibleNodes.Tests.Unit/Our.Umbraco.InvisibleNodes.Tests.Unit.csproj @@ -4,7 +4,6 @@ net6.0;net7.0;net8.0 enable false - Our.Umbraco.InvisibleNodes.Tests diff --git a/src/Our.Umbraco.InvisibleNodes.Tests/Routing/InvisibleNodeUrlProvider_GetOtherUrls.cs b/src/Our.Umbraco.InvisibleNodes.Tests.Unit/Routing/InvisibleNodeUrlProvider_GetOtherUrls.cs similarity index 97% rename from src/Our.Umbraco.InvisibleNodes.Tests/Routing/InvisibleNodeUrlProvider_GetOtherUrls.cs rename to src/Our.Umbraco.InvisibleNodes.Tests.Unit/Routing/InvisibleNodeUrlProvider_GetOtherUrls.cs index 9b62a9d..c37c9b4 100644 --- a/src/Our.Umbraco.InvisibleNodes.Tests/Routing/InvisibleNodeUrlProvider_GetOtherUrls.cs +++ b/src/Our.Umbraco.InvisibleNodes.Tests.Unit/Routing/InvisibleNodeUrlProvider_GetOtherUrls.cs @@ -10,7 +10,7 @@ using Umbraco.Cms.Core.Routing; using Umbraco.Extensions; -namespace Our.Umbraco.InvisibleNodes.Tests.Routing; +namespace Our.Umbraco.InvisibleNodes.Tests.Unit.Routing; public class InvisibleNodeUrlProvider_GetOtherUrls { diff --git a/src/Our.Umbraco.InvisibleNodes.Tests/Routing/InvisibleNodeUrlProvider_GetUrl.cs b/src/Our.Umbraco.InvisibleNodes.Tests.Unit/Routing/InvisibleNodeUrlProvider_GetUrl.cs similarity index 99% rename from src/Our.Umbraco.InvisibleNodes.Tests/Routing/InvisibleNodeUrlProvider_GetUrl.cs rename to src/Our.Umbraco.InvisibleNodes.Tests.Unit/Routing/InvisibleNodeUrlProvider_GetUrl.cs index 9f95ae5..a295ff0 100644 --- a/src/Our.Umbraco.InvisibleNodes.Tests/Routing/InvisibleNodeUrlProvider_GetUrl.cs +++ b/src/Our.Umbraco.InvisibleNodes.Tests.Unit/Routing/InvisibleNodeUrlProvider_GetUrl.cs @@ -8,7 +8,7 @@ using Umbraco.Cms.Core.Web; using Umbraco.Extensions; -namespace Our.Umbraco.InvisibleNodes.Tests.Routing; +namespace Our.Umbraco.InvisibleNodes.Tests.Unit.Routing; public class InvisibleNodeUrlProvider_GetUrl { diff --git a/src/Our.Umbraco.InvisibleNodes.Tests/UmbracoTestHelper.cs b/src/Our.Umbraco.InvisibleNodes.Tests.Unit/UmbracoTestHelper.cs similarity index 98% rename from src/Our.Umbraco.InvisibleNodes.Tests/UmbracoTestHelper.cs rename to src/Our.Umbraco.InvisibleNodes.Tests.Unit/UmbracoTestHelper.cs index b27ba5f..94b9e24 100644 --- a/src/Our.Umbraco.InvisibleNodes.Tests/UmbracoTestHelper.cs +++ b/src/Our.Umbraco.InvisibleNodes.Tests.Unit/UmbracoTestHelper.cs @@ -11,7 +11,7 @@ using Umbraco.Cms.Core.Routing; using Umbraco.Cms.Core.Web; -namespace Our.Umbraco.InvisibleNodes.Tests; +namespace Our.Umbraco.InvisibleNodes.Tests.Unit; public static class UmbracoTestHelper { diff --git a/src/Our.Umbraco.InvisibleNodes.Tests/Usings.cs b/src/Our.Umbraco.InvisibleNodes.Tests.Unit/Usings.cs similarity index 100% rename from src/Our.Umbraco.InvisibleNodes.Tests/Usings.cs rename to src/Our.Umbraco.InvisibleNodes.Tests.Unit/Usings.cs diff --git a/src/Our.Umbraco.InvisibleNodes.Tests/packages.lock.json b/src/Our.Umbraco.InvisibleNodes.Tests.Unit/packages.lock.json similarity index 100% rename from src/Our.Umbraco.InvisibleNodes.Tests/packages.lock.json rename to src/Our.Umbraco.InvisibleNodes.Tests.Unit/packages.lock.json diff --git a/src/Our.Umbraco.InvisibleNodes.sln b/src/Our.Umbraco.InvisibleNodes.sln index c81355a..1e7896d 100644 --- a/src/Our.Umbraco.InvisibleNodes.sln +++ b/src/Our.Umbraco.InvisibleNodes.sln @@ -5,7 +5,7 @@ VisualStudioVersion = 17.0.31903.59 MinimumVisualStudioVersion = 10.0.40219.1 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Our.Umbraco.InvisibleNodes", "Our.Umbraco.InvisibleNodes\Our.Umbraco.InvisibleNodes.csproj", "{75CB6D92-3214-406E-A9C5-97E79AA84B8C}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Our.Umbraco.InvisibleNodes.Tests", "Our.Umbraco.InvisibleNodes.Tests\Our.Umbraco.InvisibleNodes.Tests.csproj", "{8B146C7C-ECA7-47C5-B075-5BF2C87A10FB}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Our.Umbraco.InvisibleNodes.Tests.Unit", "Our.Umbraco.InvisibleNodes.Tests.Unit\Our.Umbraco.InvisibleNodes.Tests.Unit.csproj", "{8B146C7C-ECA7-47C5-B075-5BF2C87A10FB}" EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Package", "Package", "{786844FD-1815-4389-9C7A-37EFE2624101}" EndProject