Skip to content

Commit

Permalink
rename unit tests to end in LayoutRendererTests
Browse files Browse the repository at this point in the history
  • Loading branch information
Burak Akgerman committed Jun 9, 2022
1 parent 8e9cdb9 commit 276705e
Show file tree
Hide file tree
Showing 14 changed files with 15 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

namespace NLog.Web.Tests.LayoutRenderers
{
public class AspNetMvcActionRendererTests : LayoutRenderersTestBase<AspNetMvcActionLayoutRenderer>
public class AspNetMvcActionLayoutRendererTests : LayoutRenderersTestBase<AspNetMvcActionLayoutRenderer>
{
[Fact]
public void NullRoutesRenderersEmptyString()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

namespace NLog.Web.Tests.LayoutRenderers
{
public class AspNetMvcControllerRendererTests : LayoutRenderersTestBase<AspNetMvcControllerLayoutRenderer>
public class AspNetMvcControllerLayoutRendererTests : LayoutRenderersTestBase<AspNetMvcControllerLayoutRenderer>
{
[Fact]
public void NullRoutesRenderersEmptyString()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

namespace NLog.Web.Tests.LayoutRenderers
{
public class AspNetRequestClientCertificateRendererTests : LayoutRenderersTestBase<AspNetRequestClientCertificateLayoutRenderer>
public class AspNetRequestClientCertificateLayoutRendererTests : LayoutRenderersTestBase<AspNetRequestClientCertificateLayoutRenderer>
{
#if ASP_NET_CORE
[Fact]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

namespace NLog.Web.Tests.LayoutRenderers
{
public class AspNetRequestHttpMethodRendererTests : LayoutRenderersTestBase<AspNetRequestHttpMethodLayoutRenderer>
public class AspNetRequestHttpMethodLayoutRendererTests : LayoutRenderersTestBase<AspNetRequestHttpMethodLayoutRenderer>
{
[Fact]
public void HttpMethod_Set_Renderer()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

namespace NLog.Web.Tests.LayoutRenderers
{
public class AspNetRequestLocalIpRendererTests : LayoutRenderersTestBase<AspNetRequestLocalIpLayoutRenderer>
public class AspNetRequestLocalIpLayoutRendererTests : LayoutRenderersTestBase<AspNetRequestLocalIpLayoutRenderer>
{
[Fact]
public void SuccessTest()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

namespace NLog.Web.Tests.LayoutRenderers
{
public class AspNetRequestLocalPortRendererTests : LayoutRenderersTestBase<AspNetRequestLocalPortLayoutRenderer>
public class AspNetRequestLocalPortLayoutRendererTests : LayoutRenderersTestBase<AspNetRequestLocalPortLayoutRenderer>
{
#if ASP_NET_CORE
[Fact]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

namespace NLog.Web.Tests.LayoutRenderers
{
public class AspNetRequestReferrerRendererTests : LayoutRenderersTestBase<AspNetRequestReferrerLayoutRenderer>
public class AspNetRequestReferrerLayoutRendererTests : LayoutRenderersTestBase<AspNetRequestReferrerLayoutRenderer>
{
[Fact]
public void ReferrerPresentRenderNonEmptyString()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

namespace NLog.Web.Tests.LayoutRenderers
{
public class AspNetRequestRemotePortRendererTests : LayoutRenderersTestBase<AspNetRequestRemotePortLayoutRenderer>
public class AspNetRequestRemotePortLayoutRendererTests : LayoutRenderersTestBase<AspNetRequestRemotePortLayoutRenderer>
{
[Fact]
public void SuccessTest()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

namespace NLog.Web.Tests.LayoutRenderers
{
public class AspNetRequestRouteParametersRendererTests : LayoutRenderersTestBase<AspNetRequestRouteParametersLayoutRenderer>
public class AspNetRequestRouteParametersLayoutRendererTests : LayoutRenderersTestBase<AspNetRequestRouteParametersLayoutRenderer>
{
[Fact]
public void NullRouteParametersRenderersEmptyString()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

namespace NLog.Web.Tests.LayoutRenderers
{
public class AspNetRequestUrlRendererTests : LayoutRenderersTestBase<AspNetRequestUrlLayoutRenderer>
public class AspNetRequestUrlLayoutRendererTests : LayoutRenderersTestBase<AspNetRequestUrlLayoutRenderer>
{
[Fact]
public void UrlPresentRenderNonEmpty_Default()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

namespace NLog.Web.Tests.LayoutRenderers
{
public class AspNetRequestUserAgentTests : LayoutRenderersTestBase<AspNetRequestUserAgentLayoutRenderer>
public class AspNetRequestUserAgentLayoutRendererTests : LayoutRenderersTestBase<AspNetRequestUserAgentLayoutRenderer>
{
[Fact]
public void NotNullUserAgentRendersEmptyString()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

namespace NLog.Web.Tests.LayoutRenderers
{
public class AspNetResponseContentTypeRendererTests : LayoutRenderersTestBase<AspNetResponseContentTypeLayoutRenderer>
public class AspNetResponseContentTypeLayoutRendererTests : LayoutRenderersTestBase<AspNetResponseContentTypeLayoutRenderer>
{
[Fact]
public void StatusCode_Set_Renderer()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

namespace NLog.Web.Tests.LayoutRenderers
{
public class AspNetResponseStatusCodeRendererTests : LayoutRenderersTestBase<AspNetResponseStatusCodeLayoutRenderer>
public class AspNetResponseStatusCodeLayoutRendererTests : LayoutRenderersTestBase<AspNetResponseStatusCodeLayoutRenderer>
{
[Fact]
public void StatusCode_Set_Renderer()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

namespace NLog.Web.Tests.LayoutRenderers
{
public class AspNetTraceIdentifierRendererTests : LayoutRenderersTestBase<AspNetTraceIdentifierLayoutRenderer>
public class AspNetTraceIdentifierLayoutRendererTests : LayoutRenderersTestBase<AspNetTraceIdentifierLayoutRenderer>
{
[Fact]
public void EmptyGuidRendersEmptyString()
Expand Down Expand Up @@ -55,7 +55,7 @@ public void AvailableActivityIdOverridesGuid()
SetTraceIdentifier(httpContext, expectedResult);

System.Diagnostics.Activity.Current = new System.Diagnostics.Activity("MyOperation").Start();

// Act
string result = renderer.Render(new LogEventInfo());

Expand Down

0 comments on commit 276705e

Please sign in to comment.