Skip to content

Commit 5710136

Browse files
Fixed length of scrubbed DebugImage.CodeId in Verify outputs (#3468)
1 parent 8298362 commit 5710136

11 files changed

+17
-17
lines changed

test/Sentry.NLog.Tests/IntegrationTests.Simple.DotNet6_0.verified.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@
7171
DebugId: ________-____-____-____-____________-________,
7272
DebugChecksum: ______:________________________________________________________________,
7373
DebugFile: .../Sentry.NLog.Tests.pdb,
74-
CodeId: _____________,
74+
CodeId: ______________,
7575
CodeFile: .../Sentry.NLog.Tests.dll
7676
}
7777
],

test/Sentry.NLog.Tests/IntegrationTests.Simple.DotNet7_0.verified.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@
7171
DebugId: ________-____-____-____-____________-________,
7272
DebugChecksum: ______:________________________________________________________________,
7373
DebugFile: .../Sentry.NLog.Tests.pdb,
74-
CodeId: _____________,
74+
CodeId: ______________,
7575
CodeFile: .../Sentry.NLog.Tests.dll
7676
}
7777
],

test/Sentry.NLog.Tests/IntegrationTests.Simple.DotNet8_0.verified.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@
7171
DebugId: ________-____-____-____-____________-________,
7272
DebugChecksum: ______:________________________________________________________________,
7373
DebugFile: .../Sentry.NLog.Tests.pdb,
74-
CodeId: _____________,
74+
CodeId: ______________,
7575
CodeFile: .../Sentry.NLog.Tests.dll
7676
}
7777
],

test/Sentry.NLog.Tests/IntegrationTests.Simple.Mono4_0.verified.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@
7171
DebugId: ________-____-____-____-____________-________,
7272
DebugChecksum: ______:________________________________________________________________,
7373
DebugFile: .../Sentry.NLog.Tests.pdb,
74-
CodeId: _____________,
74+
CodeId: ______________,
7575
CodeFile: .../Sentry.NLog.Tests.dll
7676
}
7777
],

test/Sentry.Serilog.Tests/IntegrationTests.Simple.DotNet6_0.verified.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@
237237
DebugId: ________-____-____-____-____________-________,
238238
DebugChecksum: ______:________________________________________________________________,
239239
DebugFile: .../Sentry.Serilog.Tests.pdb,
240-
CodeId: _____________,
240+
CodeId: ______________,
241241
CodeFile: .../Sentry.Serilog.Tests.dll
242242
}
243243
],

test/Sentry.Serilog.Tests/IntegrationTests.Simple.DotNet7_0.verified.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@
237237
DebugId: ________-____-____-____-____________-________,
238238
DebugChecksum: ______:________________________________________________________________,
239239
DebugFile: .../Sentry.Serilog.Tests.pdb,
240-
CodeId: _____________,
240+
CodeId: ______________,
241241
CodeFile: .../Sentry.Serilog.Tests.dll
242242
}
243243
],

test/Sentry.Serilog.Tests/IntegrationTests.Simple.DotNet8_0.verified.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@
237237
DebugId: ________-____-____-____-____________-________,
238238
DebugChecksum: ______:________________________________________________________________,
239239
DebugFile: .../Sentry.Serilog.Tests.pdb,
240-
CodeId: _____________,
240+
CodeId: ______________,
241241
CodeFile: .../Sentry.Serilog.Tests.dll
242242
}
243243
],

test/Sentry.Testing/VerifyExtensions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ public override void Write(VerifyJsonWriter writer, DebugImage obj)
9292
obj.DebugChecksum = ScrubAlphaNum(obj.DebugChecksum);
9393
obj.DebugFile = ScrubPath(obj.DebugFile);
9494
obj.CodeFile = ScrubPath(obj.CodeFile);
95-
obj.CodeId = ScrubAlphaNum(obj.CodeId);
95+
obj.CodeId = obj.CodeId is null ? "null" : "______________";
9696
writer.Serialize(JToken.FromObject(obj));
9797
}
9898
}

test/Sentry.Tests/HubTests.CaptureEvent_ActiveTransaction_UnhandledExceptionTransactionEndedAsCrashed.DotNet6_0.verified.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@
7979
DebugId: ________-____-____-____-____________-________,
8080
DebugChecksum: ______:________________________________________________________________,
8181
DebugFile: .../Sentry.Tests.pdb,
82-
CodeId: _____________,
82+
CodeId: ______________,
8383
CodeFile: .../Sentry.Tests.dll
8484
},
8585
{
@@ -89,7 +89,7 @@
8989
DebugId: ________-____-____-____-____________-________,
9090
DebugChecksum: ______:________________________________________________________________,
9191
DebugFile: xunit.execution.dotnet.pdb,
92-
CodeId: _____________,
92+
CodeId: ______________,
9393
CodeFile: .../xunit.execution.dotnet.dll
9494
},
9595
{
@@ -99,7 +99,7 @@
9999
DebugId: ________-____-____-____-____________-________,
100100
DebugChecksum: ______:________________________________________________________________,
101101
DebugFile: xunit.core.pdb,
102-
CodeId: _____________,
102+
CodeId: ______________,
103103
CodeFile: .../xunit.core.dll
104104
}
105105
],

test/Sentry.Tests/HubTests.CaptureEvent_ActiveTransaction_UnhandledExceptionTransactionEndedAsCrashed.DotNet7_0.verified.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@
7979
DebugId: ________-____-____-____-____________-________,
8080
DebugChecksum: ______:________________________________________________________________,
8181
DebugFile: .../Sentry.Tests.pdb,
82-
CodeId: _____________,
82+
CodeId: ______________,
8383
CodeFile: .../Sentry.Tests.dll
8484
},
8585
{
@@ -89,7 +89,7 @@
8989
DebugId: ________-____-____-____-____________-________,
9090
DebugChecksum: ______:________________________________________________________________,
9191
DebugFile: xunit.execution.dotnet.pdb,
92-
CodeId: _____________,
92+
CodeId: ______________,
9393
CodeFile: .../xunit.execution.dotnet.dll
9494
},
9595
{
@@ -99,7 +99,7 @@
9999
DebugId: ________-____-____-____-____________-________,
100100
DebugChecksum: ______:________________________________________________________________,
101101
DebugFile: xunit.core.pdb,
102-
CodeId: _____________,
102+
CodeId: ______________,
103103
CodeFile: .../xunit.core.dll
104104
}
105105
],

0 commit comments

Comments
 (0)