Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Rename unit tests namespaces #383

Merged
merged 1 commit into from
Mar 5, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
using System.Linq;
using System.Threading.Tasks;

namespace AzureIoTHub.Portal.Server.Tests.Controllers.V10
namespace AzureIoTHub.Portal.Server.Tests.Unit.Controllers.V10
{
[TestFixture]
public class ConcentratorsControllerTests
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
using System.Threading;
using System.Threading.Tasks;

namespace AzureIoTHub.Portal.Server.Tests.Controllers.V10
namespace AzureIoTHub.Portal.Server.Tests.Unit.Controllers.V10
{
[TestFixture]
public class DeviceModelCommandsControllerTests
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
using AzureIoTHub.Portal.Server.Controllers.V10;
using Microsoft.Azure.Devices.Provisioning.Service;

namespace AzureIoTHub.Portal.Server.Tests.Controllers.V10
namespace AzureIoTHub.Portal.Server.Tests.Unit.Controllers.V10
{
[TestFixture]
public class DeviceModelsControllerTests
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
using System.Threading;
using System.Threading.Tasks;

namespace AzureIoTHub.Portal.Server.Tests.Controllers.V10
namespace AzureIoTHub.Portal.Server.Tests.Unit.Controllers.V10
{
[TestFixture]
public class DeviceTagSettingsControllerTest
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
using System.Threading;
using System.Threading.Tasks;

namespace AzureIoTHub.Portal.Server.Tests.Controllers.V10
namespace AzureIoTHub.Portal.Server.Tests.Unit.Controllers.V10
{
[TestFixture]
public class DevicesControllerTests
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
using System.Linq;
using System.Threading.Tasks;

namespace AzureIoTHub.Portal.Server.Tests.Controllers.V10
namespace AzureIoTHub.Portal.Server.Tests.Unit.Controllers.V10
{
[TestFixture]
public class EdgeConfigurationsControllerTests
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
using System.Collections.Generic;
using System.Threading.Tasks;

namespace AzureIoTHub.Portal.Server.Tests.Controllers.V10
namespace AzureIoTHub.Portal.Server.Tests.Unit.Controllers.V10
{
[TestFixture]
public class EdgeDevicesControllerTests
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
using System.Threading.Tasks;
using static AzureIoTHub.Portal.Server.Startup;

namespace AzureIoTHub.Portal.Server.Tests.Controllers.V10.LoRaWAN
namespace AzureIoTHub.Portal.Server.Tests.Unit.Controllers.V10.LoRaWAN
{
[TestFixture]
public class LoRaWANConcentratorsControllerTest
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
using System.Threading;
using System.Threading.Tasks;

namespace AzureIoTHub.Portal.Server.Tests.Controllers.V10.LoRaWAN
namespace AzureIoTHub.Portal.Server.Tests.Unit.Controllers.V10.LoRaWAN
{
[TestFixture]
public class LoRaWANDevicesControllerTests
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
using System;
using static AzureIoTHub.Portal.Server.Startup;

namespace AzureIoTHub.Portal.Server.Tests.Controllers.V10
namespace AzureIoTHub.Portal.Server.Tests.Unit.Controllers.V10
{
[TestFixture]
public class SettingsControllerTest
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
using System.Threading.Tasks;
using static AzureIoTHub.Portal.Server.Startup;

namespace AzureIoTHub.Portal.Server.Tests.Filters
namespace AzureIoTHub.Portal.Server.Tests.Unit.Filters
{
[TestFixture]
public class LoRaFeatureActiveFilterAttributeTest
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
using Microsoft.Azure.Devices.Shared;
using NUnit.Framework;

namespace AzureIoTHub.Portal.Server.Tests.Helpers
namespace AzureIoTHub.Portal.Server.Tests.Unit.Helpers
{
class HelpersTest
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
using System.Collections.Generic;
using System.Threading;

namespace AzureIoTHub.Portal.Server.Tests.Managers
namespace AzureIoTHub.Portal.Server.Tests.Unit.Managers
{
[TestFixture]
public class DeviceModelCommandsManagerTests
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
using System.Threading;
using System.Threading.Tasks;

namespace AzureIoTHub.Portal.Server.Tests.Managers
namespace AzureIoTHub.Portal.Server.Tests.Unit.Managers
{
[TestFixture]
public class RouterConfigManagerTests
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
using System.Net.Http;
using System.Text;

namespace AzureIoTHub.Portal.Server.Tests.Mappers
namespace AzureIoTHub.Portal.Server.Tests.Unit.Mappers
{
[TestFixture]
public class ConcentratorTwinMapperTests
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
using Moq;
using NUnit.Framework;

namespace AzureIoTHub.Portal.Server.Tests.Mappers
namespace AzureIoTHub.Portal.Server.Tests.Unit.Mappers
{
[TestFixture]
public class DeviceModelCommandMapperTests
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
using System;
using System.Collections.Generic;

namespace AzureIoTHub.Portal.Server.Tests.Mappers
namespace AzureIoTHub.Portal.Server.Tests.Unit.Mappers
{
[TestFixture]
public class DeviceModelMapperTests
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
using System.Text;
using System.Threading.Tasks;

namespace AzureIoTHub.Portal.Server.Tests.Mappers
namespace AzureIoTHub.Portal.Server.Tests.Unit.Mappers
{
[TestFixture]
public class DeviceTagMapperTests
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
using AzureIoTHub.Portal.Shared.Models.V10.LoRaWAN.LoRaDevice;
using AzureIoTHub.Portal.Server.Helpers;

namespace AzureIoTHub.Portal.Server.Tests.Mappers
namespace AzureIoTHub.Portal.Server.Tests.Unit.Mappers
{
[TestFixture]
public class DeviceTwinMapperTests
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
using NUnit.Framework;
using System;

namespace AzureIoTHub.Portal.Server.Tests.Mappers
namespace AzureIoTHub.Portal.Server.Tests.Unit.Mappers
{
[TestFixture]
public class LoRaDeviceModelMapperTests
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
using System;
using System.Collections.Generic;

namespace AzureIoTHub.Portal.Server.Tests.Mappers
namespace AzureIoTHub.Portal.Server.Tests.Unit.Mappers
{
[TestFixture]
public class LoRaDeviceTwinMapperTests
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
using NUnit.Framework;
using RichardSzalay.MockHttp;

namespace AzureIoTHub.Portal.Server.Tests.Pages
namespace AzureIoTHub.Portal.Server.Tests.Unit.Pages
{
[TestFixture]
public class DevicesListPageTests
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
using NUnit.Framework;
using RichardSzalay.MockHttp;

namespace AzureIoTHub.Portal.Server.Tests.Unit.Pages.DevicesModels
namespace AzureIoTHub.Portal.Server.Tests.Unit.Pages
{
[TestFixture]
public class DeviceModelListPageTests
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
using System.Linq;
using System.Threading.Tasks;

namespace AzureIoTHub.Portal.Server.Tests.Services
namespace AzureIoTHub.Portal.Server.Tests.Unit.Services
{
[TestFixture]
public class ConfigsServicesTests
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
using System.Threading;
using System.Threading.Tasks;

namespace AzureIoTHub.Portal.Server.Tests.Services
namespace AzureIoTHub.Portal.Server.Tests.Unit.Services
{
[TestFixture]
public class DeviceServiceTests
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
using System.Threading;
using System.Threading.Tasks;

namespace AzureIoTHub.Portal.Server.Tests.Services
namespace AzureIoTHub.Portal.Server.Tests.Unit.Services
{
[TestFixture]
public class DeviceTagServiceTest
Expand Down