Skip to content

Removed tests containing TranslateDotNet#9017

Merged
maridematte merged 2 commits intodotnet:mainfrom
maridematte:8924
Aug 9, 2023
Merged

Removed tests containing TranslateDotNet#9017
maridematte merged 2 commits intodotnet:mainfrom
maridematte:8924

Conversation

@maridematte
Copy link
Member

Fixes #8924

Context

We're removing BinaryFormatter from the codebase, as such tests that are not relevant needed to be deleted.

Changes Made

  • TranslateDotNet tests were removed as exception serialization / deserialization already have new unit tests.
  • ProfilerResult test was also removed as that use case was not used within the code.

@maridematte maridematte requested a review from JanKrivanek July 12, 2023 14:12
Copy link
Member

@JanKrivanek JanKrivanek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As discussed offline - it'd be nice to preserve ProjectEvaluationFinishedEventArgs_Tests and have them use the acutal production serialization code of ProjectEvaluationFinishedEventArgs within NodePackageMessageBase.
I do not consider it a blocker though as the test wasn't testing codepath that was used in prod anywas. (howevery very nice to have :-))

Other than that - looks good!

@AR-May AR-May requested a review from MichalPavlik July 18, 2023 13:41
@maridematte maridematte merged commit 04849ad into dotnet:main Aug 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BinFmt] Rework/Remove unit tests using TranslateDotNet

3 participants