From 3334d8c12f877d87011c52cb3bed083841b6c6bf Mon Sep 17 00:00:00 2001 From: Hocine Hacherouf Date: Mon, 8 Aug 2022 15:45:17 +0200 Subject: [PATCH] Rename unit test project #1018 --- .../AzureIoTHub.Portal.Tests.Unit.csproj} | 2 +- .../BackendUnitTest.cs | 0 .../BlazorUnitTest.cs | 0 .../Client}/Constants/ThemeTests.cs | 4 +- .../Converters/StringToBoolConverterTests.cs | 0 .../DevelopmentConfigHandlerTests.cs | 0 .../InternalServerErrorExceptionTests.cs | 0 .../ApplicationBuilderExtensionTests.cs | 0 .../ProblemDetailsExtensionsTests.cs | 0 .../ProblemDetailsOptionsExtensionsTests.cs | 0 .../Extensions/StringExtensionTests.cs | 0 .../Factories/TableClientFactoryTests.cs | 0 .../LoRaFeatureActiveFilterAttributeTest.cs | 0 .../Handlers/ProblemDetailsHandlerTests.cs | 0 .../Helpers/ConfigHelperTest.cs | 0 .../Helpers/DeviceHelperTests.cs | 0 .../Helpers/HelpersTest.cs | 0 .../Helpers/MockHttpHelper.cs | 0 .../DeviceModelCommandsManagerTests.cs | 0 .../Managers/DeviceModelImageManagerTest.cs | 0 .../DeviceProvisioningServiceManagerTests.cs | 0 .../Managers/LoraDeviceMethodManagerTests.cs | 0 .../Managers/RouterConfigManagerTests.cs | 0 .../Mappers/ConcentratorTwinMapperTests.cs | 0 .../Mappers/DeviceModelCommandMapperTests.cs | 0 .../Mappers/DeviceModelMapperTests.cs | 0 .../Mappers/DeviceTagMapperTests.cs | 0 .../Mappers/DeviceTwinMapperTests.cs | 0 .../Mappers/LoRaDeviceModelMapperTests.cs | 0 .../Mappers/LoRaDeviceTwinMapperTests.cs | 0 ...kProvisioningServiceClientHttpException.cs | 0 .../Mocks/MockResizeObserver.cs | 0 .../Pages/Configurations/ConfigDetailTests.cs | 0 .../Pages/Configurations/ConfigsTests.cs | 0 .../EdgeModule/ModuleDialogTab1Tests.cs | 0 .../EdgeModule/ModuleDialogTab2Tests.cs | 0 .../EdgeModule/ModuleDialogTab3Tests.cs | 0 .../EdgeModule/ModuleDialogTests.cs | 0 .../Dashboard/DashboardMetricCounterTests.cs | 0 .../Pages/Dashboard/DashboardMetricsTests.cs | 0 .../Pages/Dashboard/DashboardTests.cs | 0 .../CreateDeviceConfigurationsPageTests.cs | 0 .../DeleteDeviceConfigurationTests.cs | 0 .../DeviceConfigurationDetailPageTests.cs | 0 .../DeviceConfigurationListPageTests.cs | 0 .../Devices/ConnectionStringDialogTests.cs | 186 +++++++++--------- .../Pages/Devices/CreateDevicePageTests.cs | 0 .../Pages/Devices/DeviceDetailPageTests.cs | 0 .../Devices/DeviceToDuplicateSelectorTests.cs | 0 .../Pages/Devices/DevicesListPageTests.cs | 0 .../CreateDeviceModelPageTests.cs | 0 .../DeviceModelDetailsPageTests.cs | 0 .../DevicesModels/DeviceModelListPageTests.cs | 0 .../LoRaWAN/CreateLoRaDeviceModelPageTests.cs | 0 .../LoRaWAN/EditLoraDeviceModelPageTests.cs | 0 .../ConnectionStringDialogTests.cs | 0 .../CreateEdgeDeviceDialogTests.cs | 0 ...EdgeDeviceDeleteConfirmationDialogTests.cs | 0 .../EdgeDevices/EdgeDeviceDetailPageTests.cs | 0 .../EdgeDevices/EdgeDeviceListPageTests.cs | 0 .../EdgeDevices/ModuleLogsDialogTests.cs | 0 .../Pages/Ideas/SubmitIdeaDialogTests.cs | 0 .../Pages/IndexTests.cs | 0 .../ConcentratorDetailPageTests.cs | 0 .../Concentrator/ConcentratorListPageTests.cs | 0 .../CreateConcentratorPageTest.cs | 0 .../DeleteConcentratorPageTests.cs | 0 .../Pages/Settings/DeviceTagsPageTests.cs | 0 .../Pages/Shared/AppbarTests.cs | 0 .../Pages/Shared/ErrorTests.cs | 0 .../Pages/Shared/MainLayoutTests.cs | 0 .../Pages/Shared/NavMenuTests.cs | 0 .../Pages/Shared/PortalFooterTests.cs | 0 .../Pages/Shared/ProblemDetailsDialogTests.cs | 0 .../ProductionConfigHandlerTests.cs | 0 .../v1.0/DashboardControllerTests.cs | 0 .../DeviceConfigurationsControllerTests.cs | 0 .../DeviceModelPropertiesControllerTests.cs | 0 .../v1.0/DeviceModelsControllerTests.cs | 0 .../v1.0/DeviceTagSettingsControllerTest.cs | 0 .../v1.0/DevicesControllerTests.cs | 0 .../v1.0/EdgeConfigurationsControllerTests.cs | 0 .../v1.0/EdgeDevicesControllerTests.cs | 0 .../Controllers/v1.0/IdeasControllerTests.cs | 0 .../LoRaWAN/LoRaWANCommandsControllerTests.cs | 0 .../LoRaWANConcentratorsControllerTest.cs | 0 .../LoRaWANDeviceModelsControllerTest.cs | 0 .../LoRaWAN/LoRaWANDevicesControllerTests.cs | 0 .../LoRaWANFrequencyPlansControllerTests.cs | 0 .../v1.0/SettingsControllerTest.cs | 0 .../Services/ClipboardServiceTests.cs | 0 .../ConcentratorMetricExporterServiceTests.cs | 0 .../ConcentratorMetricLoaderServiceTests.cs | 0 .../Services/ConfigsServicesTests.cs | 0 .../Services/DashboardLayoutServiceTests.cs | 0 .../DashboardMetricsClientServiceTests.cs | 0 .../Services/DeviceClientServiceTests.cs | 0 .../DeviceConfigurationsClientServiceTests.cs | 0 .../Services/DeviceLayoutServiceTests.cs | 0 .../DeviceMetricExporterServiceTests.cs | 0 .../DeviceMetricLoaderServiceTests.cs | 0 .../DeviceModelsClientServiceTests.cs | 0 .../Services/DeviceServiceTests.cs | 0 .../Services/DeviceTagServiceTests.cs | 0 .../DeviceTagSettingsClientServiceTests.cs | 0 .../Services/EdgeDeviceClientServiceTests.cs | 0 ...eDeviceConfigurationsClientServiceTests.cs | 0 .../EdgeDeviceMetricExporterServiceTests.cs | 0 .../EdgeDeviceMetricLoaderServiceTests.cs | 0 .../Services/IdeaClientServiceTests.cs | 0 .../Services/IdeaServiceTests.cs | 0 .../Services/LayoutServiceTests.cs | 0 .../Services/LoRaWANCommandServiceTests.cs | 0 .../LoRaWanConcentratorsClientServiceTests.cs | 0 .../LoRaWanDeviceClientServiceTests.cs | 0 .../LoRaWanDeviceModelsClientServiceTests.cs | 0 .../HealthCheckResponseWriterTests.cs | 0 .../IoTHubHealthCheckTest.cs | 0 .../LoRaManagementKeyFacadeHealthCheckTest.cs | 0 ...rovisioningServiceClientHealthCheckTest.cs | 0 .../StorageAccountHealthCheckTest.cs | 0 .../TableStorageHealthCheckTest.cs | 0 .../UnitTestsAssemblyInfo.cs | 0 .../Validators/ConcentratorValidatorTests.cs | 0 .../Validators/DeviceDetailValidatorTests.cs | 0 .../Validators/DeviceModelValidatorTests.cs | 0 .../DevicePropertyValidatorTests.cs | 0 .../LoRaDeviceDetailsValidatorTests.cs | 0 .../LoRaDeviceModelCommandValidatorTests.cs | 0 .../LoRaDeviceModelValidatorTests.cs | 0 src/AzureIoTHub.Portal.sln | 2 +- 131 files changed, 97 insertions(+), 97 deletions(-) rename src/{AzureIoTHub.Portal.Server.Tests.Unit/AzureIoTHub.Portal.Server.Tests.Unit.csproj => AzureIoTHub.Portal.Tests.Unit/AzureIoTHub.Portal.Tests.Unit.csproj} (98%) rename src/{AzureIoTHub.Portal.Server.Tests.Unit => AzureIoTHub.Portal.Tests.Unit}/BackendUnitTest.cs (100%) rename src/{AzureIoTHub.Portal.Server.Tests.Unit => AzureIoTHub.Portal.Tests.Unit}/BlazorUnitTest.cs (100%) rename src/{AzureIoTHub.Portal.Server.Tests.Unit => AzureIoTHub.Portal.Tests.Unit/Client}/Constants/ThemeTests.cs (85%) rename src/{AzureIoTHub.Portal.Server.Tests.Unit => AzureIoTHub.Portal.Tests.Unit}/Converters/StringToBoolConverterTests.cs (100%) rename src/{AzureIoTHub.Portal.Server.Tests.Unit => AzureIoTHub.Portal.Tests.Unit}/DevelopmentConfigHandlerTests.cs (100%) rename src/{AzureIoTHub.Portal.Server.Tests.Unit => AzureIoTHub.Portal.Tests.Unit}/Exceptions/InternalServerErrorExceptionTests.cs (100%) rename src/{AzureIoTHub.Portal.Server.Tests.Unit => AzureIoTHub.Portal.Tests.Unit}/Extensions/ApplicationBuilderExtensionTests.cs (100%) rename src/{AzureIoTHub.Portal.Server.Tests.Unit => AzureIoTHub.Portal.Tests.Unit}/Extensions/ProblemDetailsExtensionsTests.cs (100%) rename src/{AzureIoTHub.Portal.Server.Tests.Unit => AzureIoTHub.Portal.Tests.Unit}/Extensions/ProblemDetailsOptionsExtensionsTests.cs (100%) rename src/{AzureIoTHub.Portal.Server.Tests.Unit => AzureIoTHub.Portal.Tests.Unit}/Extensions/StringExtensionTests.cs (100%) rename src/{AzureIoTHub.Portal.Server.Tests.Unit => AzureIoTHub.Portal.Tests.Unit}/Factories/TableClientFactoryTests.cs (100%) rename src/{AzureIoTHub.Portal.Server.Tests.Unit => AzureIoTHub.Portal.Tests.Unit}/Filters/LoRaFeatureActiveFilterAttributeTest.cs (100%) rename src/{AzureIoTHub.Portal.Server.Tests.Unit => AzureIoTHub.Portal.Tests.Unit}/Handlers/ProblemDetailsHandlerTests.cs (100%) rename src/{AzureIoTHub.Portal.Server.Tests.Unit => AzureIoTHub.Portal.Tests.Unit}/Helpers/ConfigHelperTest.cs (100%) rename src/{AzureIoTHub.Portal.Server.Tests.Unit => AzureIoTHub.Portal.Tests.Unit}/Helpers/DeviceHelperTests.cs (100%) rename src/{AzureIoTHub.Portal.Server.Tests.Unit => AzureIoTHub.Portal.Tests.Unit}/Helpers/HelpersTest.cs (100%) rename src/{AzureIoTHub.Portal.Server.Tests.Unit => AzureIoTHub.Portal.Tests.Unit}/Helpers/MockHttpHelper.cs (100%) rename src/{AzureIoTHub.Portal.Server.Tests.Unit => AzureIoTHub.Portal.Tests.Unit}/Managers/DeviceModelCommandsManagerTests.cs (100%) rename src/{AzureIoTHub.Portal.Server.Tests.Unit => AzureIoTHub.Portal.Tests.Unit}/Managers/DeviceModelImageManagerTest.cs (100%) rename src/{AzureIoTHub.Portal.Server.Tests.Unit => AzureIoTHub.Portal.Tests.Unit}/Managers/DeviceProvisioningServiceManagerTests.cs (100%) rename src/{AzureIoTHub.Portal.Server.Tests.Unit => AzureIoTHub.Portal.Tests.Unit}/Managers/LoraDeviceMethodManagerTests.cs (100%) rename src/{AzureIoTHub.Portal.Server.Tests.Unit => AzureIoTHub.Portal.Tests.Unit}/Managers/RouterConfigManagerTests.cs (100%) rename src/{AzureIoTHub.Portal.Server.Tests.Unit => AzureIoTHub.Portal.Tests.Unit}/Mappers/ConcentratorTwinMapperTests.cs (100%) rename src/{AzureIoTHub.Portal.Server.Tests.Unit => AzureIoTHub.Portal.Tests.Unit}/Mappers/DeviceModelCommandMapperTests.cs (100%) rename src/{AzureIoTHub.Portal.Server.Tests.Unit => AzureIoTHub.Portal.Tests.Unit}/Mappers/DeviceModelMapperTests.cs (100%) rename src/{AzureIoTHub.Portal.Server.Tests.Unit => AzureIoTHub.Portal.Tests.Unit}/Mappers/DeviceTagMapperTests.cs (100%) rename src/{AzureIoTHub.Portal.Server.Tests.Unit => AzureIoTHub.Portal.Tests.Unit}/Mappers/DeviceTwinMapperTests.cs (100%) rename src/{AzureIoTHub.Portal.Server.Tests.Unit => AzureIoTHub.Portal.Tests.Unit}/Mappers/LoRaDeviceModelMapperTests.cs (100%) rename src/{AzureIoTHub.Portal.Server.Tests.Unit => AzureIoTHub.Portal.Tests.Unit}/Mappers/LoRaDeviceTwinMapperTests.cs (100%) rename src/{AzureIoTHub.Portal.Server.Tests.Unit => AzureIoTHub.Portal.Tests.Unit}/MockProvisioningServiceClientHttpException.cs (100%) rename src/{AzureIoTHub.Portal.Server.Tests.Unit => AzureIoTHub.Portal.Tests.Unit}/Mocks/MockResizeObserver.cs (100%) rename src/{AzureIoTHub.Portal.Server.Tests.Unit => AzureIoTHub.Portal.Tests.Unit}/Pages/Configurations/ConfigDetailTests.cs (100%) rename src/{AzureIoTHub.Portal.Server.Tests.Unit => AzureIoTHub.Portal.Tests.Unit}/Pages/Configurations/ConfigsTests.cs (100%) rename src/{AzureIoTHub.Portal.Server.Tests.Unit => AzureIoTHub.Portal.Tests.Unit}/Pages/Configurations/EdgeModule/ModuleDialogTab1Tests.cs (100%) rename src/{AzureIoTHub.Portal.Server.Tests.Unit => AzureIoTHub.Portal.Tests.Unit}/Pages/Configurations/EdgeModule/ModuleDialogTab2Tests.cs (100%) rename src/{AzureIoTHub.Portal.Server.Tests.Unit => AzureIoTHub.Portal.Tests.Unit}/Pages/Configurations/EdgeModule/ModuleDialogTab3Tests.cs (100%) rename src/{AzureIoTHub.Portal.Server.Tests.Unit => AzureIoTHub.Portal.Tests.Unit}/Pages/Configurations/EdgeModule/ModuleDialogTests.cs (100%) rename src/{AzureIoTHub.Portal.Server.Tests.Unit => AzureIoTHub.Portal.Tests.Unit}/Pages/Dashboard/DashboardMetricCounterTests.cs (100%) rename src/{AzureIoTHub.Portal.Server.Tests.Unit => AzureIoTHub.Portal.Tests.Unit}/Pages/Dashboard/DashboardMetricsTests.cs (100%) rename src/{AzureIoTHub.Portal.Server.Tests.Unit => AzureIoTHub.Portal.Tests.Unit}/Pages/Dashboard/DashboardTests.cs (100%) rename src/{AzureIoTHub.Portal.Server.Tests.Unit => AzureIoTHub.Portal.Tests.Unit}/Pages/DeviceConfigurations/CreateDeviceConfigurationsPageTests.cs (100%) rename src/{AzureIoTHub.Portal.Server.Tests.Unit => AzureIoTHub.Portal.Tests.Unit}/Pages/DeviceConfigurations/DeleteDeviceConfigurationTests.cs (100%) rename src/{AzureIoTHub.Portal.Server.Tests.Unit => AzureIoTHub.Portal.Tests.Unit}/Pages/DeviceConfigurations/DeviceConfigurationDetailPageTests.cs (100%) rename src/{AzureIoTHub.Portal.Server.Tests.Unit => AzureIoTHub.Portal.Tests.Unit}/Pages/DeviceConfigurations/DeviceConfigurationListPageTests.cs (100%) rename src/{AzureIoTHub.Portal.Server.Tests.Unit => AzureIoTHub.Portal.Tests.Unit}/Pages/Devices/ConnectionStringDialogTests.cs (97%) mode change 100755 => 100644 rename src/{AzureIoTHub.Portal.Server.Tests.Unit => AzureIoTHub.Portal.Tests.Unit}/Pages/Devices/CreateDevicePageTests.cs (100%) rename src/{AzureIoTHub.Portal.Server.Tests.Unit => AzureIoTHub.Portal.Tests.Unit}/Pages/Devices/DeviceDetailPageTests.cs (100%) rename src/{AzureIoTHub.Portal.Server.Tests.Unit => AzureIoTHub.Portal.Tests.Unit}/Pages/Devices/DeviceToDuplicateSelectorTests.cs (100%) rename src/{AzureIoTHub.Portal.Server.Tests.Unit => AzureIoTHub.Portal.Tests.Unit}/Pages/Devices/DevicesListPageTests.cs (100%) rename src/{AzureIoTHub.Portal.Server.Tests.Unit => AzureIoTHub.Portal.Tests.Unit}/Pages/DevicesModels/CreateDeviceModelPageTests.cs (100%) rename src/{AzureIoTHub.Portal.Server.Tests.Unit => AzureIoTHub.Portal.Tests.Unit}/Pages/DevicesModels/DeviceModelDetailsPageTests.cs (100%) rename src/{AzureIoTHub.Portal.Server.Tests.Unit => AzureIoTHub.Portal.Tests.Unit}/Pages/DevicesModels/DeviceModelListPageTests.cs (100%) rename src/{AzureIoTHub.Portal.Server.Tests.Unit => AzureIoTHub.Portal.Tests.Unit}/Pages/DevicesModels/LoRaWAN/CreateLoRaDeviceModelPageTests.cs (100%) rename src/{AzureIoTHub.Portal.Server.Tests.Unit => AzureIoTHub.Portal.Tests.Unit}/Pages/DevicesModels/LoRaWAN/EditLoraDeviceModelPageTests.cs (100%) rename src/{AzureIoTHub.Portal.Server.Tests.Unit => AzureIoTHub.Portal.Tests.Unit}/Pages/EdgeDevices/ConnectionStringDialogTests.cs (100%) rename src/{AzureIoTHub.Portal.Server.Tests.Unit => AzureIoTHub.Portal.Tests.Unit}/Pages/EdgeDevices/CreateEdgeDeviceDialogTests.cs (100%) rename src/{AzureIoTHub.Portal.Server.Tests.Unit => AzureIoTHub.Portal.Tests.Unit}/Pages/EdgeDevices/EdgeDeviceDeleteConfirmationDialogTests.cs (100%) rename src/{AzureIoTHub.Portal.Server.Tests.Unit => AzureIoTHub.Portal.Tests.Unit}/Pages/EdgeDevices/EdgeDeviceDetailPageTests.cs (100%) rename src/{AzureIoTHub.Portal.Server.Tests.Unit => AzureIoTHub.Portal.Tests.Unit}/Pages/EdgeDevices/EdgeDeviceListPageTests.cs (100%) rename src/{AzureIoTHub.Portal.Server.Tests.Unit => AzureIoTHub.Portal.Tests.Unit}/Pages/EdgeDevices/ModuleLogsDialogTests.cs (100%) rename src/{AzureIoTHub.Portal.Server.Tests.Unit => AzureIoTHub.Portal.Tests.Unit}/Pages/Ideas/SubmitIdeaDialogTests.cs (100%) rename src/{AzureIoTHub.Portal.Server.Tests.Unit => AzureIoTHub.Portal.Tests.Unit}/Pages/IndexTests.cs (100%) rename src/{AzureIoTHub.Portal.Server.Tests.Unit => AzureIoTHub.Portal.Tests.Unit}/Pages/LoRaWan/Concentrator/ConcentratorDetailPageTests.cs (100%) rename src/{AzureIoTHub.Portal.Server.Tests.Unit => AzureIoTHub.Portal.Tests.Unit}/Pages/LoRaWan/Concentrator/ConcentratorListPageTests.cs (100%) rename src/{AzureIoTHub.Portal.Server.Tests.Unit => AzureIoTHub.Portal.Tests.Unit}/Pages/LoRaWan/Concentrator/CreateConcentratorPageTest.cs (100%) rename src/{AzureIoTHub.Portal.Server.Tests.Unit => AzureIoTHub.Portal.Tests.Unit}/Pages/LoRaWan/Concentrator/DeleteConcentratorPageTests.cs (100%) rename src/{AzureIoTHub.Portal.Server.Tests.Unit => AzureIoTHub.Portal.Tests.Unit}/Pages/Settings/DeviceTagsPageTests.cs (100%) rename src/{AzureIoTHub.Portal.Server.Tests.Unit => AzureIoTHub.Portal.Tests.Unit}/Pages/Shared/AppbarTests.cs (100%) rename src/{AzureIoTHub.Portal.Server.Tests.Unit => AzureIoTHub.Portal.Tests.Unit}/Pages/Shared/ErrorTests.cs (100%) rename src/{AzureIoTHub.Portal.Server.Tests.Unit => AzureIoTHub.Portal.Tests.Unit}/Pages/Shared/MainLayoutTests.cs (100%) rename src/{AzureIoTHub.Portal.Server.Tests.Unit => AzureIoTHub.Portal.Tests.Unit}/Pages/Shared/NavMenuTests.cs (100%) rename src/{AzureIoTHub.Portal.Server.Tests.Unit => AzureIoTHub.Portal.Tests.Unit}/Pages/Shared/PortalFooterTests.cs (100%) rename src/{AzureIoTHub.Portal.Server.Tests.Unit => AzureIoTHub.Portal.Tests.Unit}/Pages/Shared/ProblemDetailsDialogTests.cs (100%) rename src/{AzureIoTHub.Portal.Server.Tests.Unit => AzureIoTHub.Portal.Tests.Unit}/ProductionConfigHandlerTests.cs (100%) rename src/{AzureIoTHub.Portal.Server.Tests.Unit => AzureIoTHub.Portal.Tests.Unit/Server}/Controllers/v1.0/DashboardControllerTests.cs (100%) rename src/{AzureIoTHub.Portal.Server.Tests.Unit => AzureIoTHub.Portal.Tests.Unit/Server}/Controllers/v1.0/DeviceConfigurationsControllerTests.cs (100%) rename src/{AzureIoTHub.Portal.Server.Tests.Unit => AzureIoTHub.Portal.Tests.Unit/Server}/Controllers/v1.0/DeviceModelPropertiesControllerTests.cs (100%) rename src/{AzureIoTHub.Portal.Server.Tests.Unit => AzureIoTHub.Portal.Tests.Unit/Server}/Controllers/v1.0/DeviceModelsControllerTests.cs (100%) rename src/{AzureIoTHub.Portal.Server.Tests.Unit => AzureIoTHub.Portal.Tests.Unit/Server}/Controllers/v1.0/DeviceTagSettingsControllerTest.cs (100%) rename src/{AzureIoTHub.Portal.Server.Tests.Unit => AzureIoTHub.Portal.Tests.Unit/Server}/Controllers/v1.0/DevicesControllerTests.cs (100%) rename src/{AzureIoTHub.Portal.Server.Tests.Unit => AzureIoTHub.Portal.Tests.Unit/Server}/Controllers/v1.0/EdgeConfigurationsControllerTests.cs (100%) rename src/{AzureIoTHub.Portal.Server.Tests.Unit => AzureIoTHub.Portal.Tests.Unit/Server}/Controllers/v1.0/EdgeDevicesControllerTests.cs (100%) rename src/{AzureIoTHub.Portal.Server.Tests.Unit => AzureIoTHub.Portal.Tests.Unit/Server}/Controllers/v1.0/IdeasControllerTests.cs (100%) rename src/{AzureIoTHub.Portal.Server.Tests.Unit => AzureIoTHub.Portal.Tests.Unit/Server}/Controllers/v1.0/LoRaWAN/LoRaWANCommandsControllerTests.cs (100%) rename src/{AzureIoTHub.Portal.Server.Tests.Unit => AzureIoTHub.Portal.Tests.Unit/Server}/Controllers/v1.0/LoRaWAN/LoRaWANConcentratorsControllerTest.cs (100%) rename src/{AzureIoTHub.Portal.Server.Tests.Unit => AzureIoTHub.Portal.Tests.Unit/Server}/Controllers/v1.0/LoRaWAN/LoRaWANDeviceModelsControllerTest.cs (100%) rename src/{AzureIoTHub.Portal.Server.Tests.Unit => AzureIoTHub.Portal.Tests.Unit/Server}/Controllers/v1.0/LoRaWAN/LoRaWANDevicesControllerTests.cs (100%) rename src/{AzureIoTHub.Portal.Server.Tests.Unit => AzureIoTHub.Portal.Tests.Unit/Server}/Controllers/v1.0/LoRaWAN/LoRaWANFrequencyPlansControllerTests.cs (100%) rename src/{AzureIoTHub.Portal.Server.Tests.Unit => AzureIoTHub.Portal.Tests.Unit/Server}/Controllers/v1.0/SettingsControllerTest.cs (100%) rename src/{AzureIoTHub.Portal.Server.Tests.Unit => AzureIoTHub.Portal.Tests.Unit}/Services/ClipboardServiceTests.cs (100%) rename src/{AzureIoTHub.Portal.Server.Tests.Unit => AzureIoTHub.Portal.Tests.Unit}/Services/ConcentratorMetricExporterServiceTests.cs (100%) rename src/{AzureIoTHub.Portal.Server.Tests.Unit => AzureIoTHub.Portal.Tests.Unit}/Services/ConcentratorMetricLoaderServiceTests.cs (100%) rename src/{AzureIoTHub.Portal.Server.Tests.Unit => AzureIoTHub.Portal.Tests.Unit}/Services/ConfigsServicesTests.cs (100%) rename src/{AzureIoTHub.Portal.Server.Tests.Unit => AzureIoTHub.Portal.Tests.Unit}/Services/DashboardLayoutServiceTests.cs (100%) rename src/{AzureIoTHub.Portal.Server.Tests.Unit => AzureIoTHub.Portal.Tests.Unit}/Services/DashboardMetricsClientServiceTests.cs (100%) rename src/{AzureIoTHub.Portal.Server.Tests.Unit => AzureIoTHub.Portal.Tests.Unit}/Services/DeviceClientServiceTests.cs (100%) rename src/{AzureIoTHub.Portal.Server.Tests.Unit => AzureIoTHub.Portal.Tests.Unit}/Services/DeviceConfigurationsClientServiceTests.cs (100%) rename src/{AzureIoTHub.Portal.Server.Tests.Unit => AzureIoTHub.Portal.Tests.Unit}/Services/DeviceLayoutServiceTests.cs (100%) rename src/{AzureIoTHub.Portal.Server.Tests.Unit => AzureIoTHub.Portal.Tests.Unit}/Services/DeviceMetricExporterServiceTests.cs (100%) rename src/{AzureIoTHub.Portal.Server.Tests.Unit => AzureIoTHub.Portal.Tests.Unit}/Services/DeviceMetricLoaderServiceTests.cs (100%) rename src/{AzureIoTHub.Portal.Server.Tests.Unit => AzureIoTHub.Portal.Tests.Unit}/Services/DeviceModelsClientServiceTests.cs (100%) rename src/{AzureIoTHub.Portal.Server.Tests.Unit => AzureIoTHub.Portal.Tests.Unit}/Services/DeviceServiceTests.cs (100%) rename src/{AzureIoTHub.Portal.Server.Tests.Unit => AzureIoTHub.Portal.Tests.Unit}/Services/DeviceTagServiceTests.cs (100%) rename src/{AzureIoTHub.Portal.Server.Tests.Unit => AzureIoTHub.Portal.Tests.Unit}/Services/DeviceTagSettingsClientServiceTests.cs (100%) rename src/{AzureIoTHub.Portal.Server.Tests.Unit => AzureIoTHub.Portal.Tests.Unit}/Services/EdgeDeviceClientServiceTests.cs (100%) rename src/{AzureIoTHub.Portal.Server.Tests.Unit => AzureIoTHub.Portal.Tests.Unit}/Services/EdgeDeviceConfigurationsClientServiceTests.cs (100%) rename src/{AzureIoTHub.Portal.Server.Tests.Unit => AzureIoTHub.Portal.Tests.Unit}/Services/EdgeDeviceMetricExporterServiceTests.cs (100%) rename src/{AzureIoTHub.Portal.Server.Tests.Unit => AzureIoTHub.Portal.Tests.Unit}/Services/EdgeDeviceMetricLoaderServiceTests.cs (100%) rename src/{AzureIoTHub.Portal.Server.Tests.Unit => AzureIoTHub.Portal.Tests.Unit}/Services/IdeaClientServiceTests.cs (100%) rename src/{AzureIoTHub.Portal.Server.Tests.Unit => AzureIoTHub.Portal.Tests.Unit}/Services/IdeaServiceTests.cs (100%) rename src/{AzureIoTHub.Portal.Server.Tests.Unit => AzureIoTHub.Portal.Tests.Unit}/Services/LayoutServiceTests.cs (100%) rename src/{AzureIoTHub.Portal.Server.Tests.Unit => AzureIoTHub.Portal.Tests.Unit}/Services/LoRaWANCommandServiceTests.cs (100%) rename src/{AzureIoTHub.Portal.Server.Tests.Unit => AzureIoTHub.Portal.Tests.Unit}/Services/LoRaWanConcentratorsClientServiceTests.cs (100%) rename src/{AzureIoTHub.Portal.Server.Tests.Unit => AzureIoTHub.Portal.Tests.Unit}/Services/LoRaWanDeviceClientServiceTests.cs (100%) rename src/{AzureIoTHub.Portal.Server.Tests.Unit => AzureIoTHub.Portal.Tests.Unit}/Services/LoRaWanDeviceModelsClientServiceTests.cs (100%) rename src/{AzureIoTHub.Portal.Server.Tests.Unit => AzureIoTHub.Portal.Tests.Unit}/ServicesHealthCheck/HealthCheckResponseWriterTests.cs (100%) rename src/{AzureIoTHub.Portal.Server.Tests.Unit => AzureIoTHub.Portal.Tests.Unit}/ServicesHealthCheck/IoTHubHealthCheckTest.cs (100%) rename src/{AzureIoTHub.Portal.Server.Tests.Unit => AzureIoTHub.Portal.Tests.Unit}/ServicesHealthCheck/LoRaManagementKeyFacadeHealthCheckTest.cs (100%) rename src/{AzureIoTHub.Portal.Server.Tests.Unit => AzureIoTHub.Portal.Tests.Unit}/ServicesHealthCheck/ProvisioningServiceClientHealthCheckTest.cs (100%) rename src/{AzureIoTHub.Portal.Server.Tests.Unit => AzureIoTHub.Portal.Tests.Unit}/ServicesHealthCheck/StorageAccountHealthCheckTest.cs (100%) rename src/{AzureIoTHub.Portal.Server.Tests.Unit => AzureIoTHub.Portal.Tests.Unit}/ServicesHealthCheck/TableStorageHealthCheckTest.cs (100%) rename src/{AzureIoTHub.Portal.Server.Tests.Unit => AzureIoTHub.Portal.Tests.Unit}/UnitTestsAssemblyInfo.cs (100%) rename src/{AzureIoTHub.Portal.Server.Tests.Unit => AzureIoTHub.Portal.Tests.Unit}/Validators/ConcentratorValidatorTests.cs (100%) rename src/{AzureIoTHub.Portal.Server.Tests.Unit => AzureIoTHub.Portal.Tests.Unit}/Validators/DeviceDetailValidatorTests.cs (100%) rename src/{AzureIoTHub.Portal.Server.Tests.Unit => AzureIoTHub.Portal.Tests.Unit}/Validators/DeviceModelValidatorTests.cs (100%) rename src/{AzureIoTHub.Portal.Server.Tests.Unit => AzureIoTHub.Portal.Tests.Unit}/Validators/DevicePropertyValidatorTests.cs (100%) rename src/{AzureIoTHub.Portal.Server.Tests.Unit => AzureIoTHub.Portal.Tests.Unit}/Validators/LoRaDeviceDetailsValidatorTests.cs (100%) rename src/{AzureIoTHub.Portal.Server.Tests.Unit => AzureIoTHub.Portal.Tests.Unit}/Validators/LoRaDeviceModelCommandValidatorTests.cs (100%) rename src/{AzureIoTHub.Portal.Server.Tests.Unit => AzureIoTHub.Portal.Tests.Unit}/Validators/LoRaDeviceModelValidatorTests.cs (100%) diff --git a/src/AzureIoTHub.Portal.Server.Tests.Unit/AzureIoTHub.Portal.Server.Tests.Unit.csproj b/src/AzureIoTHub.Portal.Tests.Unit/AzureIoTHub.Portal.Tests.Unit.csproj similarity index 98% rename from src/AzureIoTHub.Portal.Server.Tests.Unit/AzureIoTHub.Portal.Server.Tests.Unit.csproj rename to src/AzureIoTHub.Portal.Tests.Unit/AzureIoTHub.Portal.Tests.Unit.csproj index 286456af8..21591fac7 100644 --- a/src/AzureIoTHub.Portal.Server.Tests.Unit/AzureIoTHub.Portal.Server.Tests.Unit.csproj +++ b/src/AzureIoTHub.Portal.Tests.Unit/AzureIoTHub.Portal.Tests.Unit.csproj @@ -50,7 +50,7 @@ - + diff --git a/src/AzureIoTHub.Portal.Server.Tests.Unit/BackendUnitTest.cs b/src/AzureIoTHub.Portal.Tests.Unit/BackendUnitTest.cs similarity index 100% rename from src/AzureIoTHub.Portal.Server.Tests.Unit/BackendUnitTest.cs rename to src/AzureIoTHub.Portal.Tests.Unit/BackendUnitTest.cs diff --git a/src/AzureIoTHub.Portal.Server.Tests.Unit/BlazorUnitTest.cs b/src/AzureIoTHub.Portal.Tests.Unit/BlazorUnitTest.cs similarity index 100% rename from src/AzureIoTHub.Portal.Server.Tests.Unit/BlazorUnitTest.cs rename to src/AzureIoTHub.Portal.Tests.Unit/BlazorUnitTest.cs diff --git a/src/AzureIoTHub.Portal.Server.Tests.Unit/Constants/ThemeTests.cs b/src/AzureIoTHub.Portal.Tests.Unit/Client/Constants/ThemeTests.cs similarity index 85% rename from src/AzureIoTHub.Portal.Server.Tests.Unit/Constants/ThemeTests.cs rename to src/AzureIoTHub.Portal.Tests.Unit/Client/Constants/ThemeTests.cs index 6dd4974e7..4c2f46abb 100644 --- a/src/AzureIoTHub.Portal.Server.Tests.Unit/Constants/ThemeTests.cs +++ b/src/AzureIoTHub.Portal.Tests.Unit/Client/Constants/ThemeTests.cs @@ -1,9 +1,9 @@ // Copyright (c) CGI France. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. -namespace AzureIoTHub.Portal.Server.Tests.Unit.Constants +namespace AzureIoTHub.Portal.Server.Tests.Unit.Client.Constants { - using Client.Constants; + using AzureIoTHub.Portal.Client.Constants; using FluentAssertions; using NUnit.Framework; diff --git a/src/AzureIoTHub.Portal.Server.Tests.Unit/Converters/StringToBoolConverterTests.cs b/src/AzureIoTHub.Portal.Tests.Unit/Converters/StringToBoolConverterTests.cs similarity index 100% rename from src/AzureIoTHub.Portal.Server.Tests.Unit/Converters/StringToBoolConverterTests.cs rename to src/AzureIoTHub.Portal.Tests.Unit/Converters/StringToBoolConverterTests.cs diff --git a/src/AzureIoTHub.Portal.Server.Tests.Unit/DevelopmentConfigHandlerTests.cs b/src/AzureIoTHub.Portal.Tests.Unit/DevelopmentConfigHandlerTests.cs similarity index 100% rename from src/AzureIoTHub.Portal.Server.Tests.Unit/DevelopmentConfigHandlerTests.cs rename to src/AzureIoTHub.Portal.Tests.Unit/DevelopmentConfigHandlerTests.cs diff --git a/src/AzureIoTHub.Portal.Server.Tests.Unit/Exceptions/InternalServerErrorExceptionTests.cs b/src/AzureIoTHub.Portal.Tests.Unit/Exceptions/InternalServerErrorExceptionTests.cs similarity index 100% rename from src/AzureIoTHub.Portal.Server.Tests.Unit/Exceptions/InternalServerErrorExceptionTests.cs rename to src/AzureIoTHub.Portal.Tests.Unit/Exceptions/InternalServerErrorExceptionTests.cs diff --git a/src/AzureIoTHub.Portal.Server.Tests.Unit/Extensions/ApplicationBuilderExtensionTests.cs b/src/AzureIoTHub.Portal.Tests.Unit/Extensions/ApplicationBuilderExtensionTests.cs similarity index 100% rename from src/AzureIoTHub.Portal.Server.Tests.Unit/Extensions/ApplicationBuilderExtensionTests.cs rename to src/AzureIoTHub.Portal.Tests.Unit/Extensions/ApplicationBuilderExtensionTests.cs diff --git a/src/AzureIoTHub.Portal.Server.Tests.Unit/Extensions/ProblemDetailsExtensionsTests.cs b/src/AzureIoTHub.Portal.Tests.Unit/Extensions/ProblemDetailsExtensionsTests.cs similarity index 100% rename from src/AzureIoTHub.Portal.Server.Tests.Unit/Extensions/ProblemDetailsExtensionsTests.cs rename to src/AzureIoTHub.Portal.Tests.Unit/Extensions/ProblemDetailsExtensionsTests.cs diff --git a/src/AzureIoTHub.Portal.Server.Tests.Unit/Extensions/ProblemDetailsOptionsExtensionsTests.cs b/src/AzureIoTHub.Portal.Tests.Unit/Extensions/ProblemDetailsOptionsExtensionsTests.cs similarity index 100% rename from src/AzureIoTHub.Portal.Server.Tests.Unit/Extensions/ProblemDetailsOptionsExtensionsTests.cs rename to src/AzureIoTHub.Portal.Tests.Unit/Extensions/ProblemDetailsOptionsExtensionsTests.cs diff --git a/src/AzureIoTHub.Portal.Server.Tests.Unit/Extensions/StringExtensionTests.cs b/src/AzureIoTHub.Portal.Tests.Unit/Extensions/StringExtensionTests.cs similarity index 100% rename from src/AzureIoTHub.Portal.Server.Tests.Unit/Extensions/StringExtensionTests.cs rename to src/AzureIoTHub.Portal.Tests.Unit/Extensions/StringExtensionTests.cs diff --git a/src/AzureIoTHub.Portal.Server.Tests.Unit/Factories/TableClientFactoryTests.cs b/src/AzureIoTHub.Portal.Tests.Unit/Factories/TableClientFactoryTests.cs similarity index 100% rename from src/AzureIoTHub.Portal.Server.Tests.Unit/Factories/TableClientFactoryTests.cs rename to src/AzureIoTHub.Portal.Tests.Unit/Factories/TableClientFactoryTests.cs diff --git a/src/AzureIoTHub.Portal.Server.Tests.Unit/Filters/LoRaFeatureActiveFilterAttributeTest.cs b/src/AzureIoTHub.Portal.Tests.Unit/Filters/LoRaFeatureActiveFilterAttributeTest.cs similarity index 100% rename from src/AzureIoTHub.Portal.Server.Tests.Unit/Filters/LoRaFeatureActiveFilterAttributeTest.cs rename to src/AzureIoTHub.Portal.Tests.Unit/Filters/LoRaFeatureActiveFilterAttributeTest.cs diff --git a/src/AzureIoTHub.Portal.Server.Tests.Unit/Handlers/ProblemDetailsHandlerTests.cs b/src/AzureIoTHub.Portal.Tests.Unit/Handlers/ProblemDetailsHandlerTests.cs similarity index 100% rename from src/AzureIoTHub.Portal.Server.Tests.Unit/Handlers/ProblemDetailsHandlerTests.cs rename to src/AzureIoTHub.Portal.Tests.Unit/Handlers/ProblemDetailsHandlerTests.cs diff --git a/src/AzureIoTHub.Portal.Server.Tests.Unit/Helpers/ConfigHelperTest.cs b/src/AzureIoTHub.Portal.Tests.Unit/Helpers/ConfigHelperTest.cs similarity index 100% rename from src/AzureIoTHub.Portal.Server.Tests.Unit/Helpers/ConfigHelperTest.cs rename to src/AzureIoTHub.Portal.Tests.Unit/Helpers/ConfigHelperTest.cs diff --git a/src/AzureIoTHub.Portal.Server.Tests.Unit/Helpers/DeviceHelperTests.cs b/src/AzureIoTHub.Portal.Tests.Unit/Helpers/DeviceHelperTests.cs similarity index 100% rename from src/AzureIoTHub.Portal.Server.Tests.Unit/Helpers/DeviceHelperTests.cs rename to src/AzureIoTHub.Portal.Tests.Unit/Helpers/DeviceHelperTests.cs diff --git a/src/AzureIoTHub.Portal.Server.Tests.Unit/Helpers/HelpersTest.cs b/src/AzureIoTHub.Portal.Tests.Unit/Helpers/HelpersTest.cs similarity index 100% rename from src/AzureIoTHub.Portal.Server.Tests.Unit/Helpers/HelpersTest.cs rename to src/AzureIoTHub.Portal.Tests.Unit/Helpers/HelpersTest.cs diff --git a/src/AzureIoTHub.Portal.Server.Tests.Unit/Helpers/MockHttpHelper.cs b/src/AzureIoTHub.Portal.Tests.Unit/Helpers/MockHttpHelper.cs similarity index 100% rename from src/AzureIoTHub.Portal.Server.Tests.Unit/Helpers/MockHttpHelper.cs rename to src/AzureIoTHub.Portal.Tests.Unit/Helpers/MockHttpHelper.cs diff --git a/src/AzureIoTHub.Portal.Server.Tests.Unit/Managers/DeviceModelCommandsManagerTests.cs b/src/AzureIoTHub.Portal.Tests.Unit/Managers/DeviceModelCommandsManagerTests.cs similarity index 100% rename from src/AzureIoTHub.Portal.Server.Tests.Unit/Managers/DeviceModelCommandsManagerTests.cs rename to src/AzureIoTHub.Portal.Tests.Unit/Managers/DeviceModelCommandsManagerTests.cs diff --git a/src/AzureIoTHub.Portal.Server.Tests.Unit/Managers/DeviceModelImageManagerTest.cs b/src/AzureIoTHub.Portal.Tests.Unit/Managers/DeviceModelImageManagerTest.cs similarity index 100% rename from src/AzureIoTHub.Portal.Server.Tests.Unit/Managers/DeviceModelImageManagerTest.cs rename to src/AzureIoTHub.Portal.Tests.Unit/Managers/DeviceModelImageManagerTest.cs diff --git a/src/AzureIoTHub.Portal.Server.Tests.Unit/Managers/DeviceProvisioningServiceManagerTests.cs b/src/AzureIoTHub.Portal.Tests.Unit/Managers/DeviceProvisioningServiceManagerTests.cs similarity index 100% rename from src/AzureIoTHub.Portal.Server.Tests.Unit/Managers/DeviceProvisioningServiceManagerTests.cs rename to src/AzureIoTHub.Portal.Tests.Unit/Managers/DeviceProvisioningServiceManagerTests.cs diff --git a/src/AzureIoTHub.Portal.Server.Tests.Unit/Managers/LoraDeviceMethodManagerTests.cs b/src/AzureIoTHub.Portal.Tests.Unit/Managers/LoraDeviceMethodManagerTests.cs similarity index 100% rename from src/AzureIoTHub.Portal.Server.Tests.Unit/Managers/LoraDeviceMethodManagerTests.cs rename to src/AzureIoTHub.Portal.Tests.Unit/Managers/LoraDeviceMethodManagerTests.cs diff --git a/src/AzureIoTHub.Portal.Server.Tests.Unit/Managers/RouterConfigManagerTests.cs b/src/AzureIoTHub.Portal.Tests.Unit/Managers/RouterConfigManagerTests.cs similarity index 100% rename from src/AzureIoTHub.Portal.Server.Tests.Unit/Managers/RouterConfigManagerTests.cs rename to src/AzureIoTHub.Portal.Tests.Unit/Managers/RouterConfigManagerTests.cs diff --git a/src/AzureIoTHub.Portal.Server.Tests.Unit/Mappers/ConcentratorTwinMapperTests.cs b/src/AzureIoTHub.Portal.Tests.Unit/Mappers/ConcentratorTwinMapperTests.cs similarity index 100% rename from src/AzureIoTHub.Portal.Server.Tests.Unit/Mappers/ConcentratorTwinMapperTests.cs rename to src/AzureIoTHub.Portal.Tests.Unit/Mappers/ConcentratorTwinMapperTests.cs diff --git a/src/AzureIoTHub.Portal.Server.Tests.Unit/Mappers/DeviceModelCommandMapperTests.cs b/src/AzureIoTHub.Portal.Tests.Unit/Mappers/DeviceModelCommandMapperTests.cs similarity index 100% rename from src/AzureIoTHub.Portal.Server.Tests.Unit/Mappers/DeviceModelCommandMapperTests.cs rename to src/AzureIoTHub.Portal.Tests.Unit/Mappers/DeviceModelCommandMapperTests.cs diff --git a/src/AzureIoTHub.Portal.Server.Tests.Unit/Mappers/DeviceModelMapperTests.cs b/src/AzureIoTHub.Portal.Tests.Unit/Mappers/DeviceModelMapperTests.cs similarity index 100% rename from src/AzureIoTHub.Portal.Server.Tests.Unit/Mappers/DeviceModelMapperTests.cs rename to src/AzureIoTHub.Portal.Tests.Unit/Mappers/DeviceModelMapperTests.cs diff --git a/src/AzureIoTHub.Portal.Server.Tests.Unit/Mappers/DeviceTagMapperTests.cs b/src/AzureIoTHub.Portal.Tests.Unit/Mappers/DeviceTagMapperTests.cs similarity index 100% rename from src/AzureIoTHub.Portal.Server.Tests.Unit/Mappers/DeviceTagMapperTests.cs rename to src/AzureIoTHub.Portal.Tests.Unit/Mappers/DeviceTagMapperTests.cs diff --git a/src/AzureIoTHub.Portal.Server.Tests.Unit/Mappers/DeviceTwinMapperTests.cs b/src/AzureIoTHub.Portal.Tests.Unit/Mappers/DeviceTwinMapperTests.cs similarity index 100% rename from src/AzureIoTHub.Portal.Server.Tests.Unit/Mappers/DeviceTwinMapperTests.cs rename to src/AzureIoTHub.Portal.Tests.Unit/Mappers/DeviceTwinMapperTests.cs diff --git a/src/AzureIoTHub.Portal.Server.Tests.Unit/Mappers/LoRaDeviceModelMapperTests.cs b/src/AzureIoTHub.Portal.Tests.Unit/Mappers/LoRaDeviceModelMapperTests.cs similarity index 100% rename from src/AzureIoTHub.Portal.Server.Tests.Unit/Mappers/LoRaDeviceModelMapperTests.cs rename to src/AzureIoTHub.Portal.Tests.Unit/Mappers/LoRaDeviceModelMapperTests.cs diff --git a/src/AzureIoTHub.Portal.Server.Tests.Unit/Mappers/LoRaDeviceTwinMapperTests.cs b/src/AzureIoTHub.Portal.Tests.Unit/Mappers/LoRaDeviceTwinMapperTests.cs similarity index 100% rename from src/AzureIoTHub.Portal.Server.Tests.Unit/Mappers/LoRaDeviceTwinMapperTests.cs rename to src/AzureIoTHub.Portal.Tests.Unit/Mappers/LoRaDeviceTwinMapperTests.cs diff --git a/src/AzureIoTHub.Portal.Server.Tests.Unit/MockProvisioningServiceClientHttpException.cs b/src/AzureIoTHub.Portal.Tests.Unit/MockProvisioningServiceClientHttpException.cs similarity index 100% rename from src/AzureIoTHub.Portal.Server.Tests.Unit/MockProvisioningServiceClientHttpException.cs rename to src/AzureIoTHub.Portal.Tests.Unit/MockProvisioningServiceClientHttpException.cs diff --git a/src/AzureIoTHub.Portal.Server.Tests.Unit/Mocks/MockResizeObserver.cs b/src/AzureIoTHub.Portal.Tests.Unit/Mocks/MockResizeObserver.cs similarity index 100% rename from src/AzureIoTHub.Portal.Server.Tests.Unit/Mocks/MockResizeObserver.cs rename to src/AzureIoTHub.Portal.Tests.Unit/Mocks/MockResizeObserver.cs diff --git a/src/AzureIoTHub.Portal.Server.Tests.Unit/Pages/Configurations/ConfigDetailTests.cs b/src/AzureIoTHub.Portal.Tests.Unit/Pages/Configurations/ConfigDetailTests.cs similarity index 100% rename from src/AzureIoTHub.Portal.Server.Tests.Unit/Pages/Configurations/ConfigDetailTests.cs rename to src/AzureIoTHub.Portal.Tests.Unit/Pages/Configurations/ConfigDetailTests.cs diff --git a/src/AzureIoTHub.Portal.Server.Tests.Unit/Pages/Configurations/ConfigsTests.cs b/src/AzureIoTHub.Portal.Tests.Unit/Pages/Configurations/ConfigsTests.cs similarity index 100% rename from src/AzureIoTHub.Portal.Server.Tests.Unit/Pages/Configurations/ConfigsTests.cs rename to src/AzureIoTHub.Portal.Tests.Unit/Pages/Configurations/ConfigsTests.cs diff --git a/src/AzureIoTHub.Portal.Server.Tests.Unit/Pages/Configurations/EdgeModule/ModuleDialogTab1Tests.cs b/src/AzureIoTHub.Portal.Tests.Unit/Pages/Configurations/EdgeModule/ModuleDialogTab1Tests.cs similarity index 100% rename from src/AzureIoTHub.Portal.Server.Tests.Unit/Pages/Configurations/EdgeModule/ModuleDialogTab1Tests.cs rename to src/AzureIoTHub.Portal.Tests.Unit/Pages/Configurations/EdgeModule/ModuleDialogTab1Tests.cs diff --git a/src/AzureIoTHub.Portal.Server.Tests.Unit/Pages/Configurations/EdgeModule/ModuleDialogTab2Tests.cs b/src/AzureIoTHub.Portal.Tests.Unit/Pages/Configurations/EdgeModule/ModuleDialogTab2Tests.cs similarity index 100% rename from src/AzureIoTHub.Portal.Server.Tests.Unit/Pages/Configurations/EdgeModule/ModuleDialogTab2Tests.cs rename to src/AzureIoTHub.Portal.Tests.Unit/Pages/Configurations/EdgeModule/ModuleDialogTab2Tests.cs diff --git a/src/AzureIoTHub.Portal.Server.Tests.Unit/Pages/Configurations/EdgeModule/ModuleDialogTab3Tests.cs b/src/AzureIoTHub.Portal.Tests.Unit/Pages/Configurations/EdgeModule/ModuleDialogTab3Tests.cs similarity index 100% rename from src/AzureIoTHub.Portal.Server.Tests.Unit/Pages/Configurations/EdgeModule/ModuleDialogTab3Tests.cs rename to src/AzureIoTHub.Portal.Tests.Unit/Pages/Configurations/EdgeModule/ModuleDialogTab3Tests.cs diff --git a/src/AzureIoTHub.Portal.Server.Tests.Unit/Pages/Configurations/EdgeModule/ModuleDialogTests.cs b/src/AzureIoTHub.Portal.Tests.Unit/Pages/Configurations/EdgeModule/ModuleDialogTests.cs similarity index 100% rename from src/AzureIoTHub.Portal.Server.Tests.Unit/Pages/Configurations/EdgeModule/ModuleDialogTests.cs rename to src/AzureIoTHub.Portal.Tests.Unit/Pages/Configurations/EdgeModule/ModuleDialogTests.cs diff --git a/src/AzureIoTHub.Portal.Server.Tests.Unit/Pages/Dashboard/DashboardMetricCounterTests.cs b/src/AzureIoTHub.Portal.Tests.Unit/Pages/Dashboard/DashboardMetricCounterTests.cs similarity index 100% rename from src/AzureIoTHub.Portal.Server.Tests.Unit/Pages/Dashboard/DashboardMetricCounterTests.cs rename to src/AzureIoTHub.Portal.Tests.Unit/Pages/Dashboard/DashboardMetricCounterTests.cs diff --git a/src/AzureIoTHub.Portal.Server.Tests.Unit/Pages/Dashboard/DashboardMetricsTests.cs b/src/AzureIoTHub.Portal.Tests.Unit/Pages/Dashboard/DashboardMetricsTests.cs similarity index 100% rename from src/AzureIoTHub.Portal.Server.Tests.Unit/Pages/Dashboard/DashboardMetricsTests.cs rename to src/AzureIoTHub.Portal.Tests.Unit/Pages/Dashboard/DashboardMetricsTests.cs diff --git a/src/AzureIoTHub.Portal.Server.Tests.Unit/Pages/Dashboard/DashboardTests.cs b/src/AzureIoTHub.Portal.Tests.Unit/Pages/Dashboard/DashboardTests.cs similarity index 100% rename from src/AzureIoTHub.Portal.Server.Tests.Unit/Pages/Dashboard/DashboardTests.cs rename to src/AzureIoTHub.Portal.Tests.Unit/Pages/Dashboard/DashboardTests.cs diff --git a/src/AzureIoTHub.Portal.Server.Tests.Unit/Pages/DeviceConfigurations/CreateDeviceConfigurationsPageTests.cs b/src/AzureIoTHub.Portal.Tests.Unit/Pages/DeviceConfigurations/CreateDeviceConfigurationsPageTests.cs similarity index 100% rename from src/AzureIoTHub.Portal.Server.Tests.Unit/Pages/DeviceConfigurations/CreateDeviceConfigurationsPageTests.cs rename to src/AzureIoTHub.Portal.Tests.Unit/Pages/DeviceConfigurations/CreateDeviceConfigurationsPageTests.cs diff --git a/src/AzureIoTHub.Portal.Server.Tests.Unit/Pages/DeviceConfigurations/DeleteDeviceConfigurationTests.cs b/src/AzureIoTHub.Portal.Tests.Unit/Pages/DeviceConfigurations/DeleteDeviceConfigurationTests.cs similarity index 100% rename from src/AzureIoTHub.Portal.Server.Tests.Unit/Pages/DeviceConfigurations/DeleteDeviceConfigurationTests.cs rename to src/AzureIoTHub.Portal.Tests.Unit/Pages/DeviceConfigurations/DeleteDeviceConfigurationTests.cs diff --git a/src/AzureIoTHub.Portal.Server.Tests.Unit/Pages/DeviceConfigurations/DeviceConfigurationDetailPageTests.cs b/src/AzureIoTHub.Portal.Tests.Unit/Pages/DeviceConfigurations/DeviceConfigurationDetailPageTests.cs similarity index 100% rename from src/AzureIoTHub.Portal.Server.Tests.Unit/Pages/DeviceConfigurations/DeviceConfigurationDetailPageTests.cs rename to src/AzureIoTHub.Portal.Tests.Unit/Pages/DeviceConfigurations/DeviceConfigurationDetailPageTests.cs diff --git a/src/AzureIoTHub.Portal.Server.Tests.Unit/Pages/DeviceConfigurations/DeviceConfigurationListPageTests.cs b/src/AzureIoTHub.Portal.Tests.Unit/Pages/DeviceConfigurations/DeviceConfigurationListPageTests.cs similarity index 100% rename from src/AzureIoTHub.Portal.Server.Tests.Unit/Pages/DeviceConfigurations/DeviceConfigurationListPageTests.cs rename to src/AzureIoTHub.Portal.Tests.Unit/Pages/DeviceConfigurations/DeviceConfigurationListPageTests.cs diff --git a/src/AzureIoTHub.Portal.Server.Tests.Unit/Pages/Devices/ConnectionStringDialogTests.cs b/src/AzureIoTHub.Portal.Tests.Unit/Pages/Devices/ConnectionStringDialogTests.cs old mode 100755 new mode 100644 similarity index 97% rename from src/AzureIoTHub.Portal.Server.Tests.Unit/Pages/Devices/ConnectionStringDialogTests.cs rename to src/AzureIoTHub.Portal.Tests.Unit/Pages/Devices/ConnectionStringDialogTests.cs index 61b74223a..bf3d0a62d --- a/src/AzureIoTHub.Portal.Server.Tests.Unit/Pages/Devices/ConnectionStringDialogTests.cs +++ b/src/AzureIoTHub.Portal.Tests.Unit/Pages/Devices/ConnectionStringDialogTests.cs @@ -1,93 +1,93 @@ -// Copyright (c) CGI France. All rights reserved. -// Licensed under the MIT license. See LICENSE file in the project root for full license information. - -namespace AzureIoTHub.Portal.Server.Tests.Unit.Pages.Devices -{ - using System; - using System.Threading.Tasks; - using Bunit; - using Client.Exceptions; - using Client.Models; - using Client.Pages.Devices; - using Client.Services; - using FluentAssertions; - using Microsoft.Extensions.DependencyInjection; - using Models.v10; - using Moq; - using MudBlazor; - using NUnit.Framework; - - [TestFixture] - public class ConnectionStringDialogTests : BlazorUnitTest - { - private Mock mockDeviceClientService; - - public override void Setup() - { - base.Setup(); - - this.mockDeviceClientService = MockRepository.Create(); - - _ = Services.AddSingleton(this.mockDeviceClientService.Object); - _ = Services.AddSingleton(); - } - - [Test] - public async Task ConnectionStringDialogMustBeRenderedOnShow() - { - // Arrange - var deviceId = Guid.NewGuid().ToString(); - - _ = this.mockDeviceClientService.Setup(service => service.GetEnrollmentCredentials(deviceId)) - .ReturnsAsync(new EnrollmentCredentials()); - - var cut = RenderComponent(); - var service = Services.GetService() as DialogService; - - var parameters = new DialogParameters - { - { - "deviceId", deviceId - } - }; - - // Act - await cut.InvokeAsync(() => service?.Show(string.Empty, parameters)); - - // Assert - cut.WaitForAssertion(() => cut.Find("div.mud-dialog-container").Should().NotBeNull()); - cut.WaitForAssertion(() => MockRepository.VerifyAll()); - } - - [Test] - public async Task OnInitializedAsyncShouldProcessProblemDetailsExceptionWhenIssueOccursOnGettingCredentials() - { - // Arrange - var deviceId = Guid.NewGuid().ToString(); - - _ = this.mockDeviceClientService.Setup(service => service.GetEnrollmentCredentials(deviceId)) - .ThrowsAsync(new ProblemDetailsException(new ProblemDetailsWithExceptionDetails())); - - var cut = RenderComponent(); - var service = Services.GetService() as DialogService; - - var parameters = new DialogParameters - { - { - "deviceId", deviceId - } - }; - - IDialogReference dialogReference = null; - - // Act - await cut.InvokeAsync(() => dialogReference = service?.Show(string.Empty, parameters)); - - var result = await dialogReference.Result; - - // Assert - cut.WaitForAssertion(() => result.Cancelled.Should().BeFalse()); - cut.WaitForAssertion(() => MockRepository.VerifyAll()); - } - } -} +// Copyright (c) CGI France. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +namespace AzureIoTHub.Portal.Server.Tests.Unit.Pages.Devices +{ + using System; + using System.Threading.Tasks; + using Bunit; + using Client.Exceptions; + using Client.Models; + using Client.Pages.Devices; + using Client.Services; + using FluentAssertions; + using Microsoft.Extensions.DependencyInjection; + using Models.v10; + using Moq; + using MudBlazor; + using NUnit.Framework; + + [TestFixture] + public class ConnectionStringDialogTests : BlazorUnitTest + { + private Mock mockDeviceClientService; + + public override void Setup() + { + base.Setup(); + + this.mockDeviceClientService = MockRepository.Create(); + + _ = Services.AddSingleton(this.mockDeviceClientService.Object); + _ = Services.AddSingleton(); + } + + [Test] + public async Task ConnectionStringDialogMustBeRenderedOnShow() + { + // Arrange + var deviceId = Guid.NewGuid().ToString(); + + _ = this.mockDeviceClientService.Setup(service => service.GetEnrollmentCredentials(deviceId)) + .ReturnsAsync(new EnrollmentCredentials()); + + var cut = RenderComponent(); + var service = Services.GetService() as DialogService; + + var parameters = new DialogParameters + { + { + "deviceId", deviceId + } + }; + + // Act + await cut.InvokeAsync(() => service?.Show(string.Empty, parameters)); + + // Assert + cut.WaitForAssertion(() => cut.Find("div.mud-dialog-container").Should().NotBeNull()); + cut.WaitForAssertion(() => MockRepository.VerifyAll()); + } + + [Test] + public async Task OnInitializedAsyncShouldProcessProblemDetailsExceptionWhenIssueOccursOnGettingCredentials() + { + // Arrange + var deviceId = Guid.NewGuid().ToString(); + + _ = this.mockDeviceClientService.Setup(service => service.GetEnrollmentCredentials(deviceId)) + .ThrowsAsync(new ProblemDetailsException(new ProblemDetailsWithExceptionDetails())); + + var cut = RenderComponent(); + var service = Services.GetService() as DialogService; + + var parameters = new DialogParameters + { + { + "deviceId", deviceId + } + }; + + IDialogReference dialogReference = null; + + // Act + await cut.InvokeAsync(() => dialogReference = service?.Show(string.Empty, parameters)); + + var result = await dialogReference.Result; + + // Assert + cut.WaitForAssertion(() => result.Cancelled.Should().BeFalse()); + cut.WaitForAssertion(() => MockRepository.VerifyAll()); + } + } +} diff --git a/src/AzureIoTHub.Portal.Server.Tests.Unit/Pages/Devices/CreateDevicePageTests.cs b/src/AzureIoTHub.Portal.Tests.Unit/Pages/Devices/CreateDevicePageTests.cs similarity index 100% rename from src/AzureIoTHub.Portal.Server.Tests.Unit/Pages/Devices/CreateDevicePageTests.cs rename to src/AzureIoTHub.Portal.Tests.Unit/Pages/Devices/CreateDevicePageTests.cs diff --git a/src/AzureIoTHub.Portal.Server.Tests.Unit/Pages/Devices/DeviceDetailPageTests.cs b/src/AzureIoTHub.Portal.Tests.Unit/Pages/Devices/DeviceDetailPageTests.cs similarity index 100% rename from src/AzureIoTHub.Portal.Server.Tests.Unit/Pages/Devices/DeviceDetailPageTests.cs rename to src/AzureIoTHub.Portal.Tests.Unit/Pages/Devices/DeviceDetailPageTests.cs diff --git a/src/AzureIoTHub.Portal.Server.Tests.Unit/Pages/Devices/DeviceToDuplicateSelectorTests.cs b/src/AzureIoTHub.Portal.Tests.Unit/Pages/Devices/DeviceToDuplicateSelectorTests.cs similarity index 100% rename from src/AzureIoTHub.Portal.Server.Tests.Unit/Pages/Devices/DeviceToDuplicateSelectorTests.cs rename to src/AzureIoTHub.Portal.Tests.Unit/Pages/Devices/DeviceToDuplicateSelectorTests.cs diff --git a/src/AzureIoTHub.Portal.Server.Tests.Unit/Pages/Devices/DevicesListPageTests.cs b/src/AzureIoTHub.Portal.Tests.Unit/Pages/Devices/DevicesListPageTests.cs similarity index 100% rename from src/AzureIoTHub.Portal.Server.Tests.Unit/Pages/Devices/DevicesListPageTests.cs rename to src/AzureIoTHub.Portal.Tests.Unit/Pages/Devices/DevicesListPageTests.cs diff --git a/src/AzureIoTHub.Portal.Server.Tests.Unit/Pages/DevicesModels/CreateDeviceModelPageTests.cs b/src/AzureIoTHub.Portal.Tests.Unit/Pages/DevicesModels/CreateDeviceModelPageTests.cs similarity index 100% rename from src/AzureIoTHub.Portal.Server.Tests.Unit/Pages/DevicesModels/CreateDeviceModelPageTests.cs rename to src/AzureIoTHub.Portal.Tests.Unit/Pages/DevicesModels/CreateDeviceModelPageTests.cs diff --git a/src/AzureIoTHub.Portal.Server.Tests.Unit/Pages/DevicesModels/DeviceModelDetailsPageTests.cs b/src/AzureIoTHub.Portal.Tests.Unit/Pages/DevicesModels/DeviceModelDetailsPageTests.cs similarity index 100% rename from src/AzureIoTHub.Portal.Server.Tests.Unit/Pages/DevicesModels/DeviceModelDetailsPageTests.cs rename to src/AzureIoTHub.Portal.Tests.Unit/Pages/DevicesModels/DeviceModelDetailsPageTests.cs diff --git a/src/AzureIoTHub.Portal.Server.Tests.Unit/Pages/DevicesModels/DeviceModelListPageTests.cs b/src/AzureIoTHub.Portal.Tests.Unit/Pages/DevicesModels/DeviceModelListPageTests.cs similarity index 100% rename from src/AzureIoTHub.Portal.Server.Tests.Unit/Pages/DevicesModels/DeviceModelListPageTests.cs rename to src/AzureIoTHub.Portal.Tests.Unit/Pages/DevicesModels/DeviceModelListPageTests.cs diff --git a/src/AzureIoTHub.Portal.Server.Tests.Unit/Pages/DevicesModels/LoRaWAN/CreateLoRaDeviceModelPageTests.cs b/src/AzureIoTHub.Portal.Tests.Unit/Pages/DevicesModels/LoRaWAN/CreateLoRaDeviceModelPageTests.cs similarity index 100% rename from src/AzureIoTHub.Portal.Server.Tests.Unit/Pages/DevicesModels/LoRaWAN/CreateLoRaDeviceModelPageTests.cs rename to src/AzureIoTHub.Portal.Tests.Unit/Pages/DevicesModels/LoRaWAN/CreateLoRaDeviceModelPageTests.cs diff --git a/src/AzureIoTHub.Portal.Server.Tests.Unit/Pages/DevicesModels/LoRaWAN/EditLoraDeviceModelPageTests.cs b/src/AzureIoTHub.Portal.Tests.Unit/Pages/DevicesModels/LoRaWAN/EditLoraDeviceModelPageTests.cs similarity index 100% rename from src/AzureIoTHub.Portal.Server.Tests.Unit/Pages/DevicesModels/LoRaWAN/EditLoraDeviceModelPageTests.cs rename to src/AzureIoTHub.Portal.Tests.Unit/Pages/DevicesModels/LoRaWAN/EditLoraDeviceModelPageTests.cs diff --git a/src/AzureIoTHub.Portal.Server.Tests.Unit/Pages/EdgeDevices/ConnectionStringDialogTests.cs b/src/AzureIoTHub.Portal.Tests.Unit/Pages/EdgeDevices/ConnectionStringDialogTests.cs similarity index 100% rename from src/AzureIoTHub.Portal.Server.Tests.Unit/Pages/EdgeDevices/ConnectionStringDialogTests.cs rename to src/AzureIoTHub.Portal.Tests.Unit/Pages/EdgeDevices/ConnectionStringDialogTests.cs diff --git a/src/AzureIoTHub.Portal.Server.Tests.Unit/Pages/EdgeDevices/CreateEdgeDeviceDialogTests.cs b/src/AzureIoTHub.Portal.Tests.Unit/Pages/EdgeDevices/CreateEdgeDeviceDialogTests.cs similarity index 100% rename from src/AzureIoTHub.Portal.Server.Tests.Unit/Pages/EdgeDevices/CreateEdgeDeviceDialogTests.cs rename to src/AzureIoTHub.Portal.Tests.Unit/Pages/EdgeDevices/CreateEdgeDeviceDialogTests.cs diff --git a/src/AzureIoTHub.Portal.Server.Tests.Unit/Pages/EdgeDevices/EdgeDeviceDeleteConfirmationDialogTests.cs b/src/AzureIoTHub.Portal.Tests.Unit/Pages/EdgeDevices/EdgeDeviceDeleteConfirmationDialogTests.cs similarity index 100% rename from src/AzureIoTHub.Portal.Server.Tests.Unit/Pages/EdgeDevices/EdgeDeviceDeleteConfirmationDialogTests.cs rename to src/AzureIoTHub.Portal.Tests.Unit/Pages/EdgeDevices/EdgeDeviceDeleteConfirmationDialogTests.cs diff --git a/src/AzureIoTHub.Portal.Server.Tests.Unit/Pages/EdgeDevices/EdgeDeviceDetailPageTests.cs b/src/AzureIoTHub.Portal.Tests.Unit/Pages/EdgeDevices/EdgeDeviceDetailPageTests.cs similarity index 100% rename from src/AzureIoTHub.Portal.Server.Tests.Unit/Pages/EdgeDevices/EdgeDeviceDetailPageTests.cs rename to src/AzureIoTHub.Portal.Tests.Unit/Pages/EdgeDevices/EdgeDeviceDetailPageTests.cs diff --git a/src/AzureIoTHub.Portal.Server.Tests.Unit/Pages/EdgeDevices/EdgeDeviceListPageTests.cs b/src/AzureIoTHub.Portal.Tests.Unit/Pages/EdgeDevices/EdgeDeviceListPageTests.cs similarity index 100% rename from src/AzureIoTHub.Portal.Server.Tests.Unit/Pages/EdgeDevices/EdgeDeviceListPageTests.cs rename to src/AzureIoTHub.Portal.Tests.Unit/Pages/EdgeDevices/EdgeDeviceListPageTests.cs diff --git a/src/AzureIoTHub.Portal.Server.Tests.Unit/Pages/EdgeDevices/ModuleLogsDialogTests.cs b/src/AzureIoTHub.Portal.Tests.Unit/Pages/EdgeDevices/ModuleLogsDialogTests.cs similarity index 100% rename from src/AzureIoTHub.Portal.Server.Tests.Unit/Pages/EdgeDevices/ModuleLogsDialogTests.cs rename to src/AzureIoTHub.Portal.Tests.Unit/Pages/EdgeDevices/ModuleLogsDialogTests.cs diff --git a/src/AzureIoTHub.Portal.Server.Tests.Unit/Pages/Ideas/SubmitIdeaDialogTests.cs b/src/AzureIoTHub.Portal.Tests.Unit/Pages/Ideas/SubmitIdeaDialogTests.cs similarity index 100% rename from src/AzureIoTHub.Portal.Server.Tests.Unit/Pages/Ideas/SubmitIdeaDialogTests.cs rename to src/AzureIoTHub.Portal.Tests.Unit/Pages/Ideas/SubmitIdeaDialogTests.cs diff --git a/src/AzureIoTHub.Portal.Server.Tests.Unit/Pages/IndexTests.cs b/src/AzureIoTHub.Portal.Tests.Unit/Pages/IndexTests.cs similarity index 100% rename from src/AzureIoTHub.Portal.Server.Tests.Unit/Pages/IndexTests.cs rename to src/AzureIoTHub.Portal.Tests.Unit/Pages/IndexTests.cs diff --git a/src/AzureIoTHub.Portal.Server.Tests.Unit/Pages/LoRaWan/Concentrator/ConcentratorDetailPageTests.cs b/src/AzureIoTHub.Portal.Tests.Unit/Pages/LoRaWan/Concentrator/ConcentratorDetailPageTests.cs similarity index 100% rename from src/AzureIoTHub.Portal.Server.Tests.Unit/Pages/LoRaWan/Concentrator/ConcentratorDetailPageTests.cs rename to src/AzureIoTHub.Portal.Tests.Unit/Pages/LoRaWan/Concentrator/ConcentratorDetailPageTests.cs diff --git a/src/AzureIoTHub.Portal.Server.Tests.Unit/Pages/LoRaWan/Concentrator/ConcentratorListPageTests.cs b/src/AzureIoTHub.Portal.Tests.Unit/Pages/LoRaWan/Concentrator/ConcentratorListPageTests.cs similarity index 100% rename from src/AzureIoTHub.Portal.Server.Tests.Unit/Pages/LoRaWan/Concentrator/ConcentratorListPageTests.cs rename to src/AzureIoTHub.Portal.Tests.Unit/Pages/LoRaWan/Concentrator/ConcentratorListPageTests.cs diff --git a/src/AzureIoTHub.Portal.Server.Tests.Unit/Pages/LoRaWan/Concentrator/CreateConcentratorPageTest.cs b/src/AzureIoTHub.Portal.Tests.Unit/Pages/LoRaWan/Concentrator/CreateConcentratorPageTest.cs similarity index 100% rename from src/AzureIoTHub.Portal.Server.Tests.Unit/Pages/LoRaWan/Concentrator/CreateConcentratorPageTest.cs rename to src/AzureIoTHub.Portal.Tests.Unit/Pages/LoRaWan/Concentrator/CreateConcentratorPageTest.cs diff --git a/src/AzureIoTHub.Portal.Server.Tests.Unit/Pages/LoRaWan/Concentrator/DeleteConcentratorPageTests.cs b/src/AzureIoTHub.Portal.Tests.Unit/Pages/LoRaWan/Concentrator/DeleteConcentratorPageTests.cs similarity index 100% rename from src/AzureIoTHub.Portal.Server.Tests.Unit/Pages/LoRaWan/Concentrator/DeleteConcentratorPageTests.cs rename to src/AzureIoTHub.Portal.Tests.Unit/Pages/LoRaWan/Concentrator/DeleteConcentratorPageTests.cs diff --git a/src/AzureIoTHub.Portal.Server.Tests.Unit/Pages/Settings/DeviceTagsPageTests.cs b/src/AzureIoTHub.Portal.Tests.Unit/Pages/Settings/DeviceTagsPageTests.cs similarity index 100% rename from src/AzureIoTHub.Portal.Server.Tests.Unit/Pages/Settings/DeviceTagsPageTests.cs rename to src/AzureIoTHub.Portal.Tests.Unit/Pages/Settings/DeviceTagsPageTests.cs diff --git a/src/AzureIoTHub.Portal.Server.Tests.Unit/Pages/Shared/AppbarTests.cs b/src/AzureIoTHub.Portal.Tests.Unit/Pages/Shared/AppbarTests.cs similarity index 100% rename from src/AzureIoTHub.Portal.Server.Tests.Unit/Pages/Shared/AppbarTests.cs rename to src/AzureIoTHub.Portal.Tests.Unit/Pages/Shared/AppbarTests.cs diff --git a/src/AzureIoTHub.Portal.Server.Tests.Unit/Pages/Shared/ErrorTests.cs b/src/AzureIoTHub.Portal.Tests.Unit/Pages/Shared/ErrorTests.cs similarity index 100% rename from src/AzureIoTHub.Portal.Server.Tests.Unit/Pages/Shared/ErrorTests.cs rename to src/AzureIoTHub.Portal.Tests.Unit/Pages/Shared/ErrorTests.cs diff --git a/src/AzureIoTHub.Portal.Server.Tests.Unit/Pages/Shared/MainLayoutTests.cs b/src/AzureIoTHub.Portal.Tests.Unit/Pages/Shared/MainLayoutTests.cs similarity index 100% rename from src/AzureIoTHub.Portal.Server.Tests.Unit/Pages/Shared/MainLayoutTests.cs rename to src/AzureIoTHub.Portal.Tests.Unit/Pages/Shared/MainLayoutTests.cs diff --git a/src/AzureIoTHub.Portal.Server.Tests.Unit/Pages/Shared/NavMenuTests.cs b/src/AzureIoTHub.Portal.Tests.Unit/Pages/Shared/NavMenuTests.cs similarity index 100% rename from src/AzureIoTHub.Portal.Server.Tests.Unit/Pages/Shared/NavMenuTests.cs rename to src/AzureIoTHub.Portal.Tests.Unit/Pages/Shared/NavMenuTests.cs diff --git a/src/AzureIoTHub.Portal.Server.Tests.Unit/Pages/Shared/PortalFooterTests.cs b/src/AzureIoTHub.Portal.Tests.Unit/Pages/Shared/PortalFooterTests.cs similarity index 100% rename from src/AzureIoTHub.Portal.Server.Tests.Unit/Pages/Shared/PortalFooterTests.cs rename to src/AzureIoTHub.Portal.Tests.Unit/Pages/Shared/PortalFooterTests.cs diff --git a/src/AzureIoTHub.Portal.Server.Tests.Unit/Pages/Shared/ProblemDetailsDialogTests.cs b/src/AzureIoTHub.Portal.Tests.Unit/Pages/Shared/ProblemDetailsDialogTests.cs similarity index 100% rename from src/AzureIoTHub.Portal.Server.Tests.Unit/Pages/Shared/ProblemDetailsDialogTests.cs rename to src/AzureIoTHub.Portal.Tests.Unit/Pages/Shared/ProblemDetailsDialogTests.cs diff --git a/src/AzureIoTHub.Portal.Server.Tests.Unit/ProductionConfigHandlerTests.cs b/src/AzureIoTHub.Portal.Tests.Unit/ProductionConfigHandlerTests.cs similarity index 100% rename from src/AzureIoTHub.Portal.Server.Tests.Unit/ProductionConfigHandlerTests.cs rename to src/AzureIoTHub.Portal.Tests.Unit/ProductionConfigHandlerTests.cs diff --git a/src/AzureIoTHub.Portal.Server.Tests.Unit/Controllers/v1.0/DashboardControllerTests.cs b/src/AzureIoTHub.Portal.Tests.Unit/Server/Controllers/v1.0/DashboardControllerTests.cs similarity index 100% rename from src/AzureIoTHub.Portal.Server.Tests.Unit/Controllers/v1.0/DashboardControllerTests.cs rename to src/AzureIoTHub.Portal.Tests.Unit/Server/Controllers/v1.0/DashboardControllerTests.cs diff --git a/src/AzureIoTHub.Portal.Server.Tests.Unit/Controllers/v1.0/DeviceConfigurationsControllerTests.cs b/src/AzureIoTHub.Portal.Tests.Unit/Server/Controllers/v1.0/DeviceConfigurationsControllerTests.cs similarity index 100% rename from src/AzureIoTHub.Portal.Server.Tests.Unit/Controllers/v1.0/DeviceConfigurationsControllerTests.cs rename to src/AzureIoTHub.Portal.Tests.Unit/Server/Controllers/v1.0/DeviceConfigurationsControllerTests.cs diff --git a/src/AzureIoTHub.Portal.Server.Tests.Unit/Controllers/v1.0/DeviceModelPropertiesControllerTests.cs b/src/AzureIoTHub.Portal.Tests.Unit/Server/Controllers/v1.0/DeviceModelPropertiesControllerTests.cs similarity index 100% rename from src/AzureIoTHub.Portal.Server.Tests.Unit/Controllers/v1.0/DeviceModelPropertiesControllerTests.cs rename to src/AzureIoTHub.Portal.Tests.Unit/Server/Controllers/v1.0/DeviceModelPropertiesControllerTests.cs diff --git a/src/AzureIoTHub.Portal.Server.Tests.Unit/Controllers/v1.0/DeviceModelsControllerTests.cs b/src/AzureIoTHub.Portal.Tests.Unit/Server/Controllers/v1.0/DeviceModelsControllerTests.cs similarity index 100% rename from src/AzureIoTHub.Portal.Server.Tests.Unit/Controllers/v1.0/DeviceModelsControllerTests.cs rename to src/AzureIoTHub.Portal.Tests.Unit/Server/Controllers/v1.0/DeviceModelsControllerTests.cs diff --git a/src/AzureIoTHub.Portal.Server.Tests.Unit/Controllers/v1.0/DeviceTagSettingsControllerTest.cs b/src/AzureIoTHub.Portal.Tests.Unit/Server/Controllers/v1.0/DeviceTagSettingsControllerTest.cs similarity index 100% rename from src/AzureIoTHub.Portal.Server.Tests.Unit/Controllers/v1.0/DeviceTagSettingsControllerTest.cs rename to src/AzureIoTHub.Portal.Tests.Unit/Server/Controllers/v1.0/DeviceTagSettingsControllerTest.cs diff --git a/src/AzureIoTHub.Portal.Server.Tests.Unit/Controllers/v1.0/DevicesControllerTests.cs b/src/AzureIoTHub.Portal.Tests.Unit/Server/Controllers/v1.0/DevicesControllerTests.cs similarity index 100% rename from src/AzureIoTHub.Portal.Server.Tests.Unit/Controllers/v1.0/DevicesControllerTests.cs rename to src/AzureIoTHub.Portal.Tests.Unit/Server/Controllers/v1.0/DevicesControllerTests.cs diff --git a/src/AzureIoTHub.Portal.Server.Tests.Unit/Controllers/v1.0/EdgeConfigurationsControllerTests.cs b/src/AzureIoTHub.Portal.Tests.Unit/Server/Controllers/v1.0/EdgeConfigurationsControllerTests.cs similarity index 100% rename from src/AzureIoTHub.Portal.Server.Tests.Unit/Controllers/v1.0/EdgeConfigurationsControllerTests.cs rename to src/AzureIoTHub.Portal.Tests.Unit/Server/Controllers/v1.0/EdgeConfigurationsControllerTests.cs diff --git a/src/AzureIoTHub.Portal.Server.Tests.Unit/Controllers/v1.0/EdgeDevicesControllerTests.cs b/src/AzureIoTHub.Portal.Tests.Unit/Server/Controllers/v1.0/EdgeDevicesControllerTests.cs similarity index 100% rename from src/AzureIoTHub.Portal.Server.Tests.Unit/Controllers/v1.0/EdgeDevicesControllerTests.cs rename to src/AzureIoTHub.Portal.Tests.Unit/Server/Controllers/v1.0/EdgeDevicesControllerTests.cs diff --git a/src/AzureIoTHub.Portal.Server.Tests.Unit/Controllers/v1.0/IdeasControllerTests.cs b/src/AzureIoTHub.Portal.Tests.Unit/Server/Controllers/v1.0/IdeasControllerTests.cs similarity index 100% rename from src/AzureIoTHub.Portal.Server.Tests.Unit/Controllers/v1.0/IdeasControllerTests.cs rename to src/AzureIoTHub.Portal.Tests.Unit/Server/Controllers/v1.0/IdeasControllerTests.cs diff --git a/src/AzureIoTHub.Portal.Server.Tests.Unit/Controllers/v1.0/LoRaWAN/LoRaWANCommandsControllerTests.cs b/src/AzureIoTHub.Portal.Tests.Unit/Server/Controllers/v1.0/LoRaWAN/LoRaWANCommandsControllerTests.cs similarity index 100% rename from src/AzureIoTHub.Portal.Server.Tests.Unit/Controllers/v1.0/LoRaWAN/LoRaWANCommandsControllerTests.cs rename to src/AzureIoTHub.Portal.Tests.Unit/Server/Controllers/v1.0/LoRaWAN/LoRaWANCommandsControllerTests.cs diff --git a/src/AzureIoTHub.Portal.Server.Tests.Unit/Controllers/v1.0/LoRaWAN/LoRaWANConcentratorsControllerTest.cs b/src/AzureIoTHub.Portal.Tests.Unit/Server/Controllers/v1.0/LoRaWAN/LoRaWANConcentratorsControllerTest.cs similarity index 100% rename from src/AzureIoTHub.Portal.Server.Tests.Unit/Controllers/v1.0/LoRaWAN/LoRaWANConcentratorsControllerTest.cs rename to src/AzureIoTHub.Portal.Tests.Unit/Server/Controllers/v1.0/LoRaWAN/LoRaWANConcentratorsControllerTest.cs diff --git a/src/AzureIoTHub.Portal.Server.Tests.Unit/Controllers/v1.0/LoRaWAN/LoRaWANDeviceModelsControllerTest.cs b/src/AzureIoTHub.Portal.Tests.Unit/Server/Controllers/v1.0/LoRaWAN/LoRaWANDeviceModelsControllerTest.cs similarity index 100% rename from src/AzureIoTHub.Portal.Server.Tests.Unit/Controllers/v1.0/LoRaWAN/LoRaWANDeviceModelsControllerTest.cs rename to src/AzureIoTHub.Portal.Tests.Unit/Server/Controllers/v1.0/LoRaWAN/LoRaWANDeviceModelsControllerTest.cs diff --git a/src/AzureIoTHub.Portal.Server.Tests.Unit/Controllers/v1.0/LoRaWAN/LoRaWANDevicesControllerTests.cs b/src/AzureIoTHub.Portal.Tests.Unit/Server/Controllers/v1.0/LoRaWAN/LoRaWANDevicesControllerTests.cs similarity index 100% rename from src/AzureIoTHub.Portal.Server.Tests.Unit/Controllers/v1.0/LoRaWAN/LoRaWANDevicesControllerTests.cs rename to src/AzureIoTHub.Portal.Tests.Unit/Server/Controllers/v1.0/LoRaWAN/LoRaWANDevicesControllerTests.cs diff --git a/src/AzureIoTHub.Portal.Server.Tests.Unit/Controllers/v1.0/LoRaWAN/LoRaWANFrequencyPlansControllerTests.cs b/src/AzureIoTHub.Portal.Tests.Unit/Server/Controllers/v1.0/LoRaWAN/LoRaWANFrequencyPlansControllerTests.cs similarity index 100% rename from src/AzureIoTHub.Portal.Server.Tests.Unit/Controllers/v1.0/LoRaWAN/LoRaWANFrequencyPlansControllerTests.cs rename to src/AzureIoTHub.Portal.Tests.Unit/Server/Controllers/v1.0/LoRaWAN/LoRaWANFrequencyPlansControllerTests.cs diff --git a/src/AzureIoTHub.Portal.Server.Tests.Unit/Controllers/v1.0/SettingsControllerTest.cs b/src/AzureIoTHub.Portal.Tests.Unit/Server/Controllers/v1.0/SettingsControllerTest.cs similarity index 100% rename from src/AzureIoTHub.Portal.Server.Tests.Unit/Controllers/v1.0/SettingsControllerTest.cs rename to src/AzureIoTHub.Portal.Tests.Unit/Server/Controllers/v1.0/SettingsControllerTest.cs diff --git a/src/AzureIoTHub.Portal.Server.Tests.Unit/Services/ClipboardServiceTests.cs b/src/AzureIoTHub.Portal.Tests.Unit/Services/ClipboardServiceTests.cs similarity index 100% rename from src/AzureIoTHub.Portal.Server.Tests.Unit/Services/ClipboardServiceTests.cs rename to src/AzureIoTHub.Portal.Tests.Unit/Services/ClipboardServiceTests.cs diff --git a/src/AzureIoTHub.Portal.Server.Tests.Unit/Services/ConcentratorMetricExporterServiceTests.cs b/src/AzureIoTHub.Portal.Tests.Unit/Services/ConcentratorMetricExporterServiceTests.cs similarity index 100% rename from src/AzureIoTHub.Portal.Server.Tests.Unit/Services/ConcentratorMetricExporterServiceTests.cs rename to src/AzureIoTHub.Portal.Tests.Unit/Services/ConcentratorMetricExporterServiceTests.cs diff --git a/src/AzureIoTHub.Portal.Server.Tests.Unit/Services/ConcentratorMetricLoaderServiceTests.cs b/src/AzureIoTHub.Portal.Tests.Unit/Services/ConcentratorMetricLoaderServiceTests.cs similarity index 100% rename from src/AzureIoTHub.Portal.Server.Tests.Unit/Services/ConcentratorMetricLoaderServiceTests.cs rename to src/AzureIoTHub.Portal.Tests.Unit/Services/ConcentratorMetricLoaderServiceTests.cs diff --git a/src/AzureIoTHub.Portal.Server.Tests.Unit/Services/ConfigsServicesTests.cs b/src/AzureIoTHub.Portal.Tests.Unit/Services/ConfigsServicesTests.cs similarity index 100% rename from src/AzureIoTHub.Portal.Server.Tests.Unit/Services/ConfigsServicesTests.cs rename to src/AzureIoTHub.Portal.Tests.Unit/Services/ConfigsServicesTests.cs diff --git a/src/AzureIoTHub.Portal.Server.Tests.Unit/Services/DashboardLayoutServiceTests.cs b/src/AzureIoTHub.Portal.Tests.Unit/Services/DashboardLayoutServiceTests.cs similarity index 100% rename from src/AzureIoTHub.Portal.Server.Tests.Unit/Services/DashboardLayoutServiceTests.cs rename to src/AzureIoTHub.Portal.Tests.Unit/Services/DashboardLayoutServiceTests.cs diff --git a/src/AzureIoTHub.Portal.Server.Tests.Unit/Services/DashboardMetricsClientServiceTests.cs b/src/AzureIoTHub.Portal.Tests.Unit/Services/DashboardMetricsClientServiceTests.cs similarity index 100% rename from src/AzureIoTHub.Portal.Server.Tests.Unit/Services/DashboardMetricsClientServiceTests.cs rename to src/AzureIoTHub.Portal.Tests.Unit/Services/DashboardMetricsClientServiceTests.cs diff --git a/src/AzureIoTHub.Portal.Server.Tests.Unit/Services/DeviceClientServiceTests.cs b/src/AzureIoTHub.Portal.Tests.Unit/Services/DeviceClientServiceTests.cs similarity index 100% rename from src/AzureIoTHub.Portal.Server.Tests.Unit/Services/DeviceClientServiceTests.cs rename to src/AzureIoTHub.Portal.Tests.Unit/Services/DeviceClientServiceTests.cs diff --git a/src/AzureIoTHub.Portal.Server.Tests.Unit/Services/DeviceConfigurationsClientServiceTests.cs b/src/AzureIoTHub.Portal.Tests.Unit/Services/DeviceConfigurationsClientServiceTests.cs similarity index 100% rename from src/AzureIoTHub.Portal.Server.Tests.Unit/Services/DeviceConfigurationsClientServiceTests.cs rename to src/AzureIoTHub.Portal.Tests.Unit/Services/DeviceConfigurationsClientServiceTests.cs diff --git a/src/AzureIoTHub.Portal.Server.Tests.Unit/Services/DeviceLayoutServiceTests.cs b/src/AzureIoTHub.Portal.Tests.Unit/Services/DeviceLayoutServiceTests.cs similarity index 100% rename from src/AzureIoTHub.Portal.Server.Tests.Unit/Services/DeviceLayoutServiceTests.cs rename to src/AzureIoTHub.Portal.Tests.Unit/Services/DeviceLayoutServiceTests.cs diff --git a/src/AzureIoTHub.Portal.Server.Tests.Unit/Services/DeviceMetricExporterServiceTests.cs b/src/AzureIoTHub.Portal.Tests.Unit/Services/DeviceMetricExporterServiceTests.cs similarity index 100% rename from src/AzureIoTHub.Portal.Server.Tests.Unit/Services/DeviceMetricExporterServiceTests.cs rename to src/AzureIoTHub.Portal.Tests.Unit/Services/DeviceMetricExporterServiceTests.cs diff --git a/src/AzureIoTHub.Portal.Server.Tests.Unit/Services/DeviceMetricLoaderServiceTests.cs b/src/AzureIoTHub.Portal.Tests.Unit/Services/DeviceMetricLoaderServiceTests.cs similarity index 100% rename from src/AzureIoTHub.Portal.Server.Tests.Unit/Services/DeviceMetricLoaderServiceTests.cs rename to src/AzureIoTHub.Portal.Tests.Unit/Services/DeviceMetricLoaderServiceTests.cs diff --git a/src/AzureIoTHub.Portal.Server.Tests.Unit/Services/DeviceModelsClientServiceTests.cs b/src/AzureIoTHub.Portal.Tests.Unit/Services/DeviceModelsClientServiceTests.cs similarity index 100% rename from src/AzureIoTHub.Portal.Server.Tests.Unit/Services/DeviceModelsClientServiceTests.cs rename to src/AzureIoTHub.Portal.Tests.Unit/Services/DeviceModelsClientServiceTests.cs diff --git a/src/AzureIoTHub.Portal.Server.Tests.Unit/Services/DeviceServiceTests.cs b/src/AzureIoTHub.Portal.Tests.Unit/Services/DeviceServiceTests.cs similarity index 100% rename from src/AzureIoTHub.Portal.Server.Tests.Unit/Services/DeviceServiceTests.cs rename to src/AzureIoTHub.Portal.Tests.Unit/Services/DeviceServiceTests.cs diff --git a/src/AzureIoTHub.Portal.Server.Tests.Unit/Services/DeviceTagServiceTests.cs b/src/AzureIoTHub.Portal.Tests.Unit/Services/DeviceTagServiceTests.cs similarity index 100% rename from src/AzureIoTHub.Portal.Server.Tests.Unit/Services/DeviceTagServiceTests.cs rename to src/AzureIoTHub.Portal.Tests.Unit/Services/DeviceTagServiceTests.cs diff --git a/src/AzureIoTHub.Portal.Server.Tests.Unit/Services/DeviceTagSettingsClientServiceTests.cs b/src/AzureIoTHub.Portal.Tests.Unit/Services/DeviceTagSettingsClientServiceTests.cs similarity index 100% rename from src/AzureIoTHub.Portal.Server.Tests.Unit/Services/DeviceTagSettingsClientServiceTests.cs rename to src/AzureIoTHub.Portal.Tests.Unit/Services/DeviceTagSettingsClientServiceTests.cs diff --git a/src/AzureIoTHub.Portal.Server.Tests.Unit/Services/EdgeDeviceClientServiceTests.cs b/src/AzureIoTHub.Portal.Tests.Unit/Services/EdgeDeviceClientServiceTests.cs similarity index 100% rename from src/AzureIoTHub.Portal.Server.Tests.Unit/Services/EdgeDeviceClientServiceTests.cs rename to src/AzureIoTHub.Portal.Tests.Unit/Services/EdgeDeviceClientServiceTests.cs diff --git a/src/AzureIoTHub.Portal.Server.Tests.Unit/Services/EdgeDeviceConfigurationsClientServiceTests.cs b/src/AzureIoTHub.Portal.Tests.Unit/Services/EdgeDeviceConfigurationsClientServiceTests.cs similarity index 100% rename from src/AzureIoTHub.Portal.Server.Tests.Unit/Services/EdgeDeviceConfigurationsClientServiceTests.cs rename to src/AzureIoTHub.Portal.Tests.Unit/Services/EdgeDeviceConfigurationsClientServiceTests.cs diff --git a/src/AzureIoTHub.Portal.Server.Tests.Unit/Services/EdgeDeviceMetricExporterServiceTests.cs b/src/AzureIoTHub.Portal.Tests.Unit/Services/EdgeDeviceMetricExporterServiceTests.cs similarity index 100% rename from src/AzureIoTHub.Portal.Server.Tests.Unit/Services/EdgeDeviceMetricExporterServiceTests.cs rename to src/AzureIoTHub.Portal.Tests.Unit/Services/EdgeDeviceMetricExporterServiceTests.cs diff --git a/src/AzureIoTHub.Portal.Server.Tests.Unit/Services/EdgeDeviceMetricLoaderServiceTests.cs b/src/AzureIoTHub.Portal.Tests.Unit/Services/EdgeDeviceMetricLoaderServiceTests.cs similarity index 100% rename from src/AzureIoTHub.Portal.Server.Tests.Unit/Services/EdgeDeviceMetricLoaderServiceTests.cs rename to src/AzureIoTHub.Portal.Tests.Unit/Services/EdgeDeviceMetricLoaderServiceTests.cs diff --git a/src/AzureIoTHub.Portal.Server.Tests.Unit/Services/IdeaClientServiceTests.cs b/src/AzureIoTHub.Portal.Tests.Unit/Services/IdeaClientServiceTests.cs similarity index 100% rename from src/AzureIoTHub.Portal.Server.Tests.Unit/Services/IdeaClientServiceTests.cs rename to src/AzureIoTHub.Portal.Tests.Unit/Services/IdeaClientServiceTests.cs diff --git a/src/AzureIoTHub.Portal.Server.Tests.Unit/Services/IdeaServiceTests.cs b/src/AzureIoTHub.Portal.Tests.Unit/Services/IdeaServiceTests.cs similarity index 100% rename from src/AzureIoTHub.Portal.Server.Tests.Unit/Services/IdeaServiceTests.cs rename to src/AzureIoTHub.Portal.Tests.Unit/Services/IdeaServiceTests.cs diff --git a/src/AzureIoTHub.Portal.Server.Tests.Unit/Services/LayoutServiceTests.cs b/src/AzureIoTHub.Portal.Tests.Unit/Services/LayoutServiceTests.cs similarity index 100% rename from src/AzureIoTHub.Portal.Server.Tests.Unit/Services/LayoutServiceTests.cs rename to src/AzureIoTHub.Portal.Tests.Unit/Services/LayoutServiceTests.cs diff --git a/src/AzureIoTHub.Portal.Server.Tests.Unit/Services/LoRaWANCommandServiceTests.cs b/src/AzureIoTHub.Portal.Tests.Unit/Services/LoRaWANCommandServiceTests.cs similarity index 100% rename from src/AzureIoTHub.Portal.Server.Tests.Unit/Services/LoRaWANCommandServiceTests.cs rename to src/AzureIoTHub.Portal.Tests.Unit/Services/LoRaWANCommandServiceTests.cs diff --git a/src/AzureIoTHub.Portal.Server.Tests.Unit/Services/LoRaWanConcentratorsClientServiceTests.cs b/src/AzureIoTHub.Portal.Tests.Unit/Services/LoRaWanConcentratorsClientServiceTests.cs similarity index 100% rename from src/AzureIoTHub.Portal.Server.Tests.Unit/Services/LoRaWanConcentratorsClientServiceTests.cs rename to src/AzureIoTHub.Portal.Tests.Unit/Services/LoRaWanConcentratorsClientServiceTests.cs diff --git a/src/AzureIoTHub.Portal.Server.Tests.Unit/Services/LoRaWanDeviceClientServiceTests.cs b/src/AzureIoTHub.Portal.Tests.Unit/Services/LoRaWanDeviceClientServiceTests.cs similarity index 100% rename from src/AzureIoTHub.Portal.Server.Tests.Unit/Services/LoRaWanDeviceClientServiceTests.cs rename to src/AzureIoTHub.Portal.Tests.Unit/Services/LoRaWanDeviceClientServiceTests.cs diff --git a/src/AzureIoTHub.Portal.Server.Tests.Unit/Services/LoRaWanDeviceModelsClientServiceTests.cs b/src/AzureIoTHub.Portal.Tests.Unit/Services/LoRaWanDeviceModelsClientServiceTests.cs similarity index 100% rename from src/AzureIoTHub.Portal.Server.Tests.Unit/Services/LoRaWanDeviceModelsClientServiceTests.cs rename to src/AzureIoTHub.Portal.Tests.Unit/Services/LoRaWanDeviceModelsClientServiceTests.cs diff --git a/src/AzureIoTHub.Portal.Server.Tests.Unit/ServicesHealthCheck/HealthCheckResponseWriterTests.cs b/src/AzureIoTHub.Portal.Tests.Unit/ServicesHealthCheck/HealthCheckResponseWriterTests.cs similarity index 100% rename from src/AzureIoTHub.Portal.Server.Tests.Unit/ServicesHealthCheck/HealthCheckResponseWriterTests.cs rename to src/AzureIoTHub.Portal.Tests.Unit/ServicesHealthCheck/HealthCheckResponseWriterTests.cs diff --git a/src/AzureIoTHub.Portal.Server.Tests.Unit/ServicesHealthCheck/IoTHubHealthCheckTest.cs b/src/AzureIoTHub.Portal.Tests.Unit/ServicesHealthCheck/IoTHubHealthCheckTest.cs similarity index 100% rename from src/AzureIoTHub.Portal.Server.Tests.Unit/ServicesHealthCheck/IoTHubHealthCheckTest.cs rename to src/AzureIoTHub.Portal.Tests.Unit/ServicesHealthCheck/IoTHubHealthCheckTest.cs diff --git a/src/AzureIoTHub.Portal.Server.Tests.Unit/ServicesHealthCheck/LoRaManagementKeyFacadeHealthCheckTest.cs b/src/AzureIoTHub.Portal.Tests.Unit/ServicesHealthCheck/LoRaManagementKeyFacadeHealthCheckTest.cs similarity index 100% rename from src/AzureIoTHub.Portal.Server.Tests.Unit/ServicesHealthCheck/LoRaManagementKeyFacadeHealthCheckTest.cs rename to src/AzureIoTHub.Portal.Tests.Unit/ServicesHealthCheck/LoRaManagementKeyFacadeHealthCheckTest.cs diff --git a/src/AzureIoTHub.Portal.Server.Tests.Unit/ServicesHealthCheck/ProvisioningServiceClientHealthCheckTest.cs b/src/AzureIoTHub.Portal.Tests.Unit/ServicesHealthCheck/ProvisioningServiceClientHealthCheckTest.cs similarity index 100% rename from src/AzureIoTHub.Portal.Server.Tests.Unit/ServicesHealthCheck/ProvisioningServiceClientHealthCheckTest.cs rename to src/AzureIoTHub.Portal.Tests.Unit/ServicesHealthCheck/ProvisioningServiceClientHealthCheckTest.cs diff --git a/src/AzureIoTHub.Portal.Server.Tests.Unit/ServicesHealthCheck/StorageAccountHealthCheckTest.cs b/src/AzureIoTHub.Portal.Tests.Unit/ServicesHealthCheck/StorageAccountHealthCheckTest.cs similarity index 100% rename from src/AzureIoTHub.Portal.Server.Tests.Unit/ServicesHealthCheck/StorageAccountHealthCheckTest.cs rename to src/AzureIoTHub.Portal.Tests.Unit/ServicesHealthCheck/StorageAccountHealthCheckTest.cs diff --git a/src/AzureIoTHub.Portal.Server.Tests.Unit/ServicesHealthCheck/TableStorageHealthCheckTest.cs b/src/AzureIoTHub.Portal.Tests.Unit/ServicesHealthCheck/TableStorageHealthCheckTest.cs similarity index 100% rename from src/AzureIoTHub.Portal.Server.Tests.Unit/ServicesHealthCheck/TableStorageHealthCheckTest.cs rename to src/AzureIoTHub.Portal.Tests.Unit/ServicesHealthCheck/TableStorageHealthCheckTest.cs diff --git a/src/AzureIoTHub.Portal.Server.Tests.Unit/UnitTestsAssemblyInfo.cs b/src/AzureIoTHub.Portal.Tests.Unit/UnitTestsAssemblyInfo.cs similarity index 100% rename from src/AzureIoTHub.Portal.Server.Tests.Unit/UnitTestsAssemblyInfo.cs rename to src/AzureIoTHub.Portal.Tests.Unit/UnitTestsAssemblyInfo.cs diff --git a/src/AzureIoTHub.Portal.Server.Tests.Unit/Validators/ConcentratorValidatorTests.cs b/src/AzureIoTHub.Portal.Tests.Unit/Validators/ConcentratorValidatorTests.cs similarity index 100% rename from src/AzureIoTHub.Portal.Server.Tests.Unit/Validators/ConcentratorValidatorTests.cs rename to src/AzureIoTHub.Portal.Tests.Unit/Validators/ConcentratorValidatorTests.cs diff --git a/src/AzureIoTHub.Portal.Server.Tests.Unit/Validators/DeviceDetailValidatorTests.cs b/src/AzureIoTHub.Portal.Tests.Unit/Validators/DeviceDetailValidatorTests.cs similarity index 100% rename from src/AzureIoTHub.Portal.Server.Tests.Unit/Validators/DeviceDetailValidatorTests.cs rename to src/AzureIoTHub.Portal.Tests.Unit/Validators/DeviceDetailValidatorTests.cs diff --git a/src/AzureIoTHub.Portal.Server.Tests.Unit/Validators/DeviceModelValidatorTests.cs b/src/AzureIoTHub.Portal.Tests.Unit/Validators/DeviceModelValidatorTests.cs similarity index 100% rename from src/AzureIoTHub.Portal.Server.Tests.Unit/Validators/DeviceModelValidatorTests.cs rename to src/AzureIoTHub.Portal.Tests.Unit/Validators/DeviceModelValidatorTests.cs diff --git a/src/AzureIoTHub.Portal.Server.Tests.Unit/Validators/DevicePropertyValidatorTests.cs b/src/AzureIoTHub.Portal.Tests.Unit/Validators/DevicePropertyValidatorTests.cs similarity index 100% rename from src/AzureIoTHub.Portal.Server.Tests.Unit/Validators/DevicePropertyValidatorTests.cs rename to src/AzureIoTHub.Portal.Tests.Unit/Validators/DevicePropertyValidatorTests.cs diff --git a/src/AzureIoTHub.Portal.Server.Tests.Unit/Validators/LoRaDeviceDetailsValidatorTests.cs b/src/AzureIoTHub.Portal.Tests.Unit/Validators/LoRaDeviceDetailsValidatorTests.cs similarity index 100% rename from src/AzureIoTHub.Portal.Server.Tests.Unit/Validators/LoRaDeviceDetailsValidatorTests.cs rename to src/AzureIoTHub.Portal.Tests.Unit/Validators/LoRaDeviceDetailsValidatorTests.cs diff --git a/src/AzureIoTHub.Portal.Server.Tests.Unit/Validators/LoRaDeviceModelCommandValidatorTests.cs b/src/AzureIoTHub.Portal.Tests.Unit/Validators/LoRaDeviceModelCommandValidatorTests.cs similarity index 100% rename from src/AzureIoTHub.Portal.Server.Tests.Unit/Validators/LoRaDeviceModelCommandValidatorTests.cs rename to src/AzureIoTHub.Portal.Tests.Unit/Validators/LoRaDeviceModelCommandValidatorTests.cs diff --git a/src/AzureIoTHub.Portal.Server.Tests.Unit/Validators/LoRaDeviceModelValidatorTests.cs b/src/AzureIoTHub.Portal.Tests.Unit/Validators/LoRaDeviceModelValidatorTests.cs similarity index 100% rename from src/AzureIoTHub.Portal.Server.Tests.Unit/Validators/LoRaDeviceModelValidatorTests.cs rename to src/AzureIoTHub.Portal.Tests.Unit/Validators/LoRaDeviceModelValidatorTests.cs diff --git a/src/AzureIoTHub.Portal.sln b/src/AzureIoTHub.Portal.sln index 7b3aae040..550f890ca 100644 --- a/src/AzureIoTHub.Portal.sln +++ b/src/AzureIoTHub.Portal.sln @@ -36,7 +36,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "workflows", "workflows", "{ ..\.github\workflows\publish.yml = ..\.github\workflows\publish.yml EndProjectSection EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "AzureIoTHub.Portal.Server.Tests.Unit", "AzureIoTHub.Portal.Server.Tests.Unit\AzureIoTHub.Portal.Server.Tests.Unit.csproj", "{51FD5B90-B422-47BF-83F2-516520CFB124}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "AzureIoTHub.Portal.Tests.Unit", "AzureIoTHub.Portal.Tests.Unit\AzureIoTHub.Portal.Tests.Unit.csproj", "{51FD5B90-B422-47BF-83F2-516520CFB124}" EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "templates", "templates", "{3F7A2982-4F0B-45F9-9FCA-923D5A7A1511}" ProjectSection(SolutionItems) = preProject