12 references to GetRedactedLength
Microsoft.Extensions.Compliance.Abstractions.Tests (3)
Redaction\RedactorTest.cs (3)
24
Assert.Equal(0, r.
GetRedactedLength
((string?)null));
49
int lengthFromExtension = r.
GetRedactedLength
(data);
50
int length = r.
GetRedactedLength
(data);
Microsoft.Extensions.Compliance.Redaction.Tests (9)
ErasingRedactorTests.cs (3)
29
var oneLength = redactor.
GetRedactedLength
(new string('a', 1));
30
var twoLength = redactor.
GetRedactedLength
(new string('a', 12));
31
var threeLength = redactor.
GetRedactedLength
(new string('a', 82));
HmacRedactorExtensionsTests.cs (1)
57
var expectedLength = redactor.
GetRedactedLength
(Example);
HmacRedactorTest.cs (5)
42
var length = redactor.
GetRedactedLength
(str);
61
var length = redactor.
GetRedactedLength
("");
76
var length = redactor.
GetRedactedLength
(toRedact);
109
var length = redactor.
GetRedactedLength
(example.Plaintext);
134
var length = redactor.
GetRedactedLength
(example.Plaintext);