From c07cc48436838c5a3a7b662f27b0c608393ffd60 Mon Sep 17 00:00:00 2001 From: ZLoo Date: Mon, 22 Jul 2024 20:09:01 +0300 Subject: [PATCH] Rename test classes (#2226) Make `Specs` the suffix. --- .../{RetryTResultSpecsAsync.cs => RetryTResultAsyncSpecs.cs} | 2 +- .../Wrap/{PolicyWrapSpecsAsync.cs => PolicyWrapAsyncSpecs.cs} | 2 +- ...dKeySpecsAsync.cs => PolicyWrapContextAndKeyAsyncSpecs.cs} | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) rename test/Polly.Specs/Retry/{RetryTResultSpecsAsync.cs => RetryTResultAsyncSpecs.cs} (99%) rename test/Polly.Specs/Wrap/{PolicyWrapSpecsAsync.cs => PolicyWrapAsyncSpecs.cs} (99%) rename test/Polly.Specs/Wrap/{PolicyWrapContextAndKeySpecsAsync.cs => PolicyWrapContextAndKeyAsyncSpecs.cs} (99%) diff --git a/test/Polly.Specs/Retry/RetryTResultSpecsAsync.cs b/test/Polly.Specs/Retry/RetryTResultAsyncSpecs.cs similarity index 99% rename from test/Polly.Specs/Retry/RetryTResultSpecsAsync.cs rename to test/Polly.Specs/Retry/RetryTResultAsyncSpecs.cs index cd3b9e5ef2a..5da67362344 100644 --- a/test/Polly.Specs/Retry/RetryTResultSpecsAsync.cs +++ b/test/Polly.Specs/Retry/RetryTResultAsyncSpecs.cs @@ -2,7 +2,7 @@ namespace Polly.Specs.Retry; -public class RetryTResultSpecsAsync +public class RetryTResultAsyncSpecs { [Fact] public void Should_throw_when_action_is_null() diff --git a/test/Polly.Specs/Wrap/PolicyWrapSpecsAsync.cs b/test/Polly.Specs/Wrap/PolicyWrapAsyncSpecs.cs similarity index 99% rename from test/Polly.Specs/Wrap/PolicyWrapSpecsAsync.cs rename to test/Polly.Specs/Wrap/PolicyWrapAsyncSpecs.cs index 4fd4376765b..307c491bb13 100644 --- a/test/Polly.Specs/Wrap/PolicyWrapSpecsAsync.cs +++ b/test/Polly.Specs/Wrap/PolicyWrapAsyncSpecs.cs @@ -1,7 +1,7 @@ namespace Polly.Specs.Wrap; [Collection(Constants.SystemClockDependentTestCollection)] -public class PolicyWrapSpecsAsync +public class PolicyWrapAsyncSpecs { #region Instance configuration syntax tests, non-generic outer diff --git a/test/Polly.Specs/Wrap/PolicyWrapContextAndKeySpecsAsync.cs b/test/Polly.Specs/Wrap/PolicyWrapContextAndKeyAsyncSpecs.cs similarity index 99% rename from test/Polly.Specs/Wrap/PolicyWrapContextAndKeySpecsAsync.cs rename to test/Polly.Specs/Wrap/PolicyWrapContextAndKeyAsyncSpecs.cs index 0bfc2901dbc..910037550e4 100644 --- a/test/Polly.Specs/Wrap/PolicyWrapContextAndKeySpecsAsync.cs +++ b/test/Polly.Specs/Wrap/PolicyWrapContextAndKeyAsyncSpecs.cs @@ -1,7 +1,7 @@ namespace Polly.Specs.Wrap; [Collection(Constants.SystemClockDependentTestCollection)] -public class PolicyWrapContextAndKeySpecsAsync +public class PolicyWrapContextAndKeyAsyncSpecs { #region PolicyKey and execution Context tests @@ -188,7 +188,7 @@ await outerWrap.ExecuteAsync(() => } [Collection(Constants.SystemClockDependentTestCollection)] -public class PolicyWrapTResultContextAndKeySpecsAsync +public class PolicyWrapTResultContextAndKeyAsyncSpecs { #region PolicyKey and execution Context tests