23 references to Errors
Microsoft.AspNetCore.Identity.Test (23)
PasswordValidatorTest.cs (23)
132
[InlineData("abcde",
Errors
.Length |
Errors
.Alpha |
Errors
.Upper |
Errors
.Digit)]
133
[InlineData("a@B@cd",
Errors
.Digit)]
134
[InlineData("___",
Errors
.Length |
Errors
.Digit |
Errors
.Lower |
Errors
.Upper)]
135
[InlineData("a_b9de",
Errors
.Upper)]
136
[InlineData("abcd@e!ld!kaj9Fd",
Errors
.None)]
137
[InlineData("aB1@df",
Errors
.None)]
138
public async Task UberMixedRequiredTests(string input,
Errors
errorMask)
148
if ((errorMask &
Errors
.Length) !=
Errors
.None)
152
if ((errorMask &
Errors
.Alpha) !=
Errors
.None)
156
if ((errorMask &
Errors
.Digit) !=
Errors
.None)
160
if ((errorMask &
Errors
.Lower) !=
Errors
.None)
164
if ((errorMask &
Errors
.Upper) !=
Errors
.None)