Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for VSMac unit test synchronization context #27475

Merged
merged 2 commits into from
Jun 6, 2018

Conversation

Therzok
Copy link
Contributor

@Therzok Therzok commented Jun 5, 2018

Ask Mode template not completed

Customer scenario

Customer not affected.

Bugs this fixes

Workarounds, if any

A lot of refactoring in VSMac test suites to get this done. This is a workaround to move us forward until we properly layer the integration test suites.

Risk

Just adds new enum values that allow Xwt-based synchronization context to function with default data.

Performance impact

None

Is this a regression from a previous update?

No

Root cause analysis

We weren't hitting into ForegroundThreadData needed to be initialized in parts of VSMac test suite

How was the bug found?

Test documentation updated?

None needed.

This synchronization context is used by MD's test suite - it is
based on the idea that the IDE is not yet initialized so headless
tests can run, so it just routes the main synchronization context
calls into the native OS' main thread implementation
@Therzok Therzok requested a review from a team as a code owner June 5, 2018 16:20
@jasonmalinowski jasonmalinowski self-assigned this Jun 5, 2018
@jinujoseph jinujoseph added Area-IDE Community The pull request was submitted by a contributor who is not a Microsoft employee. labels Jun 6, 2018
@jasonmalinowski
Copy link
Member

Test only change, so M2 approval not needed here.

@jasonmalinowski jasonmalinowski merged commit c62e7e0 into dotnet:master Jun 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-IDE Community The pull request was submitted by a contributor who is not a Microsoft employee.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants