Skip to content

Commit

Permalink
Fixed length of scrubbed DebugImage.CodeId in Verify outputs (#3468)
Browse files Browse the repository at this point in the history
  • Loading branch information
jamescrosswell authored Jul 9, 2024
1 parent 8298362 commit 5710136
Show file tree
Hide file tree
Showing 11 changed files with 17 additions and 17 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
DebugId: ________-____-____-____-____________-________,
DebugChecksum: ______:________________________________________________________________,
DebugFile: .../Sentry.NLog.Tests.pdb,
CodeId: _____________,
CodeId: ______________,
CodeFile: .../Sentry.NLog.Tests.dll
}
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
DebugId: ________-____-____-____-____________-________,
DebugChecksum: ______:________________________________________________________________,
DebugFile: .../Sentry.NLog.Tests.pdb,
CodeId: _____________,
CodeId: ______________,
CodeFile: .../Sentry.NLog.Tests.dll
}
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
DebugId: ________-____-____-____-____________-________,
DebugChecksum: ______:________________________________________________________________,
DebugFile: .../Sentry.NLog.Tests.pdb,
CodeId: _____________,
CodeId: ______________,
CodeFile: .../Sentry.NLog.Tests.dll
}
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
DebugId: ________-____-____-____-____________-________,
DebugChecksum: ______:________________________________________________________________,
DebugFile: .../Sentry.NLog.Tests.pdb,
CodeId: _____________,
CodeId: ______________,
CodeFile: .../Sentry.NLog.Tests.dll
}
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@
DebugId: ________-____-____-____-____________-________,
DebugChecksum: ______:________________________________________________________________,
DebugFile: .../Sentry.Serilog.Tests.pdb,
CodeId: _____________,
CodeId: ______________,
CodeFile: .../Sentry.Serilog.Tests.dll
}
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@
DebugId: ________-____-____-____-____________-________,
DebugChecksum: ______:________________________________________________________________,
DebugFile: .../Sentry.Serilog.Tests.pdb,
CodeId: _____________,
CodeId: ______________,
CodeFile: .../Sentry.Serilog.Tests.dll
}
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@
DebugId: ________-____-____-____-____________-________,
DebugChecksum: ______:________________________________________________________________,
DebugFile: .../Sentry.Serilog.Tests.pdb,
CodeId: _____________,
CodeId: ______________,
CodeFile: .../Sentry.Serilog.Tests.dll
}
],
Expand Down
2 changes: 1 addition & 1 deletion test/Sentry.Testing/VerifyExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ public override void Write(VerifyJsonWriter writer, DebugImage obj)
obj.DebugChecksum = ScrubAlphaNum(obj.DebugChecksum);
obj.DebugFile = ScrubPath(obj.DebugFile);
obj.CodeFile = ScrubPath(obj.CodeFile);
obj.CodeId = ScrubAlphaNum(obj.CodeId);
obj.CodeId = obj.CodeId is null ? "null" : "______________";
writer.Serialize(JToken.FromObject(obj));
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
DebugId: ________-____-____-____-____________-________,
DebugChecksum: ______:________________________________________________________________,
DebugFile: .../Sentry.Tests.pdb,
CodeId: _____________,
CodeId: ______________,
CodeFile: .../Sentry.Tests.dll
},
{
Expand All @@ -89,7 +89,7 @@
DebugId: ________-____-____-____-____________-________,
DebugChecksum: ______:________________________________________________________________,
DebugFile: xunit.execution.dotnet.pdb,
CodeId: _____________,
CodeId: ______________,
CodeFile: .../xunit.execution.dotnet.dll
},
{
Expand All @@ -99,7 +99,7 @@
DebugId: ________-____-____-____-____________-________,
DebugChecksum: ______:________________________________________________________________,
DebugFile: xunit.core.pdb,
CodeId: _____________,
CodeId: ______________,
CodeFile: .../xunit.core.dll
}
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
DebugId: ________-____-____-____-____________-________,
DebugChecksum: ______:________________________________________________________________,
DebugFile: .../Sentry.Tests.pdb,
CodeId: _____________,
CodeId: ______________,
CodeFile: .../Sentry.Tests.dll
},
{
Expand All @@ -89,7 +89,7 @@
DebugId: ________-____-____-____-____________-________,
DebugChecksum: ______:________________________________________________________________,
DebugFile: xunit.execution.dotnet.pdb,
CodeId: _____________,
CodeId: ______________,
CodeFile: .../xunit.execution.dotnet.dll
},
{
Expand All @@ -99,7 +99,7 @@
DebugId: ________-____-____-____-____________-________,
DebugChecksum: ______:________________________________________________________________,
DebugFile: xunit.core.pdb,
CodeId: _____________,
CodeId: ______________,
CodeFile: .../xunit.core.dll
}
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
DebugId: ________-____-____-____-____________-________,
DebugChecksum: ______:________________________________________________________________,
DebugFile: .../Sentry.Tests.pdb,
CodeId: _____________,
CodeId: ______________,
CodeFile: .../Sentry.Tests.dll
},
{
Expand All @@ -89,7 +89,7 @@
DebugId: ________-____-____-____-____________-________,
DebugChecksum: ______:________________________________________________________________,
DebugFile: xunit.execution.dotnet.pdb,
CodeId: _____________,
CodeId: ______________,
CodeFile: .../xunit.execution.dotnet.dll
},
{
Expand All @@ -99,7 +99,7 @@
DebugId: ________-____-____-____-____________-________,
DebugChecksum: ______:________________________________________________________________,
DebugFile: xunit.core.pdb,
CodeId: _____________,
CodeId: ______________,
CodeFile: .../xunit.core.dll
}
],
Expand Down

0 comments on commit 5710136

Please sign in to comment.