extensions icon indicating copy to clipboard operation
extensions copied to clipboard

introduce JsonEmitterBase completion of ( Tweak MetaData Report format for better readability #5929)

Open IbrahimMNada opened this issue 6 months ago • 4 comments

Microsoft Reviewers: Open in CodeFlow

This pull request is a continuation of the following https://github.com/dotnet/extensions/pull/5929

As the build was failing to file snapshots for the AI Templates

This pull request only tackle the generated metadata format putting different proprieties on new Lines

Tests were failing due to the differences between escapes in Windows and Linux , at the GeneratorTests class in the namespace Microsoft.Gen.MetadataExtractor.Unit.Tests; . I introduced new method called NormalizeEscapes, which will only escape "\r\n" to neglect the gap between Windows & Linux, I hope this addition is acceptable.

the test report has been changed to be aligned with the new formatting. here are the unit tests :

image
Microsoft Reviewers: Open in CodeFlow

IbrahimMNada avatar Jun 20 '25 19:06 IbrahimMNada