Skip to content

Localization test failures 2#24424

Merged
sharwell merged 2 commits intodotnet:dev15.7.xfrom
MaStr11:FixLocalizationTestFailures2
Feb 14, 2018
Merged

Localization test failures 2#24424
sharwell merged 2 commits intodotnet:dev15.7.xfrom
MaStr11:FixLocalizationTestFailures2

Conversation

@MaStr11
Copy link
Copy Markdown
Contributor

@MaStr11 MaStr11 commented Jan 24, 2018

Fix for #23837.
Follow up for #24407.

This is the second of a series of PRs meant to resolve the unit test failures caused by missing localizations.

This PR includes test related to expression compiler

Roslyn.ExpressionEvaluator.CSharp.ExpressionCompiler.UnitTests

Done. Tested local (de-DE) and CI (en-US).

Roslyn.ExpressionEvaluator.VisualBasic.ExpressionCompiler.UnitTests

Done. Tested local (de-DE) and CI (en-US).

@MaStr11 MaStr11 changed the title Localization test failures 2 [WIP] Localization test failures 2 Jan 24, 2018

Assert.Equal(2, numRetries) ' Ensure that we actually retried and that we bailed out on the second retry if the same identity was seen in the diagnostics.
Assert.Equal($"error BC30652: Reference required to assembly '{missingIdentity}' containing the type 'MissingType'. Add one to your project.", errorMessage)
Assert.Equal($"error BC30652: { String.Format(VBResources.ERR_UnreferencedAssembly3, missingIdentity, "MissingType")}", errorMessage)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

💡 Use string instead of String. I can do a clean-up pass on the entire solution after the tests are fixed.

@sharwell sharwell changed the base branch from dev15.6.x to dev15.7.x January 26, 2018 15:55
@sharwell sharwell requested a review from a team January 30, 2018 20:19
@sharwell
Copy link
Copy Markdown
Contributor

Requesting a second review from @dotnet/roslyn-interactive

@sharwell sharwell added this to the 15.7 milestone Jan 30, 2018
@sharwell
Copy link
Copy Markdown
Contributor

sharwell commented Feb 14, 2018

@dotnet/roslyn-interactive I'm planning to merge this one today unless I hear otherwise from one of you 😉

@sharwell sharwell merged commit 5865312 into dotnet:dev15.7.x Feb 14, 2018
@MaStr11 MaStr11 deleted the FixLocalizationTestFailures2 branch March 2, 2018 15:16
@AlekseyTs
Copy link
Copy Markdown
Contributor

@sharwell This PR was merged without getting required sign-offs from the compiler team and it doesn't deal with localization issues in the manner that other compiler tests do. I think it should be reverted and different fixes should be made.

@AlekseyTs AlekseyTs self-assigned this Mar 6, 2018
@sharwell
Copy link
Copy Markdown
Contributor

sharwell commented Mar 7, 2018

@AlekseyTs This pull request did not touch compiler code.

@AlekseyTs
Copy link
Copy Markdown
Contributor

This PR touched Expression Compiler tests, even though they are not under Compilers folder, they used to be owned by Compiler team at some point. @jaredpar To clarify the current ownership for the tests.

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.

3 participants