Table of Contents

Class PersistenceStringComparisonNormalizerTests

Namespace
ProjectTemplate.Web.Tests
Assembly
ProjectTemplate.Web.Tests.dll
public sealed class PersistenceStringComparisonNormalizerTests
Inheritance
PersistenceStringComparisonNormalizerTests
Inherited Members

Methods

NormalizeOptionalDisplayValue_EncodedValue_IsNotDecoded()

[Fact("/home/runner/work/NetCoreApplicationTemplate/NetCoreApplicationTemplate/tests/ProjectTemplate.Web.Tests/PersistenceStringComparisonNormalizerTests.cs", 122)]
public void NormalizeOptionalDisplayValue_EncodedValue_IsNotDecoded()

NormalizeOptionalDisplayValue_IsIdempotent()

[Fact("/home/runner/work/NetCoreApplicationTemplate/NetCoreApplicationTemplate/tests/ProjectTemplate.Web.Tests/PersistenceStringComparisonNormalizerTests.cs", 133)]
public void NormalizeOptionalDisplayValue_IsIdempotent()

NormalizeOptionalDisplayValue_NullEmptyOrWhitespace_ReturnsNull(string?)

[Theory("/home/runner/work/NetCoreApplicationTemplate/NetCoreApplicationTemplate/tests/ProjectTemplate.Web.Tests/PersistenceStringComparisonNormalizerTests.cs", 99)]
[InlineData(null)]
[InlineData(new object?[] { "" })]
[InlineData(new object?[] { " " })]
[InlineData(new object?[] { "\t\r\n" })]
public void NormalizeOptionalDisplayValue_NullEmptyOrWhitespace_ReturnsNull(string? input)

Parameters

input string

NormalizeOptionalDisplayValue_TrimsAndNormalizesUnicodeToFormC()

[Fact("/home/runner/work/NetCoreApplicationTemplate/NetCoreApplicationTemplate/tests/ProjectTemplate.Web.Tests/PersistenceStringComparisonNormalizerTests.cs", 111)]
public void NormalizeOptionalDisplayValue_TrimsAndNormalizesUnicodeToFormC()

NormalizeOptionalLookupValue_EncodedValue_IsNotDecoded()

[Fact("/home/runner/work/NetCoreApplicationTemplate/NetCoreApplicationTemplate/tests/ProjectTemplate.Web.Tests/PersistenceStringComparisonNormalizerTests.cs", 190)]
public void NormalizeOptionalLookupValue_EncodedValue_IsNotDecoded()

NormalizeOptionalLookupValue_IsIdempotent()

[Fact("/home/runner/work/NetCoreApplicationTemplate/NetCoreApplicationTemplate/tests/ProjectTemplate.Web.Tests/PersistenceStringComparisonNormalizerTests.cs", 201)]
public void NormalizeOptionalLookupValue_IsIdempotent()

NormalizeOptionalLookupValue_NullEmptyOrWhitespace_ReturnsNull(string?)

[Theory("/home/runner/work/NetCoreApplicationTemplate/NetCoreApplicationTemplate/tests/ProjectTemplate.Web.Tests/PersistenceStringComparisonNormalizerTests.cs", 145)]
[InlineData(null)]
[InlineData(new object?[] { "" })]
[InlineData(new object?[] { " " })]
[InlineData(new object?[] { "\t\r\n" })]
public void NormalizeOptionalLookupValue_NullEmptyOrWhitespace_ReturnsNull(string? input)

Parameters

input string

NormalizeOptionalLookupValue_TrimsNormalizesAndUppercasesInvariant(string, string)

[Theory("/home/runner/work/NetCoreApplicationTemplate/NetCoreApplicationTemplate/tests/ProjectTemplate.Web.Tests/PersistenceStringComparisonNormalizerTests.cs", 157)]
[InlineData(new object?[] { "user@example.com", "USER@EXAMPLE.COM" })]
[InlineData(new object?[] { " User@Example.Com ", "USER@EXAMPLE.COM" })]
[InlineData(new object?[] { "José@example.com", "JOSÉ@EXAMPLE.COM" })]
public void NormalizeOptionalLookupValue_TrimsNormalizesAndUppercasesInvariant(string input, string expected)

Parameters

input string
expected string

NormalizeOptionalLookupValue_UsesInvariantCasing()

[Fact("/home/runner/work/NetCoreApplicationTemplate/NetCoreApplicationTemplate/tests/ProjectTemplate.Web.Tests/PersistenceStringComparisonNormalizerTests.cs", 168)]
public void NormalizeOptionalLookupValue_UsesInvariantCasing()

NormalizeRequiredDisplayValue_EncodedValue_IsNotDecoded()

[Fact("/home/runner/work/NetCoreApplicationTemplate/NetCoreApplicationTemplate/tests/ProjectTemplate.Web.Tests/PersistenceStringComparisonNormalizerTests.cs", 31)]
public void NormalizeRequiredDisplayValue_EncodedValue_IsNotDecoded()

NormalizeRequiredDisplayValue_IsIdempotent()

[Fact("/home/runner/work/NetCoreApplicationTemplate/NetCoreApplicationTemplate/tests/ProjectTemplate.Web.Tests/PersistenceStringComparisonNormalizerTests.cs", 42)]
public void NormalizeRequiredDisplayValue_IsIdempotent()

NormalizeRequiredDisplayValue_NormalizesUnicodeToFormC()

[Fact("/home/runner/work/NetCoreApplicationTemplate/NetCoreApplicationTemplate/tests/ProjectTemplate.Web.Tests/PersistenceStringComparisonNormalizerTests.cs", 20)]
public void NormalizeRequiredDisplayValue_NormalizesUnicodeToFormC()

NormalizeRequiredDisplayValue_TrimsValue(string, string)

[Theory("/home/runner/work/NetCoreApplicationTemplate/NetCoreApplicationTemplate/tests/ProjectTemplate.Web.Tests/PersistenceStringComparisonNormalizerTests.cs", 9)]
[InlineData(new object?[] { " Already Normalized ", "Already Normalized" })]
[InlineData(new object?[] { "\tTabbed Value\r\n", "Tabbed Value" })]
[InlineData(new object?[] { "Value", "Value" })]
public void NormalizeRequiredDisplayValue_TrimsValue(string input, string expected)

Parameters

input string
expected string

NormalizeRequiredLookupValue_IsIdempotent()

[Fact("/home/runner/work/NetCoreApplicationTemplate/NetCoreApplicationTemplate/tests/ProjectTemplate.Web.Tests/PersistenceStringComparisonNormalizerTests.cs", 87)]
public void NormalizeRequiredLookupValue_IsIdempotent()

NormalizeRequiredLookupValue_TrimsNormalizesAndUppercasesInvariant(string, string)

[Theory("/home/runner/work/NetCoreApplicationTemplate/NetCoreApplicationTemplate/tests/ProjectTemplate.Web.Tests/PersistenceStringComparisonNormalizerTests.cs", 54)]
[InlineData(new object?[] { "github", "GITHUB" })]
[InlineData(new object?[] { " GitHub ", "GITHUB" })]
[InlineData(new object?[] { "user@example.com", "USER@EXAMPLE.COM" })]
public void NormalizeRequiredLookupValue_TrimsNormalizesAndUppercasesInvariant(string input, string expected)

Parameters

input string
expected string

NormalizeRequiredLookupValue_UsesInvariantCasing()

[Fact("/home/runner/work/NetCoreApplicationTemplate/NetCoreApplicationTemplate/tests/ProjectTemplate.Web.Tests/PersistenceStringComparisonNormalizerTests.cs", 65)]
public void NormalizeRequiredLookupValue_UsesInvariantCasing()