Skip to content

Commit 4b8eb32

Browse files
committed
♻️ tests: Fix namespaces
1 parent ab1f41f commit 4b8eb32

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+57
-54
lines changed

UnitsNet.Benchmark/UnitsNet.Benchmark.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<AssemblyVersion>4.0.0.0</AssemblyVersion>
77
<AssemblyTitle>UnitsNet.Benchmark</AssemblyTitle>
88
<Product>UnitsNet.Benchmark</Product>
9-
<RootNamespace>UnitsNet</RootNamespace>
9+
<RootNamespace>UnitsNet.Benchmark</RootNamespace>
1010
</PropertyGroup>
1111

1212
<ItemGroup>

UnitsNet.Serialization.JsonNet.Tests/CustomQuantities/HowMuchTests.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
using Newtonsoft.Json;
2-
using UnitsNet.Serialization.JsonNet;
2+
using UnitsNet.Tests.CustomQuantities;
33
using Xunit;
44

5-
namespace UnitsNet.Tests.CustomQuantities
5+
namespace UnitsNet.Serialization.JsonNet.Tests.CustomQuantities
66
{
77
public class HowMuchTests
88
{

UnitsNet.Tests/CustomCode/AccelerationTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
using Xunit;
55

6-
namespace UnitsNet.Tests.CustomCode
6+
namespace UnitsNet.Tests
77
{
88
public class AccelerationTests : AccelerationTestsBase
99
{

UnitsNet.Tests/CustomCode/AmplitudeRatioTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
using System;
55
using Xunit;
66

7-
namespace UnitsNet.Tests.CustomCode
7+
namespace UnitsNet.Tests
88
{
99
public class AmplitudeRatioTests : AmplitudeRatioTestsBase
1010
{

UnitsNet.Tests/CustomCode/AngleTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
using System;
55
using Xunit;
66

7-
namespace UnitsNet.Tests.CustomCode
7+
namespace UnitsNet.Tests
88
{
99
public class AngleTests : AngleTestsBase
1010
{

UnitsNet.Tests/CustomCode/AreaTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
using UnitsNet.Units;
55
using Xunit;
66

7-
namespace UnitsNet.Tests.CustomCode
7+
namespace UnitsNet.Tests
88
{
99
public class AreaTests : AreaTestsBase
1010
{

UnitsNet.Tests/CustomCode/BrakeSpecificFuelConsumptionTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
using Xunit;
66

7-
namespace UnitsNet.Tests.CustomCode
7+
namespace UnitsNet.Tests
88
{
99
public class BrakeSpecificFuelConsumptionTests : BrakeSpecificFuelConsumptionTestsBase
1010
{

UnitsNet.Tests/CustomCode/DensityTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
using Xunit;
55

6-
namespace UnitsNet.Tests.CustomCode
6+
namespace UnitsNet.Tests
77
{
88
public class DensityTests : DensityTestsBase
99
{

UnitsNet.Tests/CustomCode/DurationTests.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
// Licensed under MIT No Attribution, see LICENSE file at the root.
22
// Copyright 2013 Andreas Gullberg Larsen ([email protected]). Maintained at https://github.com/angularsen/UnitsNet.
33

4-
using Xunit;
54
using System;
65
using System.Globalization;
6+
using Xunit;
77

8-
namespace UnitsNet.Tests.CustomCode
8+
namespace UnitsNet.Tests
99
{
1010
public class DurationTests : DurationTestsBase
1111
{
@@ -190,7 +190,7 @@ public void DurationTimesVolumeFlowEqualsVolume()
190190
[InlineData("1 сек", 1, "ru-RU")]
191191
[InlineData("1000 мс", 1, "ru-RU")]
192192
[InlineData("1000 мсек", 1, "ru-RU")]
193-
public void DurationFromStringUsingMultipleAbbreviationsParsedCorrectly(string textValue, double expectedSeconds, string culture = null)
193+
public void DurationFromStringUsingMultipleAbbreviationsParsedCorrectly(string textValue, double expectedSeconds, string? culture = null)
194194
{
195195
var cultureInfo = culture == null ? null : new CultureInfo(culture);
196196

UnitsNet.Tests/CustomCode/DynamicViscosityTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
using Xunit;
66

7-
namespace UnitsNet.Tests.CustomCode
7+
namespace UnitsNet.Tests
88
{
99
public class DynamicViscosityTests : DynamicViscosityTestsBase
1010
{

0 commit comments

Comments
 (0)