diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a93c29f7..c38b3823 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -34,7 +34,7 @@ jobs: - name: Pack if: ${{ steps.release.outputs.releases_created }} run: | - dotnet pack OpenFeature.SDK.proj --configuration Release --no-build -p:PackageID=OpenFeature + dotnet pack OpenFeatureSDK.proj --configuration Release --no-build -p:PackageID=OpenFeature - name: Publish to Nuget if: ${{ steps.release.outputs.releases_created }} diff --git a/OpenFeature.SDK.proj b/OpenFeatureSDK.proj similarity index 100% rename from OpenFeature.SDK.proj rename to OpenFeatureSDK.proj diff --git a/OpenFeature.SDK.sln b/OpenFeatureSDK.sln similarity index 93% rename from OpenFeature.SDK.sln rename to OpenFeatureSDK.sln index 11571a55..064f140e 100644 --- a/OpenFeature.SDK.sln +++ b/OpenFeatureSDK.sln @@ -1,6 +1,6 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "OpenFeature.SDK", "src\OpenFeature.SDK\OpenFeature.SDK.csproj", "{07A6E6BD-FB7E-4B3B-9CBE-65AE9D0EB223}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "OpenFeatureSDK", "src\OpenFeatureSDK\OpenFeatureSDK.csproj", "{07A6E6BD-FB7E-4B3B-9CBE-65AE9D0EB223}" EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "build", "build", "{72005F60-C2E8-40BF-AE95-893635134D7D}" ProjectSection(SolutionItems) = preProject @@ -29,7 +29,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "test", "test", "{65FBA159-2 test\Directory.Build.props = test\Directory.Build.props EndProjectSection EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "OpenFeature.SDK.Tests", "test\OpenFeature.SDK.Tests\OpenFeature.SDK.Tests.csproj", "{49BB42BA-10A6-4DA3-A7D5-38C968D57837}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "OpenFeatureSDK.Tests", "test\OpenFeatureSDK.Tests\OpenFeatureSDK.Tests.csproj", "{49BB42BA-10A6-4DA3-A7D5-38C968D57837}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution diff --git a/README.md b/README.md index 852163e8..41a43ed4 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,7 @@ The packages will aim to support all current .NET versions. Refer to the current ### Basic Usage ```csharp -using OpenFeature.SDK; +using OpenFeatureSDK; // Sets the provider used by the client OpenFeature.Instance.SetProvider(new NoOpProvider()); @@ -40,8 +40,8 @@ To develop a provider, you need to create a new project and include the OpenFeat Example of implementing a feature flag provider ```csharp -using OpenFeature.SDK; -using OpenFeature.SDK.Model; +using OpenFeatureSDK; +using OpenFeatureSDK.Model; public class MyFeatureProvider : FeatureProvider { diff --git a/build/Common.tests.props b/build/Common.tests.props index 4cdbe034..677a51ec 100644 --- a/build/Common.tests.props +++ b/build/Common.tests.props @@ -10,7 +10,7 @@ - + PreserveNewest diff --git a/src/Directory.Build.props b/src/Directory.Build.props index 157b717e..47c2b439 100644 --- a/src/Directory.Build.props +++ b/src/Directory.Build.props @@ -1,3 +1,3 @@ - + diff --git a/src/OpenFeature.SDK/Constant/ErrorType.cs b/src/OpenFeatureSDK/Constant/ErrorType.cs similarity index 93% rename from src/OpenFeature.SDK/Constant/ErrorType.cs rename to src/OpenFeatureSDK/Constant/ErrorType.cs index 936db1f6..e1dee893 100644 --- a/src/OpenFeature.SDK/Constant/ErrorType.cs +++ b/src/OpenFeatureSDK/Constant/ErrorType.cs @@ -1,6 +1,6 @@ using System.ComponentModel; -namespace OpenFeature.SDK.Constant +namespace OpenFeatureSDK.Constant { /// /// These errors are used to indicate abnormal execution when evaluation a flag diff --git a/src/OpenFeature.SDK/Constant/FlagValueType.cs b/src/OpenFeatureSDK/Constant/FlagValueType.cs similarity index 89% rename from src/OpenFeature.SDK/Constant/FlagValueType.cs rename to src/OpenFeatureSDK/Constant/FlagValueType.cs index 26b29921..5eb328cd 100644 --- a/src/OpenFeature.SDK/Constant/FlagValueType.cs +++ b/src/OpenFeatureSDK/Constant/FlagValueType.cs @@ -1,4 +1,4 @@ -namespace OpenFeature.SDK.Constant +namespace OpenFeatureSDK.Constant { /// /// Used to identity what object type of flag being evaluated diff --git a/src/OpenFeature.SDK/Constant/NoOpProvider.cs b/src/OpenFeatureSDK/Constant/NoOpProvider.cs similarity index 83% rename from src/OpenFeature.SDK/Constant/NoOpProvider.cs rename to src/OpenFeatureSDK/Constant/NoOpProvider.cs index 210ac24d..e3f8eee5 100644 --- a/src/OpenFeature.SDK/Constant/NoOpProvider.cs +++ b/src/OpenFeatureSDK/Constant/NoOpProvider.cs @@ -1,4 +1,4 @@ -namespace OpenFeature.SDK.Constant +namespace OpenFeatureSDK.Constant { internal static class NoOpProvider { diff --git a/src/OpenFeature.SDK/Constant/Reason.cs b/src/OpenFeatureSDK/Constant/Reason.cs similarity index 94% rename from src/OpenFeature.SDK/Constant/Reason.cs rename to src/OpenFeatureSDK/Constant/Reason.cs index 70d0c177..81729809 100644 --- a/src/OpenFeature.SDK/Constant/Reason.cs +++ b/src/OpenFeatureSDK/Constant/Reason.cs @@ -1,4 +1,4 @@ -namespace OpenFeature.SDK.Constant +namespace OpenFeatureSDK.Constant { /// /// Common reasons used during flag resolution diff --git a/src/OpenFeature.SDK/Error/FeatureProviderException.cs b/src/OpenFeatureSDK/Error/FeatureProviderException.cs similarity index 92% rename from src/OpenFeature.SDK/Error/FeatureProviderException.cs rename to src/OpenFeatureSDK/Error/FeatureProviderException.cs index dc3368bb..3e1d4ca8 100644 --- a/src/OpenFeature.SDK/Error/FeatureProviderException.cs +++ b/src/OpenFeatureSDK/Error/FeatureProviderException.cs @@ -1,8 +1,8 @@ using System; -using OpenFeature.SDK.Constant; -using OpenFeature.SDK.Extension; +using OpenFeatureSDK.Constant; +using OpenFeatureSDK.Extension; -namespace OpenFeature.SDK.Error +namespace OpenFeatureSDK.Error { /// /// Used to represent an abnormal error when evaluating a flag. This exception should be thrown diff --git a/src/OpenFeature.SDK/Extension/EnumExtensions.cs b/src/OpenFeatureSDK/Extension/EnumExtensions.cs similarity index 89% rename from src/OpenFeature.SDK/Extension/EnumExtensions.cs rename to src/OpenFeatureSDK/Extension/EnumExtensions.cs index 2647e383..2094486c 100644 --- a/src/OpenFeature.SDK/Extension/EnumExtensions.cs +++ b/src/OpenFeatureSDK/Extension/EnumExtensions.cs @@ -2,7 +2,7 @@ using System.ComponentModel; using System.Linq; -namespace OpenFeature.SDK.Extension +namespace OpenFeatureSDK.Extension { internal static class EnumExtensions { diff --git a/src/OpenFeature.SDK/Extension/ResolutionDetailsExtensions.cs b/src/OpenFeatureSDK/Extension/ResolutionDetailsExtensions.cs similarity index 81% rename from src/OpenFeature.SDK/Extension/ResolutionDetailsExtensions.cs rename to src/OpenFeatureSDK/Extension/ResolutionDetailsExtensions.cs index 823c6c3b..72e53154 100644 --- a/src/OpenFeature.SDK/Extension/ResolutionDetailsExtensions.cs +++ b/src/OpenFeatureSDK/Extension/ResolutionDetailsExtensions.cs @@ -1,6 +1,6 @@ -using OpenFeature.SDK.Model; +using OpenFeatureSDK.Model; -namespace OpenFeature.SDK.Extension +namespace OpenFeatureSDK.Extension { internal static class ResolutionDetailsExtensions { diff --git a/src/OpenFeature.SDK/FeatureProvider.cs b/src/OpenFeatureSDK/FeatureProvider.cs similarity index 96% rename from src/OpenFeature.SDK/FeatureProvider.cs rename to src/OpenFeatureSDK/FeatureProvider.cs index 648f5db1..639363a8 100644 --- a/src/OpenFeature.SDK/FeatureProvider.cs +++ b/src/OpenFeatureSDK/FeatureProvider.cs @@ -1,9 +1,9 @@ using System; using System.Collections.Generic; using System.Threading.Tasks; -using OpenFeature.SDK.Model; +using OpenFeatureSDK.Model; -namespace OpenFeature.SDK +namespace OpenFeatureSDK { /// /// The provider interface describes the abstraction layer for a feature flag provider. diff --git a/src/OpenFeature.SDK/Hook.cs b/src/OpenFeatureSDK/Hook.cs similarity index 96% rename from src/OpenFeature.SDK/Hook.cs rename to src/OpenFeatureSDK/Hook.cs index 7159cae0..5a478e20 100644 --- a/src/OpenFeature.SDK/Hook.cs +++ b/src/OpenFeatureSDK/Hook.cs @@ -1,9 +1,9 @@ using System; using System.Collections.Generic; using System.Threading.Tasks; -using OpenFeature.SDK.Model; +using OpenFeatureSDK.Model; -namespace OpenFeature.SDK +namespace OpenFeatureSDK { /// /// The Hook abstract class describes the default implementation for a hook. diff --git a/src/OpenFeature.SDK/IFeatureClient.cs b/src/OpenFeatureSDK/IFeatureClient.cs similarity index 95% rename from src/OpenFeature.SDK/IFeatureClient.cs rename to src/OpenFeatureSDK/IFeatureClient.cs index 99af15c3..9c1fdfcc 100644 --- a/src/OpenFeature.SDK/IFeatureClient.cs +++ b/src/OpenFeatureSDK/IFeatureClient.cs @@ -1,8 +1,8 @@ using System.Collections.Generic; using System.Threading.Tasks; -using OpenFeature.SDK.Model; +using OpenFeatureSDK.Model; -namespace OpenFeature.SDK +namespace OpenFeatureSDK { internal interface IFeatureClient { diff --git a/src/OpenFeature.SDK/Model/ClientMetadata.cs b/src/OpenFeatureSDK/Model/ClientMetadata.cs similarity index 91% rename from src/OpenFeature.SDK/Model/ClientMetadata.cs rename to src/OpenFeatureSDK/Model/ClientMetadata.cs index 7a502a6a..bfe80895 100644 --- a/src/OpenFeature.SDK/Model/ClientMetadata.cs +++ b/src/OpenFeatureSDK/Model/ClientMetadata.cs @@ -1,4 +1,4 @@ -namespace OpenFeature.SDK.Model +namespace OpenFeatureSDK.Model { /// /// Represents the client metadata diff --git a/src/OpenFeature.SDK/Model/EvaluationContext.cs b/src/OpenFeatureSDK/Model/EvaluationContext.cs similarity index 97% rename from src/OpenFeature.SDK/Model/EvaluationContext.cs rename to src/OpenFeatureSDK/Model/EvaluationContext.cs index cd73b2cc..c50561e6 100644 --- a/src/OpenFeature.SDK/Model/EvaluationContext.cs +++ b/src/OpenFeatureSDK/Model/EvaluationContext.cs @@ -1,7 +1,7 @@ using System; using System.Collections.Generic; -namespace OpenFeature.SDK.Model +namespace OpenFeatureSDK.Model { /// /// A KeyValuePair with a string key and object value that is used to apply user defined properties diff --git a/src/OpenFeature.SDK/Model/FlagEvaluationOptions.cs b/src/OpenFeatureSDK/Model/FlagEvaluationOptions.cs similarity index 95% rename from src/OpenFeature.SDK/Model/FlagEvaluationOptions.cs rename to src/OpenFeatureSDK/Model/FlagEvaluationOptions.cs index 53aacceb..cb8bc353 100644 --- a/src/OpenFeature.SDK/Model/FlagEvaluationOptions.cs +++ b/src/OpenFeatureSDK/Model/FlagEvaluationOptions.cs @@ -1,6 +1,6 @@ using System.Collections.Generic; -namespace OpenFeature.SDK.Model +namespace OpenFeatureSDK.Model { /// /// A structure containing the one or more hooks and hook hints diff --git a/src/OpenFeature.SDK/Model/FlagEvalusationDetails.cs b/src/OpenFeatureSDK/Model/FlagEvalusationDetails.cs similarity index 93% rename from src/OpenFeature.SDK/Model/FlagEvalusationDetails.cs rename to src/OpenFeatureSDK/Model/FlagEvalusationDetails.cs index 2b133bd6..f1c4d125 100644 --- a/src/OpenFeature.SDK/Model/FlagEvalusationDetails.cs +++ b/src/OpenFeatureSDK/Model/FlagEvalusationDetails.cs @@ -1,7 +1,7 @@ -using OpenFeature.SDK.Constant; -using OpenFeature.SDK.Extension; +using OpenFeatureSDK.Constant; +using OpenFeatureSDK.Extension; -namespace OpenFeature.SDK.Model +namespace OpenFeatureSDK.Model { /// /// The contract returned to the caller that describes the result of the flag evaluation process. diff --git a/src/OpenFeature.SDK/Model/HookContext.cs b/src/OpenFeatureSDK/Model/HookContext.cs similarity index 95% rename from src/OpenFeature.SDK/Model/HookContext.cs rename to src/OpenFeatureSDK/Model/HookContext.cs index 7a610272..d97b8333 100644 --- a/src/OpenFeature.SDK/Model/HookContext.cs +++ b/src/OpenFeatureSDK/Model/HookContext.cs @@ -1,7 +1,7 @@ using System; -using OpenFeature.SDK.Constant; +using OpenFeatureSDK.Constant; -namespace OpenFeature.SDK.Model +namespace OpenFeatureSDK.Model { /// /// Context provided to hook execution diff --git a/src/OpenFeature.SDK/Model/Metadata.cs b/src/OpenFeatureSDK/Model/Metadata.cs similarity index 91% rename from src/OpenFeature.SDK/Model/Metadata.cs rename to src/OpenFeatureSDK/Model/Metadata.cs index ebbd43ed..9228b462 100644 --- a/src/OpenFeature.SDK/Model/Metadata.cs +++ b/src/OpenFeatureSDK/Model/Metadata.cs @@ -1,4 +1,4 @@ -namespace OpenFeature.SDK.Model +namespace OpenFeatureSDK.Model { /// /// metadata diff --git a/src/OpenFeature.SDK/Model/ResolutionDetails.cs b/src/OpenFeatureSDK/Model/ResolutionDetails.cs similarity index 94% rename from src/OpenFeature.SDK/Model/ResolutionDetails.cs rename to src/OpenFeatureSDK/Model/ResolutionDetails.cs index 4672327f..85ba8d35 100644 --- a/src/OpenFeature.SDK/Model/ResolutionDetails.cs +++ b/src/OpenFeatureSDK/Model/ResolutionDetails.cs @@ -1,6 +1,6 @@ -using OpenFeature.SDK.Constant; +using OpenFeatureSDK.Constant; -namespace OpenFeature.SDK.Model +namespace OpenFeatureSDK.Model { /// /// Defines the contract that the is required to return diff --git a/src/OpenFeature.SDK/Model/Structure.cs b/src/OpenFeatureSDK/Model/Structure.cs similarity index 96% rename from src/OpenFeature.SDK/Model/Structure.cs rename to src/OpenFeatureSDK/Model/Structure.cs index 508b4083..eec68240 100644 --- a/src/OpenFeature.SDK/Model/Structure.cs +++ b/src/OpenFeatureSDK/Model/Structure.cs @@ -3,7 +3,7 @@ using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; -namespace OpenFeature.SDK.Model +namespace OpenFeatureSDK.Model { /// /// Structure represents a map of Values diff --git a/src/OpenFeature.SDK/Model/Value.cs b/src/OpenFeatureSDK/Model/Value.cs similarity index 97% rename from src/OpenFeature.SDK/Model/Value.cs rename to src/OpenFeatureSDK/Model/Value.cs index 941eecba..308c698a 100644 --- a/src/OpenFeature.SDK/Model/Value.cs +++ b/src/OpenFeatureSDK/Model/Value.cs @@ -2,7 +2,7 @@ using System.Collections; using System.Collections.Generic; -namespace OpenFeature.SDK.Model +namespace OpenFeatureSDK.Model { /// /// Values serve as a return type for provider objects. Providers may deal in JSON, protobuf, XML or some other data-interchange format. diff --git a/src/OpenFeature.SDK/NoOpProvider.cs b/src/OpenFeatureSDK/NoOpProvider.cs similarity index 92% rename from src/OpenFeature.SDK/NoOpProvider.cs rename to src/OpenFeatureSDK/NoOpProvider.cs index a406a994..94fa7c2e 100644 --- a/src/OpenFeature.SDK/NoOpProvider.cs +++ b/src/OpenFeatureSDK/NoOpProvider.cs @@ -1,8 +1,8 @@ using System.Threading.Tasks; -using OpenFeature.SDK.Constant; -using OpenFeature.SDK.Model; +using OpenFeatureSDK.Constant; +using OpenFeatureSDK.Model; -namespace OpenFeature.SDK +namespace OpenFeatureSDK { internal class NoOpFeatureProvider : FeatureProvider { diff --git a/src/OpenFeature.SDK/OpenFeature.cs b/src/OpenFeatureSDK/OpenFeature.cs similarity index 96% rename from src/OpenFeature.SDK/OpenFeature.cs rename to src/OpenFeatureSDK/OpenFeature.cs index 31079cd0..8ea95048 100644 --- a/src/OpenFeature.SDK/OpenFeature.cs +++ b/src/OpenFeatureSDK/OpenFeature.cs @@ -1,8 +1,8 @@ using System.Collections.Generic; using Microsoft.Extensions.Logging; -using OpenFeature.SDK.Model; +using OpenFeatureSDK.Model; -namespace OpenFeature.SDK +namespace OpenFeatureSDK { /// /// The evaluation API allows for the evaluation of feature flag values, independent of any flag control plane or vendor. diff --git a/src/OpenFeature.SDK/OpenFeatureClient.cs b/src/OpenFeatureSDK/OpenFeatureClient.cs similarity index 97% rename from src/OpenFeature.SDK/OpenFeatureClient.cs rename to src/OpenFeatureSDK/OpenFeatureClient.cs index 04125fec..f46bbd59 100644 --- a/src/OpenFeature.SDK/OpenFeatureClient.cs +++ b/src/OpenFeatureSDK/OpenFeatureClient.cs @@ -4,12 +4,12 @@ using System.Threading.Tasks; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Logging.Abstractions; -using OpenFeature.SDK.Constant; -using OpenFeature.SDK.Error; -using OpenFeature.SDK.Extension; -using OpenFeature.SDK.Model; +using OpenFeatureSDK.Constant; +using OpenFeatureSDK.Error; +using OpenFeatureSDK.Extension; +using OpenFeatureSDK.Model; -namespace OpenFeature.SDK +namespace OpenFeatureSDK { /// /// diff --git a/src/OpenFeature.SDK/OpenFeature.SDK.csproj b/src/OpenFeatureSDK/OpenFeatureSDK.csproj similarity index 79% rename from src/OpenFeature.SDK/OpenFeature.SDK.csproj rename to src/OpenFeatureSDK/OpenFeatureSDK.csproj index 4f479f01..3e564e99 100644 --- a/src/OpenFeature.SDK/OpenFeature.SDK.csproj +++ b/src/OpenFeatureSDK/OpenFeatureSDK.csproj @@ -2,7 +2,7 @@ netstandard2.0;net462 - OpenFeature.SDK + OpenFeatureSDK @@ -11,7 +11,7 @@ - <_Parameter1>OpenFeature.SDK.Tests + <_Parameter1>OpenFeatureSDK.Tests diff --git a/test/Directory.Build.props b/test/Directory.Build.props index 3ed2d6f4..5e1104b8 100644 --- a/test/Directory.Build.props +++ b/test/Directory.Build.props @@ -1,3 +1,3 @@ - + diff --git a/test/OpenFeature.SDK.Tests/ClearOpenFeatureInstanceFixture.cs b/test/OpenFeatureSDK.Tests/ClearOpenFeatureInstanceFixture.cs similarity index 89% rename from test/OpenFeature.SDK.Tests/ClearOpenFeatureInstanceFixture.cs rename to test/OpenFeatureSDK.Tests/ClearOpenFeatureInstanceFixture.cs index 3cf4bb5d..b15b2c30 100644 --- a/test/OpenFeature.SDK.Tests/ClearOpenFeatureInstanceFixture.cs +++ b/test/OpenFeatureSDK.Tests/ClearOpenFeatureInstanceFixture.cs @@ -1,4 +1,4 @@ -namespace OpenFeature.SDK.Tests +namespace OpenFeatureSDK.Tests { public class ClearOpenFeatureInstanceFixture { diff --git a/test/OpenFeature.SDK.Tests/FeatureProviderExceptionTests.cs b/test/OpenFeatureSDK.Tests/FeatureProviderExceptionTests.cs similarity index 91% rename from test/OpenFeature.SDK.Tests/FeatureProviderExceptionTests.cs rename to test/OpenFeatureSDK.Tests/FeatureProviderExceptionTests.cs index 8d100176..ecdd5740 100644 --- a/test/OpenFeature.SDK.Tests/FeatureProviderExceptionTests.cs +++ b/test/OpenFeatureSDK.Tests/FeatureProviderExceptionTests.cs @@ -1,10 +1,10 @@ using System; using FluentAssertions; -using OpenFeature.SDK.Constant; -using OpenFeature.SDK.Error; +using OpenFeatureSDK.Constant; +using OpenFeatureSDK.Error; using Xunit; -namespace OpenFeature.SDK.Tests +namespace OpenFeatureSDK.Tests { public class FeatureProviderExceptionTests { diff --git a/test/OpenFeature.SDK.Tests/FeatureProviderTests.cs b/test/OpenFeatureSDK.Tests/FeatureProviderTests.cs similarity index 97% rename from test/OpenFeature.SDK.Tests/FeatureProviderTests.cs rename to test/OpenFeatureSDK.Tests/FeatureProviderTests.cs index 8965eff0..ad524a3b 100644 --- a/test/OpenFeature.SDK.Tests/FeatureProviderTests.cs +++ b/test/OpenFeatureSDK.Tests/FeatureProviderTests.cs @@ -2,12 +2,12 @@ using AutoFixture; using FluentAssertions; using Moq; -using OpenFeature.SDK.Constant; -using OpenFeature.SDK.Model; -using OpenFeature.SDK.Tests.Internal; +using OpenFeatureSDK.Constant; +using OpenFeatureSDK.Model; +using OpenFeatureSDK.Tests.Internal; using Xunit; -namespace OpenFeature.SDK.Tests +namespace OpenFeatureSDK.Tests { public class FeatureProviderTests : ClearOpenFeatureInstanceFixture { diff --git a/test/OpenFeature.SDK.Tests/Internal/SpecificationAttribute.cs b/test/OpenFeatureSDK.Tests/Internal/SpecificationAttribute.cs similarity index 87% rename from test/OpenFeature.SDK.Tests/Internal/SpecificationAttribute.cs rename to test/OpenFeatureSDK.Tests/Internal/SpecificationAttribute.cs index 624c54cc..68a79ab3 100644 --- a/test/OpenFeature.SDK.Tests/Internal/SpecificationAttribute.cs +++ b/test/OpenFeatureSDK.Tests/Internal/SpecificationAttribute.cs @@ -1,6 +1,6 @@ using System; -namespace OpenFeature.SDK.Tests.Internal +namespace OpenFeatureSDK.Tests.Internal { [AttributeUsage(AttributeTargets.Method, AllowMultiple = true, Inherited = false)] public class SpecificationAttribute : Attribute diff --git a/test/OpenFeature.SDK.Tests/OpenFeatureClientTests.cs b/test/OpenFeatureSDK.Tests/OpenFeatureClientTests.cs similarity index 97% rename from test/OpenFeature.SDK.Tests/OpenFeatureClientTests.cs rename to test/OpenFeatureSDK.Tests/OpenFeatureClientTests.cs index 5902908e..705db1a9 100644 --- a/test/OpenFeature.SDK.Tests/OpenFeatureClientTests.cs +++ b/test/OpenFeatureSDK.Tests/OpenFeatureClientTests.cs @@ -5,14 +5,14 @@ using FluentAssertions; using Microsoft.Extensions.Logging; using Moq; -using OpenFeature.SDK.Constant; -using OpenFeature.SDK.Error; -using OpenFeature.SDK.Extension; -using OpenFeature.SDK.Model; -using OpenFeature.SDK.Tests.Internal; +using OpenFeatureSDK.Constant; +using OpenFeatureSDK.Error; +using OpenFeatureSDK.Extension; +using OpenFeatureSDK.Model; +using OpenFeatureSDK.Tests.Internal; using Xunit; -namespace OpenFeature.SDK.Tests +namespace OpenFeatureSDK.Tests { public class OpenFeatureClientTests : ClearOpenFeatureInstanceFixture { diff --git a/test/OpenFeature.SDK.Tests/OpenFeatureEvaluationContextTests.cs b/test/OpenFeatureSDK.Tests/OpenFeatureEvaluationContextTests.cs similarity index 95% rename from test/OpenFeature.SDK.Tests/OpenFeatureEvaluationContextTests.cs rename to test/OpenFeatureSDK.Tests/OpenFeatureEvaluationContextTests.cs index ff913c13..8c743568 100644 --- a/test/OpenFeature.SDK.Tests/OpenFeatureEvaluationContextTests.cs +++ b/test/OpenFeatureSDK.Tests/OpenFeatureEvaluationContextTests.cs @@ -2,11 +2,11 @@ using System.Collections.Generic; using AutoFixture; using FluentAssertions; -using OpenFeature.SDK.Model; -using OpenFeature.SDK.Tests.Internal; +using OpenFeatureSDK.Model; +using OpenFeatureSDK.Tests.Internal; using Xunit; -namespace OpenFeature.SDK.Tests +namespace OpenFeatureSDK.Tests { public class OpenFeatureEvaluationContextTests { diff --git a/test/OpenFeature.SDK.Tests/OpenFeatureHookTests.cs b/test/OpenFeatureSDK.Tests/OpenFeatureHookTests.cs similarity index 97% rename from test/OpenFeature.SDK.Tests/OpenFeatureHookTests.cs rename to test/OpenFeatureSDK.Tests/OpenFeatureHookTests.cs index 7b470be5..8266e2d7 100644 --- a/test/OpenFeature.SDK.Tests/OpenFeatureHookTests.cs +++ b/test/OpenFeatureSDK.Tests/OpenFeatureHookTests.cs @@ -4,12 +4,12 @@ using AutoFixture; using FluentAssertions; using Moq; -using OpenFeature.SDK.Constant; -using OpenFeature.SDK.Model; -using OpenFeature.SDK.Tests.Internal; +using OpenFeatureSDK.Constant; +using OpenFeatureSDK.Model; +using OpenFeatureSDK.Tests.Internal; using Xunit; -namespace OpenFeature.SDK.Tests +namespace OpenFeatureSDK.Tests { public class OpenFeatureHookTests : ClearOpenFeatureInstanceFixture { diff --git a/test/OpenFeature.SDK.Tests/OpenFeature.SDK.Tests.csproj b/test/OpenFeatureSDK.Tests/OpenFeatureSDK.Tests.csproj similarity index 91% rename from test/OpenFeature.SDK.Tests/OpenFeature.SDK.Tests.csproj rename to test/OpenFeatureSDK.Tests/OpenFeatureSDK.Tests.csproj index f9765bb6..ec5b0216 100644 --- a/test/OpenFeature.SDK.Tests/OpenFeature.SDK.Tests.csproj +++ b/test/OpenFeatureSDK.Tests/OpenFeatureSDK.Tests.csproj @@ -3,7 +3,7 @@ net6.0 $(TargetFrameworks);net462 - OpenFeature.SDK.Tests + OpenFeatureSDK.Tests @@ -27,7 +27,7 @@ - + diff --git a/test/OpenFeature.SDK.Tests/OpenFeatureTests.cs b/test/OpenFeatureSDK.Tests/OpenFeatureTests.cs similarity index 94% rename from test/OpenFeature.SDK.Tests/OpenFeatureTests.cs rename to test/OpenFeatureSDK.Tests/OpenFeatureTests.cs index 03144afa..5150f032 100644 --- a/test/OpenFeature.SDK.Tests/OpenFeatureTests.cs +++ b/test/OpenFeatureSDK.Tests/OpenFeatureTests.cs @@ -1,12 +1,12 @@ using AutoFixture; using FluentAssertions; using Moq; -using OpenFeature.SDK.Constant; -using OpenFeature.SDK.Model; -using OpenFeature.SDK.Tests.Internal; +using OpenFeatureSDK.Constant; +using OpenFeatureSDK.Model; +using OpenFeatureSDK.Tests.Internal; using Xunit; -namespace OpenFeature.SDK.Tests +namespace OpenFeatureSDK.Tests { public class OpenFeatureTests : ClearOpenFeatureInstanceFixture { diff --git a/test/OpenFeature.SDK.Tests/StructureTests.cs b/test/OpenFeatureSDK.Tests/StructureTests.cs similarity index 95% rename from test/OpenFeature.SDK.Tests/StructureTests.cs rename to test/OpenFeatureSDK.Tests/StructureTests.cs index e16757e8..2e78a62f 100644 --- a/test/OpenFeature.SDK.Tests/StructureTests.cs +++ b/test/OpenFeatureSDK.Tests/StructureTests.cs @@ -1,9 +1,9 @@ using System; using System.Collections.Generic; -using OpenFeature.SDK.Model; +using OpenFeatureSDK.Model; using Xunit; -namespace OpenFeature.SDK.Tests +namespace OpenFeatureSDK.Tests { public class StructureTests { diff --git a/test/OpenFeature.SDK.Tests/TestImplementations.cs b/test/OpenFeatureSDK.Tests/TestImplementations.cs similarity index 95% rename from test/OpenFeature.SDK.Tests/TestImplementations.cs rename to test/OpenFeatureSDK.Tests/TestImplementations.cs index 1d0539aa..980aea01 100644 --- a/test/OpenFeature.SDK.Tests/TestImplementations.cs +++ b/test/OpenFeatureSDK.Tests/TestImplementations.cs @@ -1,9 +1,9 @@ using System; using System.Collections.Generic; using System.Threading.Tasks; -using OpenFeature.SDK.Model; +using OpenFeatureSDK.Model; -namespace OpenFeature.SDK.Tests +namespace OpenFeatureSDK.Tests { public class TestHookNoOverride : Hook { } diff --git a/test/OpenFeature.SDK.Tests/ValueTests.cs b/test/OpenFeatureSDK.Tests/ValueTests.cs similarity index 95% rename from test/OpenFeature.SDK.Tests/ValueTests.cs rename to test/OpenFeatureSDK.Tests/ValueTests.cs index 47d4876a..cf3f214c 100644 --- a/test/OpenFeature.SDK.Tests/ValueTests.cs +++ b/test/OpenFeatureSDK.Tests/ValueTests.cs @@ -1,9 +1,9 @@ using System; using System.Collections.Generic; -using OpenFeature.SDK.Model; +using OpenFeatureSDK.Model; using Xunit; -namespace OpenFeature.SDK.Tests +namespace OpenFeatureSDK.Tests { public class ValueTests {