Skip to content

Commit e061f1f

Browse files
#140 Add Guid property tests
1 parent 32cb3a9 commit e061f1f

13 files changed

+174
-31
lines changed

src/Stravaig.Extensions.Logging.Diagnostics.Tests/Verify/VerifyDefaultSettingsTests.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
using System;
2-
using System.Collections;
32
using System.Collections.Generic;
43
using System.Threading.Tasks;
54
using Microsoft.Extensions.Logging;

src/Stravaig.Extensions.Logging.Diagnostics.Tests/Verify/VerifyLogConverterSettingsTests.cs

Lines changed: 0 additions & 29 deletions
This file was deleted.
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
[
2+
{
3+
FormattedMessage: Thing 40e4cfcb-2e13-4ce5-83dd-e2f1056fd173 is good.,
4+
Properties: {
5+
{OriginalFormat}: Thing {id} is good.,
6+
id: Guid_1
7+
}
8+
},
9+
{
10+
FormattedMessage: Thing a3022d80-1726-488c-9dd6-7e588fe1311b is good too.,
11+
Properties: {
12+
{OriginalFormat}: Thing {id} is good too.,
13+
id: Guid_2
14+
}
15+
}
16+
]
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
[
2+
{
3+
FormattedMessage: Thing 40e4cfcb-2e13-4ce5-83dd-e2f1056fd173 is good.,
4+
Properties: {
5+
{OriginalFormat}: Thing {id} is good.,
6+
id: 40e4cfcb-2e13-4ce5-83dd-e2f1056fd173
7+
}
8+
},
9+
{
10+
FormattedMessage: Thing a3022d80-1726-488c-9dd6-7e588fe1311b is good too.,
11+
Properties: {
12+
{OriginalFormat}: Thing {id} is good too.,
13+
id: a3022d80-1726-488c-9dd6-7e588fe1311b
14+
}
15+
}
16+
]
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
[
2+
{
3+
FormattedMessage: Thing 40e4cfcb-2e13-4ce5-83dd-e2f1056fd173 is good.,
4+
Properties: {
5+
{OriginalFormat}: Thing {id} is good.,
6+
id: Guid_1
7+
}
8+
},
9+
{
10+
FormattedMessage: Thing a3022d80-1726-488c-9dd6-7e588fe1311b is good too.,
11+
Properties: {
12+
{OriginalFormat}: Thing {id} is good too.,
13+
id: Guid_2
14+
}
15+
}
16+
]
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
[
2+
{
3+
FormattedMessage: This is shown: show me, this is redacted: hide me; and this might be redacted if case insensitive maybe hide me,
4+
Properties: {
5+
{OriginalFormat}: This is shown: {StandardProperty}, this is redacted: {NondeterministicProperty}; and this might be redacted if case insensitive {CaseDependentNondeterministicProperty},
6+
StandardProperty: show me
7+
}
8+
}
9+
]
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
[
2+
{
3+
FormattedMessage: This is shown: show me, this is redacted: hide me; and this might be redacted if case insensitive maybe hide me,
4+
Properties: {
5+
{OriginalFormat}: This is shown: {StandardProperty}, this is redacted: {NondeterministicProperty}; and this might be redacted if case insensitive {CaseDependentNondeterministicProperty},
6+
CaseDependentNondeterministicProperty: maybe hide me,
7+
StandardProperty: show me
8+
}
9+
}
10+
]
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
[
2+
{
3+
FormattedMessage: This is shown: show me, this is redacted: hide me; and this might be redacted if case insensitive maybe hide me,
4+
Properties: {
5+
{OriginalFormat}: This is shown: {StandardProperty}, this is redacted: {NondeterministicProperty}; and this might be redacted if case insensitive {CaseDependentNondeterministicProperty},
6+
CaseDependentNondeterministicProperty: *** Nondeterministic ***,
7+
NondeterministicProperty: *** Nondeterministic ***,
8+
StandardProperty: show me
9+
}
10+
}
11+
]

0 commit comments

Comments
 (0)